Home
last modified time | relevance | path

Searched refs:devlink_trap (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera_devlink.c117 struct devlink_trap trap;
349 const struct devlink_trap *trap,
370 const struct devlink_trap *trap, void *trap_ctx);
373 const struct devlink_trap *trap,
544 const struct devlink_trap *trap, void *trap_ctx) in prestera_trap_init()
560 const struct devlink_trap *trap, in prestera_trap_action_set()
569 const struct devlink_trap *trap, in prestera_drop_counter_get()
586 const struct devlink_trap *trap; in prestera_devlink_traps_unregister()
/linux-6.12.1/net/devlink/
Dtrap.c64 const struct devlink_trap *trap;
132 const struct devlink_trap *trap) in devlink_trap_metadata_put()
957 static const struct devlink_trap devlink_trap_generic[] = {
1090 static int devlink_trap_generic_verify(const struct devlink_trap *trap) in devlink_trap_generic_verify()
1104 static int devlink_trap_driver_verify(const struct devlink_trap *trap) in devlink_trap_driver_verify()
1119 static int devlink_trap_verify(const struct devlink_trap *trap) in devlink_trap_verify()
1272 const struct devlink_trap *trap, void *priv) in devlink_trap_register()
1316 const struct devlink_trap *trap) in devlink_trap_unregister()
1333 const struct devlink_trap *trap) in devlink_trap_disable()
1356 const struct devlink_trap *traps, in devl_traps_register()
[all …]
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-devlink.c14 static const struct devlink_trap dpaa2_eth_traps_arr[] = {
108 const struct devlink_trap *trap, in dpaa2_eth_dl_trap_init()
125 const struct devlink_trap *trap, in dpaa2_eth_dl_trap_action_set()
/linux-6.12.1/tools/testing/selftests/drivers/net/netdevsim/
DMakefile5 devlink_trap.sh \
/linux-6.12.1/include/net/
Ddevlink.h824 struct devlink_trap { struct
1354 const struct devlink_trap *trap, void *trap_ctx);
1362 const struct devlink_trap *trap, void *trap_ctx);
1367 const struct devlink_trap *trap,
1406 const struct devlink_trap *trap,
1959 const struct devlink_trap *traps,
1962 const struct devlink_trap *traps,
1965 const struct devlink_trap *traps,
1968 const struct devlink_trap *traps,
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c234 static int mlx5_devlink_trap_init(struct devlink *devlink, const struct devlink_trap *trap, in mlx5_devlink_trap_init()
258 static void mlx5_devlink_trap_fini(struct devlink *devlink, const struct devlink_trap *trap, in mlx5_devlink_trap_fini()
274 const struct devlink_trap *trap, in mlx5_devlink_trap_action_set()
777 static const struct devlink_trap mlx5_traps_arr[] = {
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h404 const struct devlink_trap *trap, void *trap_ctx);
406 const struct devlink_trap *trap, void *trap_ctx);
408 const struct devlink_trap *trap,
Dspectrum_trap.c30 struct devlink_trap trap;
1569 const struct devlink_trap *trap, void *trap_ctx) in mlxsw_sp_trap_init()
1595 const struct devlink_trap *trap, void *trap_ctx) in mlxsw_sp_trap_fini()
1616 const struct devlink_trap *trap, in mlxsw_sp_trap_action_set()
Dspectrum.h1412 const struct devlink_trap *trap, void *trap_ctx);
1414 const struct devlink_trap *trap, void *trap_ctx);
1416 const struct devlink_trap *trap,
Dcore.c1620 const struct devlink_trap *trap, in mlxsw_devlink_trap_init()
1632 const struct devlink_trap *trap, in mlxsw_devlink_trap_fini()
1644 const struct devlink_trap *trap, in mlxsw_devlink_trap_action_set()
/linux-6.12.1/drivers/net/netdevsim/
Ddev.c719 static const struct devlink_trap nsim_traps_arr[] = {
1063 const struct devlink_trap *trap, in nsim_dev_devlink_trap_init()
1081 const struct devlink_trap *trap, in nsim_dev_devlink_trap_action_set()
1312 const struct devlink_trap *trap, in nsim_dev_devlink_trap_drop_counter_get()
/linux-6.12.1/Documentation/networking/devlink/
Ddevlink-trap.rst635 See ``tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh`` for a