Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_devlink.c117 struct devlink_trap trap;
349 const struct devlink_trap *trap,
375 const struct devlink_trap *trap, void *trap_ctx);
378 const struct devlink_trap *trap,
566 const struct devlink_trap *trap, void *trap_ctx) in prestera_trap_init()
582 const struct devlink_trap *trap, in prestera_trap_action_set()
591 const struct devlink_trap *trap, in prestera_drop_counter_get()
608 const struct devlink_trap *trap; in prestera_devlink_traps_unregister()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-devlink.c14 static const struct devlink_trap dpaa2_eth_traps_arr[] = {
117 const struct devlink_trap *trap, in dpaa2_eth_dl_trap_init()
134 const struct devlink_trap *trap, in dpaa2_eth_dl_trap_action_set()
/linux-6.1.9/include/net/
Ddevlink.h782 struct devlink_trap { struct
1309 const struct devlink_trap *trap, void *trap_ctx);
1317 const struct devlink_trap *trap, void *trap_ctx);
1322 const struct devlink_trap *trap,
1361 const struct devlink_trap *trap,
1819 const struct devlink_trap *traps,
1822 const struct devlink_trap *traps,
1825 const struct devlink_trap *traps,
1828 const struct devlink_trap *traps,
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c225 static int mlx5_devlink_trap_init(struct devlink *devlink, const struct devlink_trap *trap, in mlx5_devlink_trap_init()
249 static void mlx5_devlink_trap_fini(struct devlink *devlink, const struct devlink_trap *trap, in mlx5_devlink_trap_fini()
265 const struct devlink_trap *trap, in mlx5_devlink_trap_action_set()
834 static const struct devlink_trap mlx5_traps_arr[] = {
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h394 const struct devlink_trap *trap, void *trap_ctx);
396 const struct devlink_trap *trap, void *trap_ctx);
398 const struct devlink_trap *trap,
Dspectrum_trap.c30 struct devlink_trap trap;
1544 const struct devlink_trap *trap, void *trap_ctx) in mlxsw_sp_trap_init()
1570 const struct devlink_trap *trap, void *trap_ctx) in mlxsw_sp_trap_fini()
1591 const struct devlink_trap *trap, in mlxsw_sp_trap_action_set()
Dspectrum.h1411 const struct devlink_trap *trap, void *trap_ctx);
1413 const struct devlink_trap *trap, void *trap_ctx);
1415 const struct devlink_trap *trap,
Dcore.c1537 const struct devlink_trap *trap, in mlxsw_devlink_trap_init()
1549 const struct devlink_trap *trap, in mlxsw_devlink_trap_fini()
1561 const struct devlink_trap *trap, in mlxsw_devlink_trap_action_set()
/linux-6.1.9/drivers/net/netdevsim/
Ddev.c722 static const struct devlink_trap nsim_traps_arr[] = {
1066 const struct devlink_trap *trap, in nsim_dev_devlink_trap_init()
1084 const struct devlink_trap *trap, in nsim_dev_devlink_trap_action_set()
1315 const struct devlink_trap *trap, in nsim_dev_devlink_trap_drop_counter_get()
/linux-6.1.9/net/core/
Ddevlink.c8205 const struct devlink_trap *trap;
8273 const struct devlink_trap *trap) in devlink_trap_metadata_put()
11539 static const struct devlink_trap devlink_trap_generic[] = {
11669 static int devlink_trap_generic_verify(const struct devlink_trap *trap) in devlink_trap_generic_verify()
11683 static int devlink_trap_driver_verify(const struct devlink_trap *trap) in devlink_trap_driver_verify()
11698 static int devlink_trap_verify(const struct devlink_trap *trap) in devlink_trap_verify()
11817 const struct devlink_trap *trap, void *priv) in devlink_trap_register()
11861 const struct devlink_trap *trap) in devlink_trap_unregister()
11878 const struct devlink_trap *trap) in devlink_trap_disable()
11901 const struct devlink_trap *traps, in devl_traps_register()
[all …]
/linux-6.1.9/Documentation/networking/devlink/
Ddevlink-trap.rst622 See ``tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh`` for a