diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-08-17 16:28:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-17 12:40:09 -0700 |
commit | 9e087457048884c57c51a32b52d8aa1d9b0d7385 (patch) | |
tree | 05c12d161dd31549585d1bdc732cc9c9caf2a051 /drivers/net/netdevsim | |
parent | da58f90f11f597520f226caff1d3cfc115abedc9 (diff) | |
download | blackbird-op-linux-9e087457048884c57c51a32b52d8aa1d9b0d7385.tar.gz blackbird-op-linux-9e087457048884c57c51a32b52d8aa1d9b0d7385.zip |
Documentation: Add description of netdevsim traps
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim')
-rw-r--r-- | drivers/net/netdevsim/dev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c index d07bbf0ab627..c217049552f7 100644 --- a/drivers/net/netdevsim/dev.c +++ b/drivers/net/netdevsim/dev.c @@ -323,6 +323,9 @@ struct nsim_trap_data { spinlock_t trap_lock; /* Protects trap_items_arr */ }; +/* All driver-specific traps must be documented in + * Documentation/networking/devlink-trap-netdevsim.rst + */ enum { NSIM_TRAP_ID_BASE = DEVLINK_TRAP_GENERIC_ID_MAX, NSIM_TRAP_ID_FID_MISS, |