fib_work 191 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct mlx5_fib_event_work *fib_work = fib_work 193 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct mlx5_lag *ldev = fib_work->ldev; fib_work 198 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c switch (fib_work->event) { fib_work 203 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c mlx5_lag_fib_route_event(ldev, fib_work->event, fib_work 204 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work->fen_info.fi); fib_work 205 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_info_put(fib_work->fen_info.fi); fib_work 209 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_nh = fib_work->fnh_info.fib_nh; fib_work 211 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work->event, fib_work 212 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work->fnh_info.fib_nh, fib_work 214 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_info_put(fib_work->fnh_info.fib_nh->nh_parent); fib_work 219 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c kfree(fib_work); fib_work 225 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct mlx5_fib_event_work *fib_work; fib_work 227 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work = kzalloc(sizeof(*fib_work), GFP_ATOMIC); fib_work 228 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c if (WARN_ON(!fib_work)) fib_work 231 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c INIT_WORK(&fib_work->work, mlx5_lag_fib_update); fib_work 232 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work->ldev = ldev; fib_work 233 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work->event = event; fib_work 235 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c return fib_work; fib_work 245 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct mlx5_fib_event_work *fib_work; fib_work 277 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work = mlx5_lag_init_fib_work(ldev, event); fib_work 278 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c if (!fib_work) fib_work 280 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work->fen_info = *fen_info; fib_work 284 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_info_hold(fib_work->fen_info.fi); fib_work 290 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work = mlx5_lag_init_fib_work(ldev, event); fib_work 291 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c if (!fib_work) fib_work 293 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_work->fnh_info = *fnh_info; fib_work 294 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c fib_info_hold(fib_work->fnh_info.fib_nh->nh_parent); fib_work 300 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c queue_work(ldev->wq, &fib_work->work); fib_work 5984 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_event_work *fib_work = fib_work 5986 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp *mlxsw_sp = fib_work->mlxsw_sp; fib_work 5994 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_work->event) { fib_work 5998 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c replace = fib_work->event == FIB_EVENT_ENTRY_REPLACE; fib_work 5999 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c append = fib_work->event == FIB_EVENT_ENTRY_APPEND; fib_work 6000 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_router_fib4_add(mlxsw_sp, &fib_work->fen_info, fib_work 6004 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_put(fib_work->fen_info.fi); fib_work 6007 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fib4_del(mlxsw_sp, &fib_work->fen_info); fib_work 6008 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_put(fib_work->fen_info.fi); fib_work 6018 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_nexthop4_event(mlxsw_sp, fib_work->event, fib_work 6019 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->fnh_info.fib_nh); fib_work 6020 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_put(fib_work->fnh_info.fib_nh->nh_parent); fib_work 6024 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c kfree(fib_work); fib_work 6029 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_event_work *fib_work = fib_work 6031 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp *mlxsw_sp = fib_work->mlxsw_sp; fib_work 6038 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_work->event) { fib_work 6041 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c replace = fib_work->event == FIB_EVENT_ENTRY_REPLACE; fib_work 6043 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->fib6_work.rt_arr, fib_work 6044 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->fib6_work.nrt6, fib_work 6048 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fib6_work_fini(&fib_work->fib6_work); fib_work 6052 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->fib6_work.rt_arr, fib_work 6053 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->fib6_work.nrt6); fib_work 6054 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fib6_work_fini(&fib_work->fib6_work); fib_work 6064 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c kfree(fib_work); fib_work 6069 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_event_work *fib_work = fib_work 6071 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp *mlxsw_sp = fib_work->mlxsw_sp; fib_work 6076 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_work->event) { fib_work 6079 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c replace = fib_work->event == FIB_EVENT_ENTRY_REPLACE; fib_work 6081 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_router_fibmr_add(mlxsw_sp, &fib_work->men_info, fib_work 6085 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mr_cache_put(fib_work->men_info.mfc); fib_work 6088 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fibmr_del(mlxsw_sp, &fib_work->men_info); fib_work 6089 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mr_cache_put(fib_work->men_info.mfc); fib_work 6093 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c &fib_work->ven_info); fib_work 6096 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c dev_put(fib_work->ven_info.dev); fib_work 6100 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c &fib_work->ven_info); fib_work 6101 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c dev_put(fib_work->ven_info.dev); fib_work 6111 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c kfree(fib_work); fib_work 6114 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_router_fib4_event(struct mlxsw_sp_fib_event_work *fib_work, fib_work 6120 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_work->event) { fib_work 6127 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->fen_info = *fen_info; fib_work 6131 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_hold(fib_work->fen_info.fi); fib_work 6137 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->fnh_info = *fnh_info; fib_work 6138 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_info_hold(fib_work->fnh_info.fib_nh->nh_parent); fib_work 6143 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static int mlxsw_sp_router_fib6_event(struct mlxsw_sp_fib_event_work *fib_work, fib_work 6149 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_work->event) { fib_work 6155 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_router_fib6_work_init(&fib_work->fib6_work, fib_work 6166 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fibmr_event(struct mlxsw_sp_fib_event_work *fib_work, fib_work 6169 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_work->event) { fib_work 6173 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c memcpy(&fib_work->men_info, info, sizeof(fib_work->men_info)); fib_work 6174 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mr_cache_hold(fib_work->men_info.mfc); fib_work 6178 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c memcpy(&fib_work->ven_info, info, sizeof(fib_work->ven_info)); fib_work 6179 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c dev_hold(fib_work->ven_info.dev); fib_work 6236 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_event_work *fib_work; fib_work 6289 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work = kzalloc(sizeof(*fib_work), GFP_ATOMIC); fib_work 6290 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (WARN_ON(!fib_work)) fib_work 6293 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->mlxsw_sp = router->mlxsw_sp; fib_work 6294 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_work->event = event; fib_work 6298 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c INIT_WORK(&fib_work->work, mlxsw_sp_router_fib4_event_work); fib_work 6299 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fib4_event(fib_work, info); fib_work 6302 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c INIT_WORK(&fib_work->work, mlxsw_sp_router_fib6_event_work); fib_work 6303 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_router_fib6_event(fib_work, info); fib_work 6309 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c INIT_WORK(&fib_work->work, mlxsw_sp_router_fibmr_event_work); fib_work 6310 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fibmr_event(fib_work, info); fib_work 6314 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_core_schedule_work(&fib_work->work); fib_work 6319 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c kfree(fib_work); fib_work 2153 drivers/net/ethernet/rocker/rocker_main.c struct rocker_fib_event_work *fib_work = fib_work 2155 drivers/net/ethernet/rocker/rocker_main.c struct rocker *rocker = fib_work->rocker; fib_work 2161 drivers/net/ethernet/rocker/rocker_main.c switch (fib_work->event) { fib_work 2163 drivers/net/ethernet/rocker/rocker_main.c err = rocker_world_fib4_add(rocker, &fib_work->fen_info); fib_work 2166 drivers/net/ethernet/rocker/rocker_main.c fib_info_put(fib_work->fen_info.fi); fib_work 2169 drivers/net/ethernet/rocker/rocker_main.c rocker_world_fib4_del(rocker, &fib_work->fen_info); fib_work 2170 drivers/net/ethernet/rocker/rocker_main.c fib_info_put(fib_work->fen_info.fi); fib_work 2174 drivers/net/ethernet/rocker/rocker_main.c rule = fib_work->fr_info.rule; fib_work 2181 drivers/net/ethernet/rocker/rocker_main.c kfree(fib_work); fib_work 2189 drivers/net/ethernet/rocker/rocker_main.c struct rocker_fib_event_work *fib_work; fib_work 2198 drivers/net/ethernet/rocker/rocker_main.c fib_work = kzalloc(sizeof(*fib_work), GFP_ATOMIC); fib_work 2199 drivers/net/ethernet/rocker/rocker_main.c if (WARN_ON(!fib_work)) fib_work 2202 drivers/net/ethernet/rocker/rocker_main.c INIT_WORK(&fib_work->work, rocker_router_fib_event_work); fib_work 2203 drivers/net/ethernet/rocker/rocker_main.c fib_work->rocker = rocker; fib_work 2204 drivers/net/ethernet/rocker/rocker_main.c fib_work->event = event; fib_work 2214 drivers/net/ethernet/rocker/rocker_main.c kfree(fib_work); fib_work 2219 drivers/net/ethernet/rocker/rocker_main.c kfree(fib_work); fib_work 2224 drivers/net/ethernet/rocker/rocker_main.c memcpy(&fib_work->fen_info, ptr, sizeof(fib_work->fen_info)); fib_work 2228 drivers/net/ethernet/rocker/rocker_main.c fib_info_hold(fib_work->fen_info.fi); fib_work 2232 drivers/net/ethernet/rocker/rocker_main.c memcpy(&fib_work->fr_info, ptr, sizeof(fib_work->fr_info)); fib_work 2233 drivers/net/ethernet/rocker/rocker_main.c fib_rule_get(fib_work->fr_info.rule); fib_work 2237 drivers/net/ethernet/rocker/rocker_main.c queue_work(rocker->rocker_owq, &fib_work->work);