Searched refs:new_nhgi (Results 1 – 1 of 1) sorted by relevance
5238 struct mlxsw_sp_nexthop_group_info *new_nhgi = nh_grp->nhgi; in mlxsw_sp_nexthop_obj_group_replace() local5241 old_nh_grp->nhgi = new_nhgi; in mlxsw_sp_nexthop_obj_group_replace()5242 new_nhgi->nh_grp = old_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()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()5296 nh_grp->nhgi = new_nhgi; in mlxsw_sp_nexthop_obj_group_replace()5297 new_nhgi->nh_grp = nh_grp; in mlxsw_sp_nexthop_obj_group_replace()