]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit803234aadcab700cba2efc653247cf94b54e4017
tree5db1ef4627dd8bd17dddaef5d95e0b712744d090
parent2d8e9f03fabd1d53bce10d9c2b21d3616e696629
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