RE: [Intel-wired-lan] [PATCH net v2 3/3] ixgbe: add double of VLAN header when computing the max MTU

From: Rout, ChandanX
Date: Mon Feb 13 2023 - 21:19:52 EST




>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of
>Jason Xing
>Sent: 09 February 2023 08:11
>To: alexander.duyck@xxxxxxxxx; Brandeburg, Jesse
><jesse.brandeburg@xxxxxxxxx>; Nguyen, Anthony L
><anthony.l.nguyen@xxxxxxxxx>; davem@xxxxxxxxxxxxx;
>edumazet@xxxxxxxxxx; kuba@xxxxxxxxxx; pabeni@xxxxxxxxxx;
>richardcochran@xxxxxxxxx; ast@xxxxxxxxxx; daniel@xxxxxxxxxxxxx;
>hawk@xxxxxxxxxx; john.fastabend@xxxxxxxxx; Lobakin, Alexandr
><alexandr.lobakin@xxxxxxxxx>; Fijalkowski, Maciej
><maciej.fijalkowski@xxxxxxxxx>
>Cc: kerneljasonxing@xxxxxxxxx; netdev@xxxxxxxxxxxxxxx; Alexander Duyck
><alexanderduyck@xxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; intel-wired-
>lan@xxxxxxxxxxxxxxxx; bpf@xxxxxxxxxxxxxxx; Jason Xing
><kernelxing@xxxxxxxxxxx>
>Subject: [Intel-wired-lan] [PATCH net v2 3/3] ixgbe: add double of VLAN
>header when computing the max MTU
>
>From: Jason Xing <kernelxing@xxxxxxxxxxx>
>
>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@xxxxxxxxxxx>
>Reviewed-by: Alexander Duyck <alexanderduyck@xxxxxx>
>---
>v2: add reviewed-by label.
>---
> drivers/net/ethernet/intel/ixgbe/ixgbe.h | 2 ++
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 +--
> 2 files changed, 3 insertions(+), 2 deletions(-)
>

Tested-by: Chandan Kumar Rout <chandanx.rout@xxxxxxxxx> (A Contingent Worker at Intel)