Lines Matching refs:pvid
102 static int sja1105_pvid_apply(struct sja1105_private *priv, int port, u16 pvid)
108 if (mac[port].vlanid == pvid)
111 mac[port].vlanid = pvid;
125 u16 pvid;
128 pvid = priv->bridge_pvid[port];
130 pvid = priv->tag_8021q_pvid[port];
132 rc = sja1105_pvid_apply(priv, port, pvid);
137 * VLAN-aware bridge. When the tag_8021q pvid is used, we are
143 if (pvid == priv->bridge_pvid[port]) {
146 match = sja1105_is_vlan_configured(priv, pvid);
179 /* Internal VLAN (pvid) to apply to untagged ingress */
190 /* Don't retag 802.1p (VID 0) traffic with the pvid */
463 struct sja1105_vlan_lookup_entry pvid = {
493 pvid.vmemb_port |= BIT(port);
494 pvid.vlan_bc |= BIT(port);
495 pvid.tag_port &= ~BIT(port);
503 ((struct sja1105_vlan_lookup_entry *)table->entries)[0] = pvid;
2602 /* In case the pvid was deleted, make sure that untagged packets will
3153 * TPID is ETH_P_SJA1105, and the VLAN ID is the port pvid.