Home
last modified time | relevance | path

Searched refs:fib_work (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.c203 struct mlx5_fib_event_work *fib_work = in mlx5_lag_fib_update() local
205 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update()
210 switch (fib_work->event) { in mlx5_lag_fib_update()
213 mlx5_lag_fib_route_event(ldev, fib_work->event, in mlx5_lag_fib_update()
214 fib_work->fen_info.fi); in mlx5_lag_fib_update()
215 fib_info_put(fib_work->fen_info.fi); in mlx5_lag_fib_update()
219 fib_nh = fib_work->fnh_info.fib_nh; in mlx5_lag_fib_update()
221 fib_work->event, in mlx5_lag_fib_update()
222 fib_work->fnh_info.fib_nh, in mlx5_lag_fib_update()
224 fib_info_put(fib_work->fnh_info.fib_nh->nh_parent); in mlx5_lag_fib_update()
[all …]
/drivers/net/ethernet/rocker/
Drocker_main.c2156 struct rocker_fib_event_work *fib_work = in rocker_router_fib_event_work() local
2158 struct rocker *rocker = fib_work->rocker; in rocker_router_fib_event_work()
2164 switch (fib_work->event) { in rocker_router_fib_event_work()
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()
2177 rule = fib_work->fr_info.rule; in rocker_router_fib_event_work()
2184 kfree(fib_work); in rocker_router_fib_event_work()
2192 struct rocker_fib_event_work *fib_work; in rocker_router_fib_event() local
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c5976 struct mlxsw_sp_fib_event_work *fib_work = in mlxsw_sp_router_fib4_event_work() local
5978 struct mlxsw_sp *mlxsw_sp = fib_work->mlxsw_sp; in mlxsw_sp_router_fib4_event_work()
5984 switch (fib_work->event) { in mlxsw_sp_router_fib4_event_work()
5987 &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work()
5990 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work()
5993 mlxsw_sp_router_fib4_del(mlxsw_sp, &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work()
5994 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work()
5998 mlxsw_sp_nexthop4_event(mlxsw_sp, fib_work->event, in mlxsw_sp_router_fib4_event_work()
5999 fib_work->fnh_info.fib_nh); in mlxsw_sp_router_fib4_event_work()
6000 fib_info_put(fib_work->fnh_info.fib_nh->nh_parent); in mlxsw_sp_router_fib4_event_work()
[all …]