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>
This commit is contained in:

committed by
David S. Miller

parent
da58f90f11
commit
9e08745704
@@ -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,
|
||||
|
Reference in New Issue
Block a user