Searched refs:nh_entries (Results 1 – 4 of 4) sorted by relevance
129 struct nh_grp_entry nh_entries[]; member190 struct nh_notifier_grp_entry_info nh_entries[]; member312 return nhg->nh_entries[nhsel].nh; in nexthop_mpath_select()323 struct nexthop *nhe = nhg->nh_entries[i].nh; in nexthop_mpath_fill_node()326 int weight = nhg->nh_entries[i].weight; in nexthop_mpath_fill_node()347 nh = nh_grp->nh_entries[0].nh; in nexthop_is_blackhole()402 struct nexthop *nhe = nhg->nh_entries[i].nh; in nexthop_get_nhc_lookup()431 struct nexthop *nhe = nhg->nh_entries[i].nh; in nexthop_uses_dev()
127 info->nh_grp = kzalloc(struct_size(info->nh_grp, nh_entries, num_nh), in nh_notifier_mpath_info_init()136 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; in nh_notifier_mpath_info_init()140 info->nh_grp->nh_entries[i].id = nhge->nh->id; in nh_notifier_mpath_info_init()141 info->nh_grp->nh_entries[i].weight = nhge->weight; in nh_notifier_mpath_info_init()142 __nh_notifier_single_info_init(&info->nh_grp->nh_entries[i].nh, in nh_notifier_mpath_info_init()474 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; in nexthop_free_group()536 nhg = kzalloc(struct_size(nhg, nh_entries, num_nh), GFP_KERNEL); in nexthop_grp_alloc()679 p->id = nhg->nh_entries[i].nh->id; in nla_put_nh_group()680 p->weight = nhg->nh_entries[i].weight - 1; in nla_put_nh_group()1161 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; in nexthop_select_path_hthr()[all …]
1135 occ += info->nh_grp->nh_entries[i].weight; in nsim_nexthop_create()
4606 nh = &nh_grp->nh_entries[i].nh; in mlxsw_sp_nexthop_obj_group_validate()4869 nh_obj = &info->nh_grp->nh_entries[i].nh; in mlxsw_sp_nexthop_obj_group_info_init()4870 weight = info->nh_grp->nh_entries[i].weight; in mlxsw_sp_nexthop_obj_group_info_init()