Searched refs:fen_info (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | lag_mp.c | 104 struct fib_entry_notifier_info fen_info; member 204 fib_work->fen_info.fi); in mlx5_lag_fib_update() 205 fib_info_put(fib_work->fen_info.fi); in mlx5_lag_fib_update() 246 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() 272 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5_lag_fib_event() 280 fib_work->fen_info = *fen_info; in mlx5_lag_fib_event() 284 fib_info_hold(fib_work->fen_info.fi); in mlx5_lag_fib_event()
|
/Linux-v5.4/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 | 1741 const struct fib_entry_notifier_info *fen_info) in rocker_world_fib4_add() argument 1747 return wops->fib4_add(rocker, fen_info); in rocker_world_fib4_add() 1751 const struct fib_entry_notifier_info *fen_info) in rocker_world_fib4_del() argument 1757 return wops->fib4_del(rocker, fen_info); in rocker_world_fib4_del() 2144 struct fib_entry_notifier_info fen_info; member 2163 err = rocker_world_fib4_add(rocker, &fib_work->fen_info); in rocker_router_fib_event_work() 2166 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work() 2169 rocker_world_fib4_del(rocker, &fib_work->fen_info); in rocker_router_fib_event_work() 2170 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()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 4335 const struct fib_entry_notifier_info *fen_info, in mlxsw_sp_fib4_entry_type_set() argument 4338 struct net_device *dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlxsw_sp_fib4_entry_type_set() 4339 union mlxsw_sp_l3addr dip = { .addr4 = htonl(fen_info->dst) }; in mlxsw_sp_fib4_entry_type_set() 4340 u32 tb_id = mlxsw_sp_fix_tb_id(fen_info->tb_id); in mlxsw_sp_fib4_entry_type_set() 4342 struct fib_info *fi = fen_info->fi; in mlxsw_sp_fib4_entry_type_set() 4344 switch (fen_info->type) { in mlxsw_sp_fib4_entry_type_set() 4392 const struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_entry_create() argument 4403 err = mlxsw_sp_fib4_entry_type_set(mlxsw_sp, fen_info, fib_entry); in mlxsw_sp_fib4_entry_create() 4407 err = mlxsw_sp_nexthop4_group_get(mlxsw_sp, fib_entry, fen_info->fi); in mlxsw_sp_fib4_entry_create() 4411 fib4_entry->prio = fen_info->fi->fib_priority; in mlxsw_sp_fib4_entry_create() [all …]
|