https://github.com/torvalds/linux
Revision f9cd6a4418bac6a046ee78382423b1ae7565fb24 authored by Jason Xing on 08 February 2023, 02:43:32 UTC, committed by Tony Nguyen on 14 February 2023, 18:07:13 UTC
Recently I encountered one case where I cannot increase the MTU size directly from 1500 to a much bigger value with XDP enabled if the server is equipped with IXGBE card, which happened on thousands of servers in production environment. After applying the current patch, we can set the maximum MTU size to 3K. This patch follows the behavior of changing MTU as i40e/ice does. References: [1] commit 23b44513c3e6 ("ice: allow 3k MTU for XDP") [2] commit 0c8493d90b6b ("i40e: add XDP support for pass and drop actions") Fixes: fabf1bce103a ("ixgbe: Prevent unsupported configurations with XDP") Signed-off-by: Jason Xing <kernelxing@tencent.com> Reviewed-by: Alexander Duyck <alexanderduyck@fb.com> Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
1 parent 05d7623
Tip revision: f9cd6a4418bac6a046ee78382423b1ae7565fb24 authored by Jason Xing on 08 February 2023, 02:43:32 UTC
ixgbe: allow to increase MTU to 3K with XDP enabled
ixgbe: allow to increase MTU to 3K with XDP enabled
Tip revision: f9cd6a4
File | Mode | Size |
---|---|---|
partitions | ||
Kconfig | -rw-r--r-- | 6.9 KB |
Kconfig.iosched | -rw-r--r-- | 1.3 KB |
Makefile | -rw-r--r-- | 1.8 KB |
badblocks.c | -rw-r--r-- | 14.1 KB |
bdev.c | -rw-r--r-- | 28.1 KB |
bfq-cgroup.c | -rw-r--r-- | 39.9 KB |
bfq-iosched.c | -rw-r--r-- | 257.3 KB |
bfq-iosched.h | -rw-r--r-- | 37.5 KB |
bfq-wf2q.c | -rw-r--r-- | 52.4 KB |
bio-integrity.c | -rw-r--r-- | 12.3 KB |
bio.c | -rw-r--r-- | 48.8 KB |
blk-cgroup-fc-appid.c | -rw-r--r-- | 1.4 KB |
blk-cgroup-rwstat.c | -rw-r--r-- | 3.4 KB |
blk-cgroup-rwstat.h | -rw-r--r-- | 3.9 KB |
blk-cgroup.c | -rw-r--r-- | 53.6 KB |
blk-cgroup.h | -rw-r--r-- | 15.5 KB |
blk-core.c | -rw-r--r-- | 32.6 KB |
blk-crypto-fallback.c | -rw-r--r-- | 18.7 KB |
blk-crypto-internal.h | -rw-r--r-- | 6.1 KB |
blk-crypto-profile.c | -rw-r--r-- | 16.4 KB |
blk-crypto-sysfs.c | -rw-r--r-- | 4.5 KB |
blk-crypto.c | -rw-r--r-- | 12.3 KB |
blk-flush.c | -rw-r--r-- | 15.5 KB |
blk-ia-ranges.c | -rw-r--r-- | 8.4 KB |
blk-integrity.c | -rw-r--r-- | 11.9 KB |
blk-ioc.c | -rw-r--r-- | 10.5 KB |
blk-iocost.c | -rw-r--r-- | 97.1 KB |
blk-iolatency.c | -rw-r--r-- | 29.1 KB |
blk-ioprio.c | -rw-r--r-- | 5.5 KB |
blk-ioprio.h | -rw-r--r-- | 540 bytes |
blk-lib.c | -rw-r--r-- | 9.0 KB |
blk-map.c | -rw-r--r-- | 18.0 KB |
blk-merge.c | -rw-r--r-- | 30.8 KB |
blk-mq-cpumap.c | -rw-r--r-- | 2.2 KB |
blk-mq-debugfs-zoned.c | -rw-r--r-- | 453 bytes |
blk-mq-debugfs.c | -rw-r--r-- | 21.6 KB |
blk-mq-debugfs.h | -rw-r--r-- | 2.4 KB |
blk-mq-pci.c | -rw-r--r-- | 1.3 KB |
blk-mq-rdma.c | -rw-r--r-- | 1.3 KB |
blk-mq-sched.c | -rw-r--r-- | 17.6 KB |
blk-mq-sched.h | -rw-r--r-- | 2.5 KB |
blk-mq-sysfs.c | -rw-r--r-- | 7.1 KB |
blk-mq-tag.c | -rw-r--r-- | 18.3 KB |
blk-mq-tag.h | -rw-r--r-- | 2.2 KB |
blk-mq-virtio.c | -rw-r--r-- | 1.3 KB |
blk-mq.c | -rw-r--r-- | 123.3 KB |
blk-mq.h | -rw-r--r-- | 11.2 KB |
blk-pm.c | -rw-r--r-- | 6.6 KB |
blk-pm.h | -rw-r--r-- | 763 bytes |
blk-rq-qos.c | -rw-r--r-- | 6.9 KB |
blk-rq-qos.h | -rw-r--r-- | 5.7 KB |
blk-settings.c | -rw-r--r-- | 30.2 KB |
blk-stat.c | -rw-r--r-- | 5.4 KB |
blk-stat.h | -rw-r--r-- | 4.8 KB |
blk-sysfs.c | -rw-r--r-- | 23.0 KB |
blk-throttle.c | -rw-r--r-- | 66.8 KB |
blk-throttle.h | -rw-r--r-- | 6.4 KB |
blk-timeout.c | -rw-r--r-- | 4.1 KB |
blk-wbt.c | -rw-r--r-- | 20.4 KB |
blk-wbt.h | -rw-r--r-- | 3.0 KB |
blk-zoned.c | -rw-r--r-- | 16.6 KB |
blk.h | -rw-r--r-- | 14.5 KB |
bounce.c | -rw-r--r-- | 6.8 KB |
bsg-lib.c | -rw-r--r-- | 9.8 KB |
bsg.c | -rw-r--r-- | 6.2 KB |
disk-events.c | -rw-r--r-- | 12.9 KB |
elevator.c | -rw-r--r-- | 18.4 KB |
elevator.h | -rw-r--r-- | 5.5 KB |
fops.c | -rw-r--r-- | 16.4 KB |
genhd.c | -rw-r--r-- | 37.5 KB |
holder.c | -rw-r--r-- | 3.8 KB |
ioctl.c | -rw-r--r-- | 16.5 KB |
ioprio.c | -rw-r--r-- | 5.8 KB |
kyber-iosched.c | -rw-r--r-- | 27.9 KB |
mq-deadline.c | -rw-r--r-- | 33.6 KB |
opal_proto.h | -rw-r--r-- | 9.5 KB |
sed-opal.c | -rw-r--r-- | 65.9 KB |
t10-pi.c | -rw-r--r-- | 12.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...