Searched refs:old_nhgi (Results 1 – 1 of 1) sorted by relevance
5238 struct mlxsw_sp_nexthop_group_info *old_nhgi = old_nh_grp->nhgi; in mlxsw_sp_nexthop_obj_group_replace() local5244 nh_grp->nhgi = old_nhgi; in mlxsw_sp_nexthop_obj_group_replace()5245 old_nhgi->nh_grp = nh_grp; in mlxsw_sp_nexthop_obj_group_replace()5247 if (old_nhgi->adj_index_valid && new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()5253 old_nhgi->adj_index, in mlxsw_sp_nexthop_obj_group_replace()5254 old_nhgi->ecmp_size); in mlxsw_sp_nexthop_obj_group_replace()5259 } else if (old_nhgi->adj_index_valid && !new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()5269 } else if (!old_nhgi->adj_index_valid && new_nhgi->adj_index_valid) { in mlxsw_sp_nexthop_obj_group_replace()5296 old_nhgi->nh_grp = old_nh_grp; in mlxsw_sp_nexthop_obj_group_replace()5299 old_nh_grp->nhgi = old_nhgi; in mlxsw_sp_nexthop_obj_group_replace()