Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c284 struct mlx5_devlink_trap_event_ctx trap_event_ctx; in mlx5_devlink_trap_action_set() local
308 trap_event_ctx.trap = &dl_trap->trap; in mlx5_devlink_trap_action_set()
309 trap_event_ctx.err = 0; in mlx5_devlink_trap_action_set()
311 &trap_event_ctx); in mlx5_devlink_trap_action_set()
315 return trap_event_ctx.err; in mlx5_devlink_trap_action_set()
Den_main.c184 struct mlx5_devlink_trap_event_ctx *trap_event_ctx = data; in blocking_event() local
189 err = mlx5e_handle_trap_event(priv, trap_event_ctx->trap); in blocking_event()
191 trap_event_ctx->err = err; in blocking_event()