Searched refs:old_pvid (Results 1 – 4 of 4) sorted by relevance
1101 u16 old_pvid; in __br_vlan_set_default_pvid() local1113 old_pvid = br->default_pvid; in __br_vlan_set_default_pvid()1120 if ((!old_pvid || vlan_default_pvid(vg, old_pvid)) && in __br_vlan_set_default_pvid()1130 if (br_vlan_delete(br, old_pvid)) in __br_vlan_set_default_pvid()1141 if ((old_pvid && in __br_vlan_set_default_pvid()1142 !vlan_default_pvid(vg, old_pvid)) || in __br_vlan_set_default_pvid()1152 if (nbp_vlan_delete(p, old_pvid)) in __br_vlan_set_default_pvid()1169 if (old_pvid) { in __br_vlan_set_default_pvid()1170 nbp_vlan_add(p, old_pvid, in __br_vlan_set_default_pvid()1181 if (old_pvid) { in __br_vlan_set_default_pvid()[all …]
1407 u16 old_pvid = port->pvid; in prestera_bridge_port_vlan_add() local1441 prestera_port_pvid_set(port, old_pvid); in prestera_bridge_port_vlan_add()
8575 u16 old_pvid = 0; in mlxsw_sp_router_bridge_vlan_add() local8588 old_pvid = mlxsw_sp_fid_8021q_vid(old_rif->fid); in mlxsw_sp_router_bridge_vlan_add()8593 else if (old_pvid == new_vid) in mlxsw_sp_router_bridge_vlan_add()8598 if (old_pvid == new_pvid) in mlxsw_sp_router_bridge_vlan_add()8620 if (old_pvid) in mlxsw_sp_router_bridge_vlan_add()8627 if (old_pvid) { in mlxsw_sp_router_bridge_vlan_add()8630 old_pvid); in mlxsw_sp_router_bridge_vlan_add()
1520 u16 old_pvid = mlxsw_sp_port->pvid; in mlxsw_sp_bridge_port_vlan_add() local1558 mlxsw_sp_port_pvid_set(mlxsw_sp_port, old_pvid, proto); in mlxsw_sp_bridge_port_vlan_add()