Home
last modified time | relevance | path

Searched refs:old_pvid (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/net/bridge/
Dbr_vlan.c872 u16 old_pvid; in __br_vlan_set_default_pvid() local
885 old_pvid = br->default_pvid; in __br_vlan_set_default_pvid()
892 if ((!old_pvid || vlan_default_pvid(vg, old_pvid)) && in __br_vlan_set_default_pvid()
901 br_vlan_delete(br, old_pvid); in __br_vlan_set_default_pvid()
910 if ((old_pvid && in __br_vlan_set_default_pvid()
911 !vlan_default_pvid(vg, old_pvid)) || in __br_vlan_set_default_pvid()
921 nbp_vlan_delete(p, old_pvid); in __br_vlan_set_default_pvid()
936 if (old_pvid) in __br_vlan_set_default_pvid()
937 nbp_vlan_add(p, old_pvid, in __br_vlan_set_default_pvid()
945 if (old_pvid) in __br_vlan_set_default_pvid()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c1094 u16 old_pvid = mlxsw_sp_port->pvid; in mlxsw_sp_bridge_port_vlan_add() local
1117 mlxsw_sp_port_pvid_set(mlxsw_sp_port, old_pvid); in mlxsw_sp_bridge_port_vlan_add()