From: Jason Xing <kernelxing@xxxxxxxxxxx> As suggested by Alexander Lobakin before, I follows the behavior when computing MTU size as other drivers do. Adding a second VLAN HLEN could solve the issue. I have some i40e and ixgbe drivers running on the servers, so I choose to fix both of them. Besides, I resent the first patch because the third patch is wrote based on the first patch. It's relatively for maintainers to handle the patchset, I think. Jason Xing (3): ixgbe: allow to increase MTU to 3K with XDP enabled i40e: add double of VLAN header when computing the max MTU ixgbe: add double of VLAN header when computing the max MTU drivers/net/ethernet/intel/i40e/i40e.h | 2 ++ drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 2 ++ drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 28 +++++++++++-------- 4 files changed, 22 insertions(+), 12 deletions(-) -- 2.37.3