Re: [PATCH v2] net: dsa: lan9303: handle hwaccel VLAN tags

From: Vladimir Oltean
Date: Wed Feb 16 2022 - 08:47:16 EST


On Wed, Feb 16, 2022 at 12:46:34PM +0000, Mans Rullgard wrote:
> Check for a hwaccel VLAN tag on rx and use it if present. Otherwise,
> use __skb_vlan_pop() like the other tag parsers do. This fixes the case
> where the VLAN tag has already been consumed by the master.
>
> Signed-off-by: Mans Rullgard <mans@xxxxxxxxx>
> ---
> Changes:
> - call skb_push/pull only where actually needed
> ---

Reviewed-by: Vladimir Oltean <olteanv@xxxxxxxxx>