Home
last modified time | relevance | path

Searched refs:fib_info_num_path (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmp.c144 nhs = fib_info_num_path(fi); in mlx5_lag_fib_route_event()
209 fib_info_num_path(fi) == 2) { in mlx5_lag_fib_nexthop_event()
/linux-5.19.10/net/ipv4/
Dfib_semantics.c71 nhsel < fib_info_num_path((fi)); \
77 nhsel < fib_info_num_path((fi)); \
470 unsigned int nhs = fib_info_num_path(fi); in fib_nlmsg_size()
490 for (i = 0; i < fib_info_num_path(fi); i++) { in fib_nlmsg_size()
804 if (fib_info_num_path(fi) < 2) in fib_rebalance()
1770 unsigned int nhs = fib_info_num_path(fri->fi); in fib_dump_info()
2246 if (fib_info_num_path(res->fi) > 1) { in fib_select_path()
Dfib_frontend.c318 for (ret = 0; ret < fib_info_num_path(fi); ret++) { in fib_info_nh_uses_dev()
Droute.c2150 if (res->fi && fib_info_num_path(res->fi) > 1) { in ip_mkroute_input()
3136 for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { in fib_dump_info_fnhe()
Dfib_trie.c1613 for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { in fib_table_lookup()
/linux-5.19.10/include/net/
Dnexthop.h446 static inline unsigned int fib_info_num_path(const struct fib_info *fi) in fib_info_num_path() function
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c5395 unsigned int nhs = fib_info_num_path(nh_grp->ipv4.fi); in mlxsw_sp_nexthop4_group_info_init()
/linux-5.19.10/net/core/
Dfilter.c5766 if (fib_info_num_path(res.fi) > 1) in bpf_ipv4_fib_lookup()