Jason Xing 0967bf8377 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>
2023-02-14 10:07:27 -08:00
..
2022-12-13 15:22:14 -08:00
2023-02-03 11:35:42 -08:00
2023-01-12 17:02:20 -06:00
2022-12-19 07:13:33 -06:00
2023-01-12 05:56:06 -06:00
2023-02-03 10:25:41 -08:00
2022-12-30 10:49:52 +08:00
2023-01-27 14:05:38 +01:00
2023-02-03 10:09:55 -08:00
2023-02-09 09:09:13 -08:00
2022-12-13 13:09:38 -08:00
2022-12-11 21:25:58 +01:00
2023-01-29 11:06:47 -08:00
2023-01-27 16:09:12 -08:00
2022-12-21 09:19:24 -08:00
2023-02-03 11:35:42 -08:00
2023-02-07 14:17:12 -08:00
2023-01-13 17:32:22 -06:00
2022-12-13 15:47:48 -08:00
2022-12-21 09:41:28 -08:00
2023-01-06 13:12:42 -08:00
2023-01-31 11:39:08 -08:00
2023-01-10 23:09:09 +01:00
2022-12-19 08:47:33 -06:00
2022-12-12 10:17:08 -08:00
2023-02-05 11:43:00 -08:00
2022-12-16 03:49:24 -08:00
2023-01-12 17:02:20 -06:00