Searched refs:old_nhgi (Results 1 – 1 of 1) sorted by relevance
5237 struct mlxsw_sp_nexthop_group_info *old_nhgi = old_nh_grp->nhgi; in mlxsw_sp_nexthop_obj_group_replace() local5243 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()