diff options
author | Jason Xing <kernelxing@tencent.com> | 2023-02-09 10:41:28 +0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-02-14 10:07:27 -0800 |
commit | 0967bf837784a11c65d66060623a74e65211af0b (patch) | |
tree | 5a076e8f3a2222ee68b6b227cec761c02f0bf3bd /lib/mpi/mpi-bit.c | |
parent | ce45ffb815e8e238f05de1630be3969b6bb15e4e (diff) |
ixgbe: 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: 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>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions