OSDN Git Service

net: dsa: tag_sja1105: add compatibility with hwaccel VLAN tags
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 21 Sep 2020 00:10:31 +0000 (03:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 02:01:34 +0000 (19:01 -0700)
commit88525fc01cbe70052c4687c1ce29fd08f5c8fcbe
tree5db1ef4627dd8bd17dddaef5d95e0b712744d090
parentbbed0bbdddaf46260aeb1a8910a3b32941e321a2
net: dsa: tag_sja1105: add compatibility with hwaccel VLAN tags

Check whether there is any hwaccel VLAN tag on RX, and if there is,
treat it as the tag_8021q header.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_sja1105.c