Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c279 struct mlx5_devlink_trap_event_ctx trap_event_ctx; in mlx5_devlink_trap_action_set() local
303 trap_event_ctx.trap = &dl_trap->trap; in mlx5_devlink_trap_action_set()
304 trap_event_ctx.err = 0; in mlx5_devlink_trap_action_set()
306 &trap_event_ctx); in mlx5_devlink_trap_action_set()
310 return trap_event_ctx.err; in mlx5_devlink_trap_action_set()
Den_main.c265 struct mlx5_devlink_trap_event_ctx *trap_event_ctx = data; in blocking_event() local
270 err = mlx5e_handle_trap_event(priv, trap_event_ctx->trap); in blocking_event()
272 trap_event_ctx->err = err; in blocking_event()