Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c83 void *trap_ctx) in mlxsw_sp_rx_drop_listener() argument
91 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_drop_listener()
102 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, NULL); in mlxsw_sp_rx_drop_listener()
107 void *trap_ctx) in mlxsw_sp_rx_acl_drop_listener() argument
117 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_acl_drop_listener()
130 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, fa_cookie); in mlxsw_sp_rx_acl_drop_listener()
136 void *trap_ctx) in __mlxsw_sp_rx_no_mark_listener() argument
144 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in __mlxsw_sp_rx_no_mark_listener()
155 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, NULL); in __mlxsw_sp_rx_no_mark_listener()
162 void *trap_ctx) in mlxsw_sp_rx_no_mark_listener() argument
[all …]
Dcore.h334 const struct devlink_trap *trap, void *trap_ctx);
336 const struct devlink_trap *trap, void *trap_ctx);
Dspectrum.h1229 const struct devlink_trap *trap, void *trap_ctx);
1231 const struct devlink_trap *trap, void *trap_ctx);
Dcore.c1460 void *trap_ctx) in mlxsw_devlink_trap_init() argument
1467 return mlxsw_driver->trap_init(mlxsw_core, trap, trap_ctx); in mlxsw_devlink_trap_init()
1472 void *trap_ctx) in mlxsw_devlink_trap_fini() argument
1479 mlxsw_driver->trap_fini(mlxsw_core, trap, trap_ctx); in mlxsw_devlink_trap_fini()
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-devlink.c118 void *trap_ctx) in dpaa2_eth_dl_trap_init() argument
128 dpaa2_eth_trap_item->trap_ctx = trap_ctx; in dpaa2_eth_dl_trap_init()
Ddpaa2-eth.h482 void *trap_ctx; member
Ddpaa2-eth.c554 devlink_trap_report(priv->devlink, skb, trap_item->trap_ctx, in dpaa2_eth_rx_err()
/Linux-v5.10/drivers/net/netdevsim/
Ddev.c405 void *trap_ctx; member
577 devlink_trap_report(devlink, skb, nsim_trap_item->trap_ctx, in nsim_dev_trap_report()
809 void *trap_ctx) in nsim_dev_devlink_trap_init() argument
818 nsim_trap_item->trap_ctx = trap_ctx; in nsim_dev_devlink_trap_init()
/Linux-v5.10/include/net/
Ddevlink.h1250 const struct devlink_trap *trap, void *trap_ctx);
1258 const struct devlink_trap *trap, void *trap_ctx);
1598 void *trap_ctx, struct devlink_port *in_devlink_port,
1600 void *devlink_trap_ctx_priv(void *trap_ctx);
/Linux-v5.10/net/core/
Ddevlink.c9865 void *trap_ctx, struct devlink_port *in_devlink_port, in devlink_trap_report() argument
9869 struct devlink_trap_item *trap_item = trap_ctx; in devlink_trap_report()
9890 void *devlink_trap_ctx_priv(void *trap_ctx) in devlink_trap_ctx_priv() argument
9892 struct devlink_trap_item *trap_item = trap_ctx; in devlink_trap_ctx_priv()