Symbol: nh_group
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
480
struct mlxsw_sp_nexthop_group *nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5913
fib_entry->nh_group = nh_grp;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5920
struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5947
struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5960
return !!nh_group->nhgi->adj_index_valid;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5962
return !!mlxsw_sp_nhgi_rif(nh_group->nhgi);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6208
struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6209
struct mlxsw_sp_nexthop_group_info *nhgi = nh_group->nhgi;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6244
struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6400
struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6491
err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6511
mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6526
mlxsw_sp_nexthop_group_vr_unlink(fib4_entry->common.nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7173
fib6_entry->common.nh_group = nh_grp;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7181
struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7199
struct mlxsw_sp_nexthop_group *old_nh_grp = fib6_entry->common.nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7204
fib6_entry->common.nh_group = NULL;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7211
err = mlxsw_sp_nexthop_group_vr_link(fib6_entry->common.nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7230
mlxsw_sp_nexthop_group_vr_unlink(fib6_entry->common.nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7237
fib6_entry->common.nh_group = old_nh_grp;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7305
struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7347
else if (fib_entry->nh_group->nhgi->gateway)
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7399
err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7413
mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7441
mlxsw_sp_nexthop_group_vr_unlink(fib6_entry->common.nh_group,
include/net/nexthop.h
129
struct nh_group *spare; /* spare group for removals */
include/net/nexthop.h
163
struct nh_group __rcu *nh_grp;
include/net/nexthop.h
284
const struct nh_group *nh_grp;
include/net/nexthop.h
299
struct nh_group *nh_grp;
include/net/nexthop.h
310
struct nh_group *nh_grp;
include/net/nexthop.h
325
struct nh_group *nh_grp;
include/net/nexthop.h
336
struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel)
include/net/nexthop.h
351
struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp);
include/net/nexthop.h
373
struct nh_group *nh_grp;
include/net/nexthop.h
406
struct nh_group *nh_grp;
include/net/nexthop.h
430
struct nh_group *nhg = rcu_dereference(nh->nh_grp);
include/net/nexthop.h
459
struct nh_group *nhg = rcu_dereference(nh->nh_grp);
include/net/nexthop.h
517
struct nh_group *nh_grp;
net/ipv4/nexthop.c
1009
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
1217
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
134
struct nh_group *nhg)
net/ipv4/nexthop.c
1410
static struct nexthop *nexthop_select_path_fdb(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1428
static struct nexthop *nexthop_select_path_hthr(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1461
static struct nexthop *nexthop_select_path_res(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1480
struct nh_group *nhg;
net/ipv4/nexthop.c
1504
struct nh_group *nhg;
net/ipv4/nexthop.c
1553
struct nh_group *nhg;
net/ipv4/nexthop.c
162
struct nh_group *nhg)
net/ipv4/nexthop.c
1625
struct nh_group *nhg;
net/ipv4/nexthop.c
1901
static void nh_res_group_rebalance(struct nh_group *nhg,
net/ipv4/nexthop.c
1939
struct nh_group *nhg)
net/ipv4/nexthop.c
196
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
1964
static void replace_nexthop_grp_res(struct nh_group *oldg,
net/ipv4/nexthop.c
1965
struct nh_group *newg)
net/ipv4/nexthop.c
1985
static void nh_hthr_group_rebalance(struct nh_group *nhg)
net/ipv4/nexthop.c
2012
struct nh_group *nhg, *newg;
net/ipv4/nexthop.c
208
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
2110
struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp);
net/ipv4/nexthop.c
2205
struct nh_group *nhg;
net/ipv4/nexthop.c
2237
struct nh_group *oldg, *newg;
net/ipv4/nexthop.c
2317
static void nh_group_v4_update(struct nh_group *nhg)
net/ipv4/nexthop.c
2383
struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp);
net/ipv4/nexthop.c
2460
struct nh_group *nhg;
net/ipv4/nexthop.c
2631
struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp);
net/ipv4/nexthop.c
270
struct nh_group *nhg;
net/ipv4/nexthop.c
2719
struct nh_group *nhg;
net/ipv4/nexthop.c
3617
struct nh_group *nhg;
net/ipv4/nexthop.c
3722
struct nh_group *nhg;
net/ipv4/nexthop.c
3762
struct nh_group *nhg;
net/ipv4/nexthop.c
3864
struct nh_group *nhg;
net/ipv4/nexthop.c
4038
struct nh_group *nhg;
net/ipv4/nexthop.c
4071
struct nh_group *nhg;
net/ipv4/nexthop.c
410
struct nh_group *nhg;
net/ipv4/nexthop.c
482
struct nh_group *nhg;
net/ipv4/nexthop.c
547
static struct nh_group *nexthop_grp_alloc(u16 num_nh)
net/ipv4/nexthop.c
549
struct nh_group *nhg;
net/ipv4/nexthop.c
644
static int nla_put_nh_group_res(struct sk_buff *skb, struct nh_group *nhg)
net/ipv4/nexthop.c
708
struct nh_group *nhg;
net/ipv4/nexthop.c
748
struct nh_group *nhg;
net/ipv4/nexthop.c
826
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
868
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
940
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
998
static size_t nh_nlmsg_size_grp_res(struct nh_group *nhg)