summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mscc/ocelot_vcap.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-01-29 02:59:59 +0200
committerJakub Kicinski <kuba@kernel.org>2021-01-29 21:24:30 -0800
commit9c7caf28068421c9e0d1faea437e35e6b8983ac6 (patch)
treeac93a87dd38ad05dd4348ed454828cd7939831a4 /drivers/net/ethernet/mscc/ocelot_vcap.c
parentde1da8bcf40564a2adada2d5d5426e05355f66e8 (diff)
net: dsa: tag_8021q: add helpers to deduce whether a VLAN ID is RX or TX VLAN
The sja1105 implementation can be blind about this, but the felix driver doesn't do exactly what it's being told, so it needs to know whether it is a TX or an RX VLAN, so it can install the appropriate type of TCAM rule. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mscc/ocelot_vcap.c')
0 files changed, 0 insertions, 0 deletions