Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmp.c129 nhs = fib_info_num_path(fi); in mlx5_lag_get_next_fib_dev()
231 fib_info_num_path(fi) == 2) { in mlx5_lag_fib_nexthop_event()
/linux-6.6.21/net/ipv4/
Dfib_semantics.c72 nhsel < fib_info_num_path((fi)); \
78 nhsel < fib_info_num_path((fi)); \
473 unsigned int nhs = fib_info_num_path(fi); in fib_nlmsg_size()
493 for (i = 0; i < fib_info_num_path(fi); i++) { in fib_nlmsg_size()
807 if (fib_info_num_path(fi) < 2) in fib_rebalance()
1783 unsigned int nhs = fib_info_num_path(fri->fi); in fib_dump_info()
2260 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.c2145 if (res->fi && fib_info_num_path(res->fi) > 1) { in ip_mkroute_input()
3126 for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { in fib_dump_info_fnhe()
Dfib_trie.c1616 for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { in fib_table_lookup()
/linux-6.6.21/include/net/
Dnexthop.h446 static inline unsigned int fib_info_num_path(const struct fib_info *fi) in fib_info_num_path() function
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_router.c171 if (fib_info_num_path(fi) == 1) { in __prestera_fi_is_direct()
358 return fib_info_num_path(fen4_info->fi); in prestera_kern_fib_info_nhs()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c5526 unsigned int nhs = fib_info_num_path(nh_grp->ipv4.fi); in mlxsw_sp_nexthop4_group_info_init()
/linux-6.6.21/net/core/
Dfilter.c5884 if (fib_info_num_path(res.fi) > 1) in bpf_ipv4_fib_lookup()