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
History
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
Tip revision: f9cd6a4
File Mode Size
Makefile -rw-r--r-- 366 bytes
advise.c -rw-r--r-- 2.1 KB
advise.h -rw-r--r-- 316 bytes
alloc_cache.h -rw-r--r-- 1.1 KB
cancel.c -rw-r--r-- 7.2 KB
cancel.h -rw-r--r-- 579 bytes
epoll.c -rw-r--r-- 1.5 KB
epoll.h -rw-r--r-- 213 bytes
fdinfo.c -rw-r--r-- 6.8 KB
fdinfo.h -rw-r--r-- 100 bytes
filetable.c -rw-r--r-- 4.4 KB
filetable.h -rw-r--r-- 2.1 KB
fs.c -rw-r--r-- 6.6 KB
fs.h -rw-r--r-- 929 bytes
io-wq.c -rw-r--r-- 33.6 KB
io-wq.h -rw-r--r-- 2.0 KB
io_uring.c -rw-r--r-- 110.0 KB
io_uring.h -rw-r--r-- 10.9 KB
kbuf.c -rw-r--r-- 13.0 KB
kbuf.h -rw-r--r-- 3.6 KB
msg_ring.c -rw-r--r-- 7.1 KB
msg_ring.h -rw-r--r-- 226 bytes
net.c -rw-r--r-- 37.2 KB
net.h -rw-r--r-- 2.2 KB
nop.c -rw-r--r-- 498 bytes
nop.h -rw-r--r-- 168 bytes
notif.c -rw-r--r-- 2.3 KB
notif.h -rw-r--r-- 1.2 KB
opdef.c -rw-r--r-- 12.1 KB
opdef.h -rw-r--r-- 1.3 KB
openclose.c -rw-r--r-- 6.1 KB
openclose.h -rw-r--r-- 596 bytes
poll.c -rw-r--r-- 27.7 KB
poll.h -rw-r--r-- 1006 bytes
refs.h -rw-r--r-- 1.2 KB
rsrc.c -rw-r--r-- 31.7 KB
rsrc.h -rw-r--r-- 4.5 KB
rw.c -rw-r--r-- 27.4 KB
rw.h -rw-r--r-- 705 bytes
slist.h -rw-r--r-- 3.0 KB
splice.c -rw-r--r-- 2.9 KB
splice.h -rw-r--r-- 306 bytes
sqpoll.c -rw-r--r-- 9.5 KB
sqpoll.h -rw-r--r-- 753 bytes
statx.c -rw-r--r-- 1.6 KB
statx.h -rw-r--r-- 217 bytes
sync.c -rw-r--r-- 2.7 KB
sync.h -rw-r--r-- 460 bytes
tctx.c -rw-r--r-- 7.2 KB
tctx.h -rw-r--r-- 992 bytes
timeout.c -rw-r--r-- 16.7 KB
timeout.h -rw-r--r-- 1.2 KB
uring_cmd.c -rw-r--r-- 4.0 KB
uring_cmd.h -rw-r--r-- 494 bytes
xattr.c -rw-r--r-- 5.5 KB
xattr.h -rw-r--r-- 654 bytes

back to top