summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-02-25 10:22:21 +0100
committerDavid S. Miller <davem@davemloft.net>2022-02-27 12:06:14 +0100
commitb6362bdf750b4ba266d4a10156174ec52460e73d (patch)
tree62290a9e34156c70a0bf96dc6f8771e4184caa5f /drivers
parentnet: dsa: tag_8021q: merge RX and TX VLANs (diff)
downloadlinux-b6362bdf750b4ba266d4a10156174ec52460e73d.tar.xz
linux-b6362bdf750b4ba266d4a10156174ec52460e73d.zip
net: dsa: tag_8021q: rename dsa_8021q_bridge_tx_fwd_offload_vid
The dsa_8021q_bridge_tx_fwd_offload_vid is no longer used just for bridge TX forwarding offload, it is the private VLAN reserved for VLAN-unaware bridging in a way that is compatible with FDB isolation. So just rename it dsa_tag_8021q_bridge_vid. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/dsa/sja1105/sja1105_vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_vl.c b/drivers/net/dsa/sja1105/sja1105_vl.c
index 1eef60207c6b..b7e95d60a6e4 100644
--- a/drivers/net/dsa/sja1105/sja1105_vl.c
+++ b/drivers/net/dsa/sja1105/sja1105_vl.c
@@ -306,7 +306,7 @@ static u16 sja1105_port_get_tag_8021q_vid(struct dsa_port *dp)
bridge_num = dsa_port_bridge_num_get(dp);
- return dsa_8021q_bridge_tx_fwd_offload_vid(bridge_num);
+ return dsa_tag_8021q_bridge_vid(bridge_num);
}
static int sja1105_init_virtual_links(struct sja1105_private *priv,