Home
last modified time | relevance | path

Searched refs:nhgi (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3059 struct mlxsw_sp_nexthop_group_info *nhgi; /* pointer back to the group member
3120 mlxsw_sp_nhgi_rif(const struct mlxsw_sp_nexthop_group_info *nhgi) in mlxsw_sp_nhgi_rif() argument
3122 struct mlxsw_sp_crif *crif = nhgi->nexthops[0].crif; in mlxsw_sp_nhgi_rif()
3152 struct mlxsw_sp_nexthop_group_info *nhgi; member
3198 struct mlxsw_sp_nexthop_group *nh_grp = nh->nhgi->nh_grp; in mlxsw_sp_nexthop_sh_counter_get()
3202 nhct = xa_load(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_get()
3212 err = xa_err(xa_store(&nh_grp->nhgi->nexthop_counters, nh->id, nhct, in mlxsw_sp_nexthop_sh_counter_get()
3227 struct mlxsw_sp_nexthop_group *nh_grp = nh->nhgi->nh_grp; in mlxsw_sp_nexthop_sh_counter_put()
3230 nhct = xa_load(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_put()
3237 xa_erase(&nh_grp->nhgi->nexthop_counters, nh->id); in mlxsw_sp_nexthop_sh_counter_put()
[all …]