diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-02-25 11:22:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-27 11:06:13 +0000 |
commit | d7f9787a763f35225287aedb9364c972ae128d18 (patch) | |
tree | 6d211d30a67aaff7b6b7c0d622d9147ff1e85e51 /net/compat.c | |
parent | 91495f21fcec3a889d6a9c21e6df16c4c15f2184 (diff) | |
download | linux-stable-d7f9787a763f35225287aedb9364c972ae128d18.tar.gz linux-stable-d7f9787a763f35225287aedb9364c972ae128d18.tar.bz2 linux-stable-d7f9787a763f35225287aedb9364c972ae128d18.zip |
net: dsa: tag_8021q: add support for imprecise RX based on the VBID
The sja1105 switch can't populate the PORT field of the tag_8021q header
when sending a frame to the CPU with a non-zero VBID.
Similar to dsa_find_designated_bridge_port_by_vid() which performs
imprecise RX for VLAN-aware bridges, let's introduce a helper in
tag_8021q for performing imprecise RX based on the VLAN that it has
allocated for a VLAN-unaware bridge.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions