Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/net/devlink/
Dtrap.c64 const struct devlink_trap *trap;
132 const struct devlink_trap *trap) in devlink_trap_metadata_put()
958 static const struct devlink_trap devlink_trap_generic[] = {
1091 static int devlink_trap_generic_verify(const struct devlink_trap *trap) in devlink_trap_generic_verify()
1105 static int devlink_trap_driver_verify(const struct devlink_trap *trap) in devlink_trap_driver_verify()
1120 static int devlink_trap_verify(const struct devlink_trap *trap) in devlink_trap_verify()
1273 const struct devlink_trap *trap, void *priv) in devlink_trap_register()
1317 const struct devlink_trap *trap) in devlink_trap_unregister()
1334 const struct devlink_trap *trap) in devlink_trap_disable()
1357 const struct devlink_trap *traps, in devl_traps_register()
[all …]
/linux-6.6.21/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.6.21/include/net/
Ddevlink.h820 struct devlink_trap { struct
1350 const struct devlink_trap *trap, void *trap_ctx);
1358 const struct devlink_trap *trap, void *trap_ctx);
1363 const struct devlink_trap *trap,
1402 const struct devlink_trap *trap,
1937 const struct devlink_trap *traps,
1940 const struct devlink_trap *traps,
1943 const struct devlink_trap *traps,
1946 const struct devlink_trap *traps,
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c239 static int mlx5_devlink_trap_init(struct devlink *devlink, const struct devlink_trap *trap, in mlx5_devlink_trap_init()
263 static void mlx5_devlink_trap_fini(struct devlink *devlink, const struct devlink_trap *trap, in mlx5_devlink_trap_fini()
279 const struct devlink_trap *trap, in mlx5_devlink_trap_action_set()
782 static const struct devlink_trap mlx5_traps_arr[] = {
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h393 const struct devlink_trap *trap, void *trap_ctx);
395 const struct devlink_trap *trap, void *trap_ctx);
397 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.h1410 const struct devlink_trap *trap, void *trap_ctx);
1412 const struct devlink_trap *trap, void *trap_ctx);
1414 const struct devlink_trap *trap,
Dcore.c1606 const struct devlink_trap *trap, in mlxsw_devlink_trap_init()
1618 const struct devlink_trap *trap, in mlxsw_devlink_trap_fini()
1630 const struct devlink_trap *trap, in mlxsw_devlink_trap_action_set()
/linux-6.6.21/drivers/net/netdevsim/
Ddev.c719 static const struct devlink_trap nsim_traps_arr[] = {
1060 const struct devlink_trap *trap, in nsim_dev_devlink_trap_init()
1078 const struct devlink_trap *trap, in nsim_dev_devlink_trap_action_set()
1309 const struct devlink_trap *trap, in nsim_dev_devlink_trap_drop_counter_get()
/linux-6.6.21/Documentation/networking/devlink/
Ddevlink-trap.rst635 See ``tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh`` for a