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
5914
fib_entry->nh_group = nh_grp;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5921
struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5948
struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5961
return !!nh_group->nhgi->adj_index_valid;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5963
return !!mlxsw_sp_nhgi_rif(nh_group->nhgi);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6209
struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6210
struct mlxsw_sp_nexthop_group_info *nhgi = nh_group->nhgi;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6245
struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6401
struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6492
err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6512
mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6527
mlxsw_sp_nexthop_group_vr_unlink(fib4_entry->common.nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7174
fib6_entry->common.nh_group = nh_grp;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7182
struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7200
struct mlxsw_sp_nexthop_group *old_nh_grp = fib6_entry->common.nh_group;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7205
fib6_entry->common.nh_group = NULL;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7212
err = mlxsw_sp_nexthop_group_vr_link(fib6_entry->common.nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7231
mlxsw_sp_nexthop_group_vr_unlink(fib6_entry->common.nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7238
fib6_entry->common.nh_group = old_nh_grp;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7306
struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7348
else if (fib_entry->nh_group->nhgi->gateway)
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7400
err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7414
mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
7442
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
1008
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
1232
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
134
struct nh_group *nhg)
net/ipv4/nexthop.c
1425
static struct nexthop *nexthop_select_path_fdb(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1443
static struct nexthop *nexthop_select_path_hthr(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1476
static struct nexthop *nexthop_select_path_res(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1495
struct nh_group *nhg;
net/ipv4/nexthop.c
1519
struct nh_group *nhg;
net/ipv4/nexthop.c
1568
struct nh_group *nhg;
net/ipv4/nexthop.c
162
struct nh_group *nhg)
net/ipv4/nexthop.c
1647
struct nh_group *nhg;
net/ipv4/nexthop.c
1923
static void nh_res_group_rebalance(struct nh_group *nhg,
net/ipv4/nexthop.c
196
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
1961
struct nh_group *nhg)
net/ipv4/nexthop.c
1986
static void replace_nexthop_grp_res(struct nh_group *oldg,
net/ipv4/nexthop.c
1987
struct nh_group *newg)
net/ipv4/nexthop.c
2007
static void nh_hthr_group_rebalance(struct nh_group *nhg)
net/ipv4/nexthop.c
2034
struct nh_group *nhg, *newg;
net/ipv4/nexthop.c
208
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
2137
struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp);
net/ipv4/nexthop.c
2243
struct nh_group *nhg;
net/ipv4/nexthop.c
2279
struct nh_group *oldg, *newg;
net/ipv4/nexthop.c
2359
static void nh_group_v4_update(struct nh_group *nhg)
net/ipv4/nexthop.c
2425
struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp);
net/ipv4/nexthop.c
2502
struct nh_group *nhg;
net/ipv4/nexthop.c
2675
struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp);
net/ipv4/nexthop.c
270
struct nh_group *nhg;
net/ipv4/nexthop.c
2770
struct nh_group *nhg;
net/ipv4/nexthop.c
3667
struct nh_group *nhg;
net/ipv4/nexthop.c
3772
struct nh_group *nhg;
net/ipv4/nexthop.c
3812
struct nh_group *nhg;
net/ipv4/nexthop.c
3914
struct nh_group *nhg;
net/ipv4/nexthop.c
4088
struct nh_group *nhg;
net/ipv4/nexthop.c
410
struct nh_group *nhg;
net/ipv4/nexthop.c
4121
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
939
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
net/ipv4/nexthop.c
997
static size_t nh_nlmsg_size_grp_res(struct nh_group *nhg)