Home
last modified time | relevance | path

Searched refs:vlan_aware (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_vlan.c111 return port->vlan_aware ? port->pvid : UNAWARE_PVID; in lan966x_vlan_port_get_pvid()
147 bool vlan_aware) in lan966x_vlan_port_set_vlan_aware() argument
149 port->vlan_aware = vlan_aware; in lan966x_vlan_port_set_vlan_aware()
163 if (port->vlan_aware) in lan966x_vlan_port_apply()
172 lan_rmw(DEV_MAC_TAGS_CFG_VLAN_AWR_ENA_SET(port->vlan_aware) | in lan966x_vlan_port_apply()
173 DEV_MAC_TAGS_CFG_VLAN_DBL_AWR_ENA_SET(port->vlan_aware), in lan966x_vlan_port_apply()
180 if (port->vlan_aware && !pvid) in lan966x_vlan_port_apply()
192 if (port->vlan_aware) { in lan966x_vlan_port_apply()
Dlan966x_main.h447 bool vlan_aware; member
546 bool vlan_aware);
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vlan.c206 val = ANA_CL_VLAN_CTRL_VLAN_AWARE_ENA_SET(port->vlan_aware) | in sparx5_vlan_port_apply()
207 ANA_CL_VLAN_CTRL_VLAN_POP_CNT_SET(port->vlan_aware) | in sparx5_vlan_port_apply()
212 if (port->vlan_aware && !port->pvid) in sparx5_vlan_port_apply()
224 if (port->vlan_aware) { in sparx5_vlan_port_apply()
Dsparx5_switchdev.c150 port->vlan_aware = attr->u.vlan_filtering; in sparx5_port_attr_set()
217 port->vlan_aware = 0; in sparx5_port_bridge_leave()
Dsparx5_main.h188 bool vlan_aware; member
/Linux-v6.6/drivers/net/dsa/sja1105/
Dsja1105_vl.c513 bool vlan_aware = dsa_port_is_vlan_filtering(dp); in sja1105_vl_redirect() local
516 if (!vlan_aware && key->type != SJA1105_KEY_VLAN_UNAWARE_VL) { in sja1105_vl_redirect()
520 } else if (vlan_aware && key->type != SJA1105_KEY_VLAN_AWARE_VL) { in sja1105_vl_redirect()
589 bool vlan_aware = dsa_port_is_vlan_filtering(dp); in sja1105_vl_gate() local
614 if (!vlan_aware && key->type != SJA1105_KEY_VLAN_UNAWARE_VL) { in sja1105_vl_gate()
618 } else if (vlan_aware && key->type != SJA1105_KEY_VLAN_AWARE_VL) { in sja1105_vl_gate()
/Linux-v6.6/drivers/net/ethernet/mscc/
Docelot.c390 if (ocelot_port->vlan_aware) { in ocelot_port_manage_port_tag()
466 if (ocelot_port->vlan_aware && pvid_vlan) in ocelot_port_set_pvid()
479 if (!pvid_vlan && ocelot_port->vlan_aware) in ocelot_port_set_pvid()
592 bool vlan_aware, struct netlink_ext_ack *extack) in ocelot_port_vlan_filtering() argument
613 if (vlan_aware) in ocelot_port_vlan_filtering()
622 ocelot_port->vlan_aware = vlan_aware; in ocelot_port_vlan_filtering()
624 if (vlan_aware) in ocelot_port_vlan_filtering()
Docelot_flower.c185 if (!ocelot_port->vlan_aware) { in ocelot_flower_parse_ingress_vlan_modify()
/Linux-v6.6/drivers/net/dsa/
Dlantiq_gswip.c1105 u16 vid, bool pvid, bool vlan_aware) in gswip_vlan_remove() argument
1117 (!vlan_aware || priv->vlans[i].vid == vid)) { in gswip_vlan_remove()
/Linux-v6.6/include/soc/mscc/
Docelot.h794 bool vlan_aware; member