Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddevlink.c290 struct mlx5_devlink_trap_event_ctx trap_event_ctx; in mlx5_devlink_trap_action_set() local
314 trap_event_ctx.trap = &dl_trap->trap; in mlx5_devlink_trap_action_set()
315 trap_event_ctx.err = 0; in mlx5_devlink_trap_action_set()
317 &trap_event_ctx); in mlx5_devlink_trap_action_set()
321 return trap_event_ctx.err; in mlx5_devlink_trap_action_set()
H A 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()