/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | trap.c | 10 struct mlx5e_trap *trap_ctx = container_of(napi, struct mlx5e_trap, napi); in mlx5e_trap_napi_poll() local 11 struct mlx5e_ch_stats *ch_stats = trap_ctx->stats; in mlx5e_trap_napi_poll() 12 struct mlx5e_rq *rq = &trap_ctx->rq; in mlx5e_trap_napi_poll() 273 int mlx5e_handle_trap_event(struct mlx5e_priv *priv, struct mlx5_trap_ctx *trap_ctx) in mlx5e_handle_trap_event() argument 285 switch (trap_ctx->action) { in mlx5e_handle_trap_event() 287 err = mlx5e_handle_action_trap(priv, trap_ctx->id); in mlx5e_handle_trap_event() 290 err = mlx5e_handle_action_drop(priv, trap_ctx->id); in mlx5e_handle_trap_event() 294 trap_ctx->action); in mlx5e_handle_trap_event()
|
D | trap.h | 34 int mlx5e_handle_trap_event(struct mlx5e_priv *priv, struct mlx5_trap_ctx *trap_ctx);
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_trap.c | 89 void *trap_ctx) in mlxsw_sp_rx_drop_listener() argument 97 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_drop_listener() 108 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, NULL); in mlxsw_sp_rx_drop_listener() 113 void *trap_ctx) in mlxsw_sp_rx_acl_drop_listener() argument 123 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_acl_drop_listener() 136 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, fa_cookie); in mlxsw_sp_rx_acl_drop_listener() 142 void *trap_ctx) in __mlxsw_sp_rx_no_mark_listener() argument 150 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in __mlxsw_sp_rx_no_mark_listener() 161 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, NULL); in __mlxsw_sp_rx_no_mark_listener() 168 void *trap_ctx) in mlxsw_sp_rx_no_mark_listener() argument [all …]
|
D | core.h | 393 const struct devlink_trap *trap, void *trap_ctx); 395 const struct devlink_trap *trap, void *trap_ctx);
|
D | spectrum.h | 1410 const struct devlink_trap *trap, void *trap_ctx); 1412 const struct devlink_trap *trap, void *trap_ctx);
|
D | core.c | 1607 void *trap_ctx) in mlxsw_devlink_trap_init() argument 1614 return mlxsw_driver->trap_init(mlxsw_core, trap, trap_ctx); in mlxsw_devlink_trap_init() 1619 void *trap_ctx) in mlxsw_devlink_trap_fini() argument 1626 mlxsw_driver->trap_fini(mlxsw_core, trap, trap_ctx); in mlxsw_devlink_trap_fini()
|
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_devlink.c | 123 void *trap_ctx; member 370 const struct devlink_trap *trap, void *trap_ctx); 525 devlink_trap_report(devlink, skb, trap_item->trap_ctx, in prestera_devlink_trap_report() 544 const struct devlink_trap *trap, void *trap_ctx) in prestera_trap_init() argument 553 trap_item->trap_ctx = trap_ctx; in prestera_trap_init()
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth-devlink.c | 109 void *trap_ctx) in dpaa2_eth_dl_trap_init() argument 119 dpaa2_eth_trap_item->trap_ctx = trap_ctx; in dpaa2_eth_dl_trap_init()
|
D | dpaa2-eth.h | 531 void *trap_ctx; member
|
D | dpaa2-eth.c | 694 devlink_trap_report(priv->devlink, skb, trap_item->trap_ctx, in dpaa2_eth_rx_err()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | devlink.c | 240 void *trap_ctx) in mlx5_devlink_trap_init() argument 251 dl_trap->item = trap_ctx; in mlx5_devlink_trap_init() 264 void *trap_ctx) in mlx5_devlink_trap_fini() argument
|
/linux-6.6.21/drivers/net/netdevsim/ |
D | dev.c | 645 void *trap_ctx; member 818 devlink_trap_report(devlink, skb, nsim_trap_item->trap_ctx, in nsim_dev_trap_report() 1061 void *trap_ctx) in nsim_dev_devlink_trap_init() argument 1070 nsim_trap_item->trap_ctx = trap_ctx; in nsim_dev_devlink_trap_init()
|
/linux-6.6.21/include/net/ |
D | devlink.h | 1350 const struct devlink_trap *trap, void *trap_ctx); 1358 const struct devlink_trap *trap, void *trap_ctx); 1949 void *trap_ctx, struct devlink_port *in_devlink_port, 1951 void *devlink_trap_ctx_priv(void *trap_ctx);
|
/linux-6.6.21/net/devlink/ |
D | trap.c | 1493 void *trap_ctx, struct devlink_port *in_devlink_port, in devlink_trap_report() argument 1497 struct devlink_trap_item *trap_item = trap_ctx; in devlink_trap_report() 1518 void *devlink_trap_ctx_priv(void *trap_ctx) in devlink_trap_ctx_priv() argument 1520 struct devlink_trap_item *trap_item = trap_ctx; in devlink_trap_ctx_priv()
|