Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c5237 struct mlxsw_sp_nexthop_group_info *old_nhgi = old_nh_grp->nhgi; in mlxsw_sp_nexthop_obj_group_replace() local
5243 nh_grp->nhgi = old_nhgi; in mlxsw_sp_nexthop_obj_group_replace()
5244 old_nhgi->nh_grp = nh_grp; in mlxsw_sp_nexthop_obj_group_replace()
5246 if (old_nhgi->adj_index_valid && new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()
5252 old_nhgi->adj_index, in mlxsw_sp_nexthop_obj_group_replace()
5253 old_nhgi->ecmp_size); in mlxsw_sp_nexthop_obj_group_replace()
5258 } else if (old_nhgi->adj_index_valid && !new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()
5268 } else if (!old_nhgi->adj_index_valid && new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()
5295 old_nhgi->nh_grp = old_nh_grp; in mlxsw_sp_nexthop_obj_group_replace()
5298 old_nh_grp->nhgi = old_nhgi; in mlxsw_sp_nexthop_obj_group_replace()