Searched refs:fen_info (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | fib.c | 230 struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_create() argument 238 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create() 239 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create() 241 fib4_rt->fi = fen_info->fi; in nsim_fib4_rt_create() 243 fib4_rt->tos = fen_info->tos; in nsim_fib4_rt_create() 244 fib4_rt->type = fen_info->type; in nsim_fib4_rt_create() 258 const struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_lookup() argument 262 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_lookup() 263 fen_info->dst_len, AF_INET, in nsim_fib4_rt_lookup() 264 fen_info->tb_id); in nsim_fib4_rt_lookup() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | lag_mp.c | 105 struct fib_entry_notifier_info fen_info; member 209 fib_work->fen_info.fi); in mlx5_lag_fib_update() 210 fib_info_put(fib_work->fen_info.fi); in mlx5_lag_fib_update() 251 struct fib_entry_notifier_info *fen_info; in mlx5_lag_fib_event() local 265 fen_info = container_of(info, struct fib_entry_notifier_info, in mlx5_lag_fib_event() 267 fi = fen_info->fi; in mlx5_lag_fib_event() 270 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5_lag_fib_event() 278 fib_work->fen_info = *fen_info; in mlx5_lag_fib_event() 282 fib_info_hold(fib_work->fen_info.fi); in mlx5_lag_fib_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/ |
D | rocker.h | 135 const struct fib_entry_notifier_info *fen_info); 137 const struct fib_entry_notifier_info *fen_info);
|
D | rocker_main.c | 1744 const struct fib_entry_notifier_info *fen_info) in rocker_world_fib4_add() argument 1750 return wops->fib4_add(rocker, fen_info); in rocker_world_fib4_add() 1754 const struct fib_entry_notifier_info *fen_info) in rocker_world_fib4_del() argument 1760 return wops->fib4_del(rocker, fen_info); in rocker_world_fib4_del() 2147 struct fib_entry_notifier_info fen_info; member 2166 err = rocker_world_fib4_add(rocker, &fib_work->fen_info); in rocker_router_fib_event_work() 2169 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work() 2172 rocker_world_fib4_del(rocker, &fib_work->fen_info); in rocker_router_fib_event_work() 2173 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work() 2210 struct fib_entry_notifier_info *fen_info = ptr; in rocker_router_fib_event() local [all …]
|
D | rocker_ofdpa.c | 2733 const struct fib_entry_notifier_info *fen_info) in ofdpa_fib4_add() argument 2742 nh = fib_info_nh(fen_info->fi, 0); in ofdpa_fib4_add() 2746 err = ofdpa_port_fib_ipv4(ofdpa_port, htonl(fen_info->dst), in ofdpa_fib4_add() 2747 fen_info->dst_len, fen_info->fi, in ofdpa_fib4_add() 2748 fen_info->tb_id, 0); in ofdpa_fib4_add() 2756 const struct fib_entry_notifier_info *fen_info) in ofdpa_fib4_del() argument 2764 nh = fib_info_nh(fen_info->fi, 0); in ofdpa_fib4_del() 2769 return ofdpa_port_fib_ipv4(ofdpa_port, htonl(fen_info->dst), in ofdpa_fib4_del() 2770 fen_info->dst_len, fen_info->fi, in ofdpa_fib4_del() 2771 fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); in ofdpa_fib4_del()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 4531 const struct fib_entry_notifier_info *fen_info, in mlxsw_sp_fib4_entry_type_set() argument 4534 struct net_device *dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlxsw_sp_fib4_entry_type_set() 4535 union mlxsw_sp_l3addr dip = { .addr4 = htonl(fen_info->dst) }; in mlxsw_sp_fib4_entry_type_set() 4537 u32 tb_id = mlxsw_sp_fix_tb_id(fen_info->tb_id); in mlxsw_sp_fib4_entry_type_set() 4539 struct fib_info *fi = fen_info->fi; in mlxsw_sp_fib4_entry_type_set() 4541 switch (fen_info->type) { in mlxsw_sp_fib4_entry_type_set() 4603 const struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_entry_create() argument 4614 err = mlxsw_sp_fib4_entry_type_set(mlxsw_sp, fen_info, fib_entry); in mlxsw_sp_fib4_entry_create() 4618 err = mlxsw_sp_nexthop4_group_get(mlxsw_sp, fib_entry, fen_info->fi); in mlxsw_sp_fib4_entry_create() 4622 fib4_entry->prio = fen_info->fi->fib_priority; in mlxsw_sp_fib4_entry_create() [all …]
|