Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c3424 struct mlx5_host_work *host_work; in esw_functions_changed_event_handler() local
3428 host_work = container_of(work, struct mlx5_host_work, work); in esw_functions_changed_event_handler()
3429 esw = host_work->esw; in esw_functions_changed_event_handler()
3438 kfree(host_work); in esw_functions_changed_event_handler()
3444 struct mlx5_host_work *host_work; in mlx5_esw_funcs_changed_handler() local
3447 host_work = kzalloc(sizeof(*host_work), GFP_ATOMIC); in mlx5_esw_funcs_changed_handler()
3448 if (!host_work) in mlx5_esw_funcs_changed_handler()
3454 host_work->esw = esw; in mlx5_esw_funcs_changed_handler()
3456 INIT_WORK(&host_work->work, esw_functions_changed_event_handler); in mlx5_esw_funcs_changed_handler()
3457 queue_work(esw->work_queue, &host_work->work); in mlx5_esw_funcs_changed_handler()