Home
last modified time | relevance | path

Searched refs:fen_info (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/net/netdevsim/
Dfib.c104 struct fib_entry_notifier_info fen_info; member
273 struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_create() argument
281 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create()
282 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create()
284 fib4_rt->fi = fen_info->fi; in nsim_fib4_rt_create()
286 fib4_rt->tos = fen_info->tos; in nsim_fib4_rt_create()
287 fib4_rt->type = fen_info->type; in nsim_fib4_rt_create()
301 const struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_lookup() argument
305 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_lookup()
306 fen_info->dst_len, AF_INET, in nsim_fib4_rt_lookup()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.c108 struct fib_entry_notifier_info fen_info; member
212 fib_work->fen_info.fi); in mlx5_lag_fib_update()
213 fib_info_put(fib_work->fen_info.fi); in mlx5_lag_fib_update()
254 struct fib_entry_notifier_info *fen_info; in mlx5_lag_fib_event() local
268 fen_info = container_of(info, struct fib_entry_notifier_info, in mlx5_lag_fib_event()
270 fi = fen_info->fi; in mlx5_lag_fib_event()
275 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5_lag_fib_event()
283 fib_work->fen_info = *fen_info; in mlx5_lag_fib_event()
287 fib_info_hold(fib_work->fen_info.fi); in mlx5_lag_fib_event()
/Linux-v5.15/drivers/net/ethernet/rocker/
Drocker.h134 const struct fib_entry_notifier_info *fen_info);
136 const struct fib_entry_notifier_info *fen_info);
Drocker_main.c1725 const struct fib_entry_notifier_info *fen_info) in rocker_world_fib4_add() argument
1731 return wops->fib4_add(rocker, fen_info); in rocker_world_fib4_add()
1735 const struct fib_entry_notifier_info *fen_info) in rocker_world_fib4_del() argument
1741 return wops->fib4_del(rocker, fen_info); in rocker_world_fib4_del()
2121 struct fib_entry_notifier_info fen_info; member
2140 err = rocker_world_fib4_add(rocker, &fib_work->fen_info); in rocker_router_fib_event_work()
2143 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work()
2146 rocker_world_fib4_del(rocker, &fib_work->fen_info); in rocker_router_fib_event_work()
2147 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work()
2184 struct fib_entry_notifier_info *fen_info = ptr; in rocker_router_fib_event() local
[all …]
Drocker_ofdpa.c2721 const struct fib_entry_notifier_info *fen_info) in ofdpa_fib4_add() argument
2730 nh = fib_info_nh(fen_info->fi, 0); in ofdpa_fib4_add()
2734 err = ofdpa_port_fib_ipv4(ofdpa_port, htonl(fen_info->dst), in ofdpa_fib4_add()
2735 fen_info->dst_len, fen_info->fi, in ofdpa_fib4_add()
2736 fen_info->tb_id, 0); in ofdpa_fib4_add()
2744 const struct fib_entry_notifier_info *fen_info) in ofdpa_fib4_del() argument
2752 nh = fib_info_nh(fen_info->fi, 0); in ofdpa_fib4_del()
2757 return ofdpa_port_fib_ipv4(ofdpa_port, htonl(fen_info->dst), in ofdpa_fib4_del()
2758 fen_info->dst_len, fen_info->fi, in ofdpa_fib4_del()
2759 fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); in ofdpa_fib4_del()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c1534 struct fib_entry_notifier_info *fen_info; in mlx5e_init_fib_work_ipv4() local
1540 fen_info = container_of(info, struct fib_entry_notifier_info, info); in mlx5e_init_fib_work_ipv4()
1541 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5e_init_fib_work_ipv4()
1543 fen_info->dst_len != 32) in mlx5e_init_fib_work_ipv4()
1550 key.endpoint_ip.v4 = htonl(fen_info->dst); in mlx5e_init_fib_work_ipv4()
1577 struct fib6_entry_notifier_info *fen_info; in mlx5e_init_fib_work_ipv6() local
1583 fen_info = container_of(info, struct fib6_entry_notifier_info, info); in mlx5e_init_fib_work_ipv6()
1584 fib_dev = fib6_info_nh_dev(fen_info->rt); in mlx5e_init_fib_work_ipv6()
1586 fen_info->rt->fib6_dst.plen != 128) in mlx5e_init_fib_work_ipv6()
1593 memcpy(&key.endpoint_ip.v6, &fen_info->rt->fib6_dst.addr, in mlx5e_init_fib_work_ipv6()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c5417 struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_offload_failed_flag_set() argument
5419 u32 *p_dst = (u32 *) &fen_info->dst; in mlxsw_sp_fib4_offload_failed_flag_set()
5422 fri.fi = fen_info->fi; in mlxsw_sp_fib4_offload_failed_flag_set()
5423 fri.tb_id = fen_info->tb_id; in mlxsw_sp_fib4_offload_failed_flag_set()
5425 fri.dst_len = fen_info->dst_len; in mlxsw_sp_fib4_offload_failed_flag_set()
5426 fri.tos = fen_info->tos; in mlxsw_sp_fib4_offload_failed_flag_set()
5427 fri.type = fen_info->type; in mlxsw_sp_fib4_offload_failed_flag_set()
5982 const struct fib_entry_notifier_info *fen_info, in mlxsw_sp_fib4_entry_type_set() argument
5986 union mlxsw_sp_l3addr dip = { .addr4 = htonl(fen_info->dst) }; in mlxsw_sp_fib4_entry_type_set()
5988 u32 tb_id = mlxsw_sp_fix_tb_id(fen_info->tb_id); in mlxsw_sp_fib4_entry_type_set()
[all …]