Searched refs:nhgi (Results 1 – 1 of 1) sorted by relevance
3064 struct mlxsw_sp_nexthop_group_info *nhgi; /* pointer back to the group member3125 mlxsw_sp_nhgi_rif(const struct mlxsw_sp_nexthop_group_info *nhgi) in mlxsw_sp_nhgi_rif() argument3127 struct mlxsw_sp_crif *crif = nhgi->nexthops[0].crif; in mlxsw_sp_nhgi_rif()3157 struct mlxsw_sp_nexthop_group_info *nhgi; member3203 struct mlxsw_sp_nexthop_group *nh_grp = nh->nhgi->nh_grp; in mlxsw_sp_nexthop_sh_counter_get()3207 nhct = xa_load(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_get()3217 err = xa_err(xa_store(&nh_grp->nhgi->nexthop_counters, nh->id, nhct, in mlxsw_sp_nexthop_sh_counter_get()3232 struct mlxsw_sp_nexthop_group *nh_grp = nh->nhgi->nh_grp; in mlxsw_sp_nexthop_sh_counter_put()3235 nhct = xa_load(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_put()3242 xa_erase(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_put()[all …]