Home
last modified time | relevance | path

Searched refs:nh_group (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/include/net/
H A Dnexthop.h75 struct nh_group { struct
76 struct nh_group *spare; /* spare group for removals */ argument
103 struct nh_group __rcu *nh_grp; argument
138 const struct nh_group *nh_grp; in nexthop_is_fdb()
153 struct nh_group *nh_grp; in nexthop_has_v4()
164 struct nh_group *nh_grp; in nexthop_is_multipath()
179 struct nh_group *nh_grp; in nexthop_num_path()
190 struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel) in nexthop_mpath_select()
205 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nexthop_mpath_fill_node()
227 struct nh_group *nh_grp; in nexthop_is_blackhole()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dnexthop.c74 struct nh_group *nhg; in nexthop_free_mpath()
134 static struct nh_group *nexthop_grp_alloc(u16 num_nh) in nexthop_grp_alloc()
136 struct nh_group *nhg; in nexthop_grp_alloc()
193 static int nla_put_nh_group(struct sk_buff *skb, struct nh_group *nhg) in nla_put_nh_group()
248 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_fill_node()
307 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_nlmsg_size_grp()
390 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in valid_group_nh()
545 struct nh_group *nhg; in nexthop_select_path()
593 struct nh_group *nhg; in nexthop_for_each_fib6_nh()
642 struct nh_group *nhg; in fib6_check_nexthop()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c375 struct mlxsw_sp_nexthop_group *nh_group; member
4085 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
4092 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop4_group_put()
4113 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload() local
4126 return !!nh_group->adj_index_valid; in mlxsw_sp_fib_entry_should_offload()
4128 return !!nh_group->nh_rif; in mlxsw_sp_fib_entry_should_offload()
4162 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_set()
4187 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_clear()
4347 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_op_remote() local
4361 adjacency_index = fib_entry->nh_group->adj_index; in mlxsw_sp_fib_entry_op_remote()
[all …]