Searched refs:nh_grp (Results 1 – 4 of 4) sorted by relevance
41 struct nlattr *nh_grp; member254 nh_grp = rcu_dereference_rtnl(nh->nh_grp); in nexthop_is_fdb()255 return nh_grp->fdb_nh; in nexthop_is_fdb()269 nh_grp = rcu_dereference_rtnl(nh->nh_grp); in nexthop_has_v4()280 nh_grp = rcu_dereference_rtnl(nh->nh_grp); in nexthop_is_multipath()295 nh_grp = rcu_dereference_rtnl(nh->nh_grp); in nexthop_num_path()297 rc = nh_grp->num_nh; in nexthop_num_path()343 nh_grp = rcu_dereference_rtnl(nh->nh_grp); in nexthop_is_blackhole()376 nh_grp = rcu_dereference_rtnl(nh->nh_grp); in nexthop_fib_nhc()487 nh_grp = rcu_dereference_rtnl(nh->nh_grp); in nexthop_fib6_nh()[all …]
4883 nhgi->nh_grp = nh_grp; in mlxsw_sp_nexthop_obj_group_info_init()4979 nh_grp = kzalloc(sizeof(*nh_grp), GFP_KERNEL); in mlxsw_sp_nexthop_obj_group_create()4980 if (!nh_grp) in mlxsw_sp_nexthop_obj_group_create()5050 old_nhgi->nh_grp = nh_grp; in mlxsw_sp_nexthop_obj_group_replace()5103 new_nhgi->nh_grp = nh_grp; in mlxsw_sp_nexthop_obj_group_replace()5140 if (!nh_grp) in mlxsw_sp_nexthop_obj_del()5341 nhgi->nh_grp = nh_grp; in mlxsw_sp_nexthop4_group_info_init()5399 nh_grp = kzalloc(sizeof(*nh_grp), GFP_KERNEL); in mlxsw_sp_nexthop4_group_create()5400 if (!nh_grp) in mlxsw_sp_nexthop4_group_create()6730 nhgi->nh_grp = nh_grp; in mlxsw_sp_nexthop6_group_info_init()[all …]
126 info->nh_grp = kzalloc(struct_size(info->nh_grp, nh_entries, num_nh), in nh_notifier_mpath_info_init()128 if (!info->nh_grp) in nh_notifier_mpath_info_init()131 info->nh_grp->num_nh = num_nh; in nh_notifier_mpath_info_init()132 info->nh_grp->is_fdb = nhg->fdb_nh; in nh_notifier_mpath_info_init()197 kfree(info->nh_grp); in nh_notifier_grp_info_fini()282 nhg = rcu_dereference(nh->nh_grp); in nh_notifier_res_bucket_idle_timer_get()408 nhg = rtnl_dereference(nh->nh_grp); in call_nexthop_res_table_notifiers()418 kfree(info.nh_grp); in call_nexthop_res_table_notifiers()1214 nhg = rcu_dereference(nh->nh_grp); in nexthop_select_path()2656 if (cfg->nh_grp) in nexthop_add()[all …]
1119 for (i = 0; i < info->nh_grp->num_nh; i++) in nsim_nexthop_create()1120 occ += info->nh_grp->nh_entries[i].weight; in nsim_nexthop_create()
Completed in 42 milliseconds