Lines Matching refs:old_rif
1733 struct mlxsw_sp_rif *old_rif, in mlxsw_sp_rif_migrate_destroy() argument
1737 struct mlxsw_sp_crif *crif = old_rif->crif; in mlxsw_sp_rif_migrate_destroy()
1747 old_rif->crif = &mock_crif; in mlxsw_sp_rif_migrate_destroy()
1748 mock_crif.rif = old_rif; in mlxsw_sp_rif_migrate_destroy()
1749 mlxsw_sp_rif_destroy(old_rif); in mlxsw_sp_rif_migrate_destroy()
8821 struct mlxsw_sp_rif *old_rif; in mlxsw_sp_router_bridge_vlan_add() local
8829 old_rif = mlxsw_sp_rif_find_by_dev(mlxsw_sp, br_dev); in mlxsw_sp_router_bridge_vlan_add()
8830 if (old_rif) { in mlxsw_sp_router_bridge_vlan_add()
8834 if (WARN_ON(old_rif->ops->type != MLXSW_SP_RIF_TYPE_VLAN)) in mlxsw_sp_router_bridge_vlan_add()
8835 old_rif = NULL; in mlxsw_sp_router_bridge_vlan_add()
8837 old_pvid = mlxsw_sp_fid_8021q_vid(old_rif->fid); in mlxsw_sp_router_bridge_vlan_add()
8870 mlxsw_sp_rif_migrate_destroy(mlxsw_sp, old_rif, new_rif, in mlxsw_sp_router_bridge_vlan_add()
8873 mlxsw_sp_rif_destroy(old_rif); in mlxsw_sp_router_bridge_vlan_add()