Home
last modified time | relevance | path

Searched refs:new_pvid (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/dsa/b53/
H A Db53_common.c1723 u16 old_pvid, new_pvid; in b53_vlan_add() local
1735 new_pvid = vlan->vid; in b53_vlan_add()
1737 new_pvid = b53_default_pvid(dev); in b53_vlan_add()
1739 new_pvid = old_pvid; in b53_vlan_add()
1740 dev->ports[port].pvid = new_pvid; in b53_vlan_add()
1759 if (!dsa_is_cpu_port(ds, port) && new_pvid != old_pvid) { in b53_vlan_add()
1761 new_pvid); in b53_vlan_add()
/linux/drivers/net/dsa/microchip/
H A Dksz8.c1494 u16 data, new_pvid = 0; in ksz8_port_vlan_add() local
1544 new_pvid = vlan->vid; in ksz8_port_vlan_add()
1546 if (new_pvid) { in ksz8_port_vlan_add()
1551 vid |= new_pvid; in ksz8_port_vlan_add()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c8778 u16 new_pvid; in mlxsw_sp_router_bridge_vlan_add() local
8794 new_pvid = new_vid; in mlxsw_sp_router_bridge_vlan_add()
8796 new_pvid = 0; in mlxsw_sp_router_bridge_vlan_add()
8800 if (old_pvid == new_pvid) in mlxsw_sp_router_bridge_vlan_add()
8803 if (new_pvid) { in mlxsw_sp_router_bridge_vlan_add()
8806 .vid = new_pvid, in mlxsw_sp_router_bridge_vlan_add()
8812 mlxsw_sp_rif_destroy_vlan_upper(mlxsw_sp, br_dev, new_pvid); in mlxsw_sp_router_bridge_vlan_add()
8837 new_pvid, in mlxsw_sp_router_bridge_vlan_add()