Mans Rullgard 017b355bbd net: dsa: lan9303: handle hwaccel VLAN tags
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.

Fixes: a1292595e006 ("net: dsa: add new DSA switch driver for the SMSC-LAN9303")
Signed-off-by: Mans Rullgard <mans@mansr.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20220216124634.23123-1-mans@mansr.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-02-17 09:32:06 -08:00
..
2022-01-22 08:33:37 +02:00
2021-11-23 20:16:22 -08:00
2022-01-06 12:33:35 +00:00
2021-05-26 07:03:39 +02:00
2022-02-15 14:54:40 +00:00
2022-02-10 15:29:39 +00:00
2021-06-03 15:13:56 -07:00
2021-07-29 15:06:49 +01:00