commit | 0967bf837784a11c65d66060623a74e65211af0b | [log] [tgz] |
---|---|---|
author | Jason Xing <kernelxing@tencent.com> | Thu Feb 09 10:41:28 2023 +0800 |
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | Tue Feb 14 10:07:27 2023 -0800 |
tree | 5a076e8f3a2222ee68b6b227cec761c02f0bf3bd | |
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>