Home
last modified time | relevance | path

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

/Linux-v5.4/net/bridge/
Dbr_vlan.c947 u16 old_pvid; in __br_vlan_set_default_pvid() local
959 old_pvid = br->default_pvid; in __br_vlan_set_default_pvid()
966 if ((!old_pvid || vlan_default_pvid(vg, old_pvid)) && in __br_vlan_set_default_pvid()
975 br_vlan_delete(br, old_pvid); in __br_vlan_set_default_pvid()
984 if ((old_pvid && in __br_vlan_set_default_pvid()
985 !vlan_default_pvid(vg, old_pvid)) || in __br_vlan_set_default_pvid()
995 nbp_vlan_delete(p, old_pvid); in __br_vlan_set_default_pvid()
1010 if (old_pvid) in __br_vlan_set_default_pvid()
1011 nbp_vlan_add(p, old_pvid, in __br_vlan_set_default_pvid()
1019 if (old_pvid) in __br_vlan_set_default_pvid()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c1061 u16 old_pvid = mlxsw_sp_port->pvid; in mlxsw_sp_bridge_port_vlan_add() local
1097 mlxsw_sp_port_pvid_set(mlxsw_sp_port, old_pvid); in mlxsw_sp_bridge_port_vlan_add()