Searched refs:nhgi (Results 1 – 1 of 1) sorted by relevance
3062 struct mlxsw_sp_nexthop_group_info *nhgi; /* pointer back to the group member3123 mlxsw_sp_nhgi_rif(const struct mlxsw_sp_nexthop_group_info *nhgi) in mlxsw_sp_nhgi_rif() argument3125 struct mlxsw_sp_crif *crif = nhgi->nexthops[0].crif; in mlxsw_sp_nhgi_rif()3155 struct mlxsw_sp_nexthop_group_info *nhgi; member3201 struct mlxsw_sp_nexthop_group *nh_grp = nh->nhgi->nh_grp; in mlxsw_sp_nexthop_sh_counter_get()3205 nhct = xa_load(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_get()3215 err = xa_err(xa_store(&nh_grp->nhgi->nexthop_counters, nh->id, nhct, in mlxsw_sp_nexthop_sh_counter_get()3230 struct mlxsw_sp_nexthop_group *nh_grp = nh->nhgi->nh_grp; in mlxsw_sp_nexthop_sh_counter_put()3233 nhct = xa_load(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_put()3240 xa_erase(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_put()[all …]