Searched refs:fib_work (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
D | mp.c | 216 struct mlx5_fib_event_work *fib_work = in mlx5_lag_fib_update() local 218 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update() 223 switch (fib_work->event) { in mlx5_lag_fib_update() 226 mlx5_lag_fib_route_event(ldev, fib_work->event, in mlx5_lag_fib_update() 227 &fib_work->fen_info); in mlx5_lag_fib_update() 228 fib_info_put(fib_work->fen_info.fi); in mlx5_lag_fib_update() 232 fib_nh = fib_work->fnh_info.fib_nh; in mlx5_lag_fib_update() 234 fib_work->event, in mlx5_lag_fib_update() 235 fib_work->fnh_info.fib_nh, in mlx5_lag_fib_update() 237 fib_info_put(fib_work->fnh_info.fib_nh->nh_parent); in mlx5_lag_fib_update() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_encap.c | 1130 struct mlx5e_tc_fib_event_data *fib_work; in mlx5e_tc_init_fib_work() local 1132 fib_work = kzalloc(sizeof(*fib_work), flags); in mlx5e_tc_init_fib_work() 1133 if (WARN_ON(!fib_work)) in mlx5e_tc_init_fib_work() 1136 INIT_WORK(&fib_work->work, mlx5e_tc_fib_event_work); in mlx5e_tc_init_fib_work() 1137 fib_work->event = event; in mlx5e_tc_init_fib_work() 1138 fib_work->ul_dev = ul_dev; in mlx5e_tc_init_fib_work() 1140 return fib_work; in mlx5e_tc_init_fib_work() 1149 struct mlx5e_tc_fib_event_data *fib_work; in mlx5e_route_enqueue_update() local 1156 fib_work = mlx5e_tc_init_fib_work(event, ul_dev, GFP_KERNEL); in mlx5e_route_enqueue_update() 1157 if (!fib_work) in mlx5e_route_enqueue_update() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_router.c | 1393 struct prestera_fib_event_work *fib_work = in __prestera_router_fib_event_work() local 1395 struct prestera_switch *sw = fib_work->sw; in __prestera_router_fib_event_work() 1400 switch (fib_work->event) { in __prestera_router_fib_event_work() 1403 &fib_work->fen_info.info); in __prestera_router_fib_event_work() 1410 &fib_work->fen_info.info); in __prestera_router_fib_event_work() 1421 &fib_work->fen_info.dst, in __prestera_router_fib_event_work() 1422 fib_work->fen_info.dst_len); in __prestera_router_fib_event_work() 1424 fib_info_put(fib_work->fen_info.fi); in __prestera_router_fib_event_work() 1426 kfree(fib_work); in __prestera_router_fib_event_work() 1433 struct prestera_fib_event_work *fib_work; in __prestera_router_fib_event() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 2118 struct rocker_fib_event_work *fib_work = in rocker_router_fib_event_work() local 2120 struct rocker *rocker = fib_work->rocker; in rocker_router_fib_event_work() 2126 switch (fib_work->event) { in rocker_router_fib_event_work() 2128 err = rocker_world_fib4_add(rocker, &fib_work->fen_info); in rocker_router_fib_event_work() 2131 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work() 2134 rocker_world_fib4_del(rocker, &fib_work->fen_info); in rocker_router_fib_event_work() 2135 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work() 2139 rule = fib_work->fr_info.rule; in rocker_router_fib_event_work() 2146 kfree(fib_work); in rocker_router_fib_event_work() 2154 struct rocker_fib_event_work *fib_work; in rocker_router_fib_event() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 7387 struct mlxsw_sp_fib_event_work *fib_work = in mlxsw_sp_router_fib4_event_work() local 7389 struct mlxsw_sp *mlxsw_sp = fib_work->mlxsw_sp; in mlxsw_sp_router_fib4_event_work() 7395 switch (fib_work->event) { in mlxsw_sp_router_fib4_event_work() 7398 &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work() 7402 &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work() 7404 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work() 7407 mlxsw_sp_router_fib4_del(mlxsw_sp, &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work() 7408 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work() 7412 mlxsw_sp_nexthop4_event(mlxsw_sp, fib_work->event, in mlxsw_sp_router_fib4_event_work() 7413 fib_work->fnh_info.fib_nh); in mlxsw_sp_router_fib4_event_work() [all …]
|