Searched refs:fib_work (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | lag_mp.c | 191 struct mlx5_fib_event_work *fib_work = in mlx5_lag_fib_update() local 193 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update() 198 switch (fib_work->event) { in mlx5_lag_fib_update() 203 mlx5_lag_fib_route_event(ldev, fib_work->event, in mlx5_lag_fib_update() 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() 209 fib_nh = fib_work->fnh_info.fib_nh; in mlx5_lag_fib_update() 211 fib_work->event, in mlx5_lag_fib_update() 212 fib_work->fnh_info.fib_nh, in mlx5_lag_fib_update() 214 fib_info_put(fib_work->fnh_info.fib_nh->nh_parent); in mlx5_lag_fib_update() [all …]
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 5979 struct mlxsw_sp_fib_event_work *fib_work = in mlxsw_sp_router_fib4_event_work() local 5981 struct mlxsw_sp *mlxsw_sp = fib_work->mlxsw_sp; in mlxsw_sp_router_fib4_event_work() 5989 switch (fib_work->event) { in mlxsw_sp_router_fib4_event_work() 5993 replace = fib_work->event == FIB_EVENT_ENTRY_REPLACE; in mlxsw_sp_router_fib4_event_work() 5994 append = fib_work->event == FIB_EVENT_ENTRY_APPEND; in mlxsw_sp_router_fib4_event_work() 5995 err = mlxsw_sp_router_fib4_add(mlxsw_sp, &fib_work->fen_info, in mlxsw_sp_router_fib4_event_work() 5999 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work() 6002 mlxsw_sp_router_fib4_del(mlxsw_sp, &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work() 6003 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work() 6013 mlxsw_sp_nexthop4_event(mlxsw_sp, fib_work->event, in mlxsw_sp_router_fib4_event_work() [all …]
|
/Linux-v5.4/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 2153 struct rocker_fib_event_work *fib_work = in rocker_router_fib_event_work() local 2155 struct rocker *rocker = fib_work->rocker; in rocker_router_fib_event_work() 2161 switch (fib_work->event) { in rocker_router_fib_event_work() 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() 2174 rule = fib_work->fr_info.rule; in rocker_router_fib_event_work() 2181 kfree(fib_work); in rocker_router_fib_event_work() 2189 struct rocker_fib_event_work *fib_work; in rocker_router_fib_event() local [all …]
|