Lines Matching refs:nexthops
3116 struct mlxsw_sp_nexthop nexthops[] __counted_by(count);
3122 struct mlxsw_sp_crif *crif = nhgi->nexthops[0].crif; in mlxsw_sp_nhgi_rif()
3342 struct mlxsw_sp_nexthop *nh_iter = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_indexes()
3367 struct mlxsw_sp_nexthop *nh_iter = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_has_ipip()
3484 nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_has_nexthop()
3556 nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_hash_obj()
3856 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_update()
3994 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_normalize()
4005 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_normalize()
4024 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_rebalance()
4047 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_offload_refresh()
4134 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_offload_refresh()
4174 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_refresh()
4263 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_refresh()
5197 nhgi = kzalloc(struct_size(nhgi, nexthops, nhs), GFP_KERNEL); in mlxsw_sp_nexthop_obj_group_info_init()
5213 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_info_init()
5262 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_info_init()
5285 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_info_fini()
5452 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_res_group_pre()
5618 nh = &nhgi->nexthops[bucket_index]; in mlxsw_sp_nexthop_obj_bucket_replace()
5653 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[nhi]; in mlxsw_sp_nexthop_obj_mp_hw_stats_get()
5674 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[bucket]; in mlxsw_sp_nexthop_obj_res_hw_stats_get()
5778 nhgi = kzalloc(struct_size(nhgi, nexthops, nhs), GFP_KERNEL); in mlxsw_sp_nexthop4_group_info_init()
5788 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_info_init()
5809 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_info_init()
5825 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_info_fini()
5977 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_rt6_nexthop()
6402 int ifindex = nhgi->nexthops[0].ifindex; in mlxsw_sp_fib4_entry_type_set()
7031 nhgi = kzalloc(struct_size(nhgi, nexthops, fib6_entry->nrt6), in mlxsw_sp_nexthop6_group_info_init()
7044 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_info_init()
7066 nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_info_init()
7082 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_info_fini()
7308 int ifindex = nhgi->nexthops[0].ifindex; in mlxsw_sp_fib6_entry_type_set_local()