nh_group
struct mlxsw_sp_nexthop_group *nh_group;
fib_entry->nh_group = nh_grp;
struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group;
struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group;
return !!nh_group->nhgi->adj_index_valid;
return !!mlxsw_sp_nhgi_rif(nh_group->nhgi);
struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group;
struct mlxsw_sp_nexthop_group_info *nhgi = nh_group->nhgi;
struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi);
struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi;
err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group,
mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib);
mlxsw_sp_nexthop_group_vr_unlink(fib4_entry->common.nh_group,
fib6_entry->common.nh_group = nh_grp;
struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group;
struct mlxsw_sp_nexthop_group *old_nh_grp = fib6_entry->common.nh_group;
fib6_entry->common.nh_group = NULL;
err = mlxsw_sp_nexthop_group_vr_link(fib6_entry->common.nh_group,
mlxsw_sp_nexthop_group_vr_unlink(fib6_entry->common.nh_group,
fib6_entry->common.nh_group = old_nh_grp;
struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi;
else if (fib_entry->nh_group->nhgi->gateway)
err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group,
mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib);
mlxsw_sp_nexthop_group_vr_unlink(fib6_entry->common.nh_group,
struct nh_group *spare; /* spare group for removals */
struct nh_group __rcu *nh_grp;
const struct nh_group *nh_grp;
struct nh_group *nh_grp;
struct nh_group *nh_grp;
struct nh_group *nh_grp;
struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel)
struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp);
struct nh_group *nh_grp;
struct nh_group *nh_grp;
struct nh_group *nhg = rcu_dereference(nh->nh_grp);
struct nh_group *nhg = rcu_dereference(nh->nh_grp);
struct nh_group *nh_grp;
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
struct nh_group *nhg)
static struct nexthop *nexthop_select_path_fdb(struct nh_group *nhg, int hash)
static struct nexthop *nexthop_select_path_hthr(struct nh_group *nhg, int hash)
static struct nexthop *nexthop_select_path_res(struct nh_group *nhg, int hash)
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg)
struct nh_group *nhg;
static void nh_res_group_rebalance(struct nh_group *nhg,
struct nh_group *nhg)
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
static void replace_nexthop_grp_res(struct nh_group *oldg,
struct nh_group *newg)
static void nh_hthr_group_rebalance(struct nh_group *nhg)
struct nh_group *nhg, *newg;
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp);
struct nh_group *nhg;
struct nh_group *oldg, *newg;
static void nh_group_v4_update(struct nh_group *nhg)
struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp);
struct nh_group *nhg;
struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp);
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg;
static struct nh_group *nexthop_grp_alloc(u16 num_nh)
struct nh_group *nhg;
static int nla_put_nh_group_res(struct sk_buff *skb, struct nh_group *nhg)
struct nh_group *nhg;
struct nh_group *nhg;
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
struct nh_group *nhg = rtnl_dereference(nh->nh_grp);
static size_t nh_nlmsg_size_grp_res(struct nh_group *nhg)