aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorJason Xing <[email protected]>2023-02-08 02:43:33 +0000
committerTony Nguyen <[email protected]>2023-02-14 18:07:27 +0000
commitce45ffb815e8e238f05de1630be3969b6bb15e4e (patch)
treee2e2fff3a1cb3e1c42bf0abc28968019e44cb31a /drivers/net/ethernet/intel/ice/ice_main.c
parentixgbe: allow to increase MTU to 3K with XDP enabled (diff)
downloadkernel-ce45ffb815e8e238f05de1630be3969b6bb15e4e.tar.gz
kernel-ce45ffb815e8e238f05de1630be3969b6bb15e4e.zip
i40e: add double of VLAN header when computing the max MTU
Include the second VLAN HLEN into account when computing the maximum MTU size as other drivers do. Fixes: 0c8493d90b6b ("i40e: add XDP support for pass and drop actions") Signed-off-by: Jason Xing <[email protected]> Reviewed-by: Alexander Duyck <[email protected]> Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions