devlink: Add ACL control packet traps
authorIdo Schimmel <idosch@mellanox.com>
Fri, 29 May 2020 18:36:43 +0000 (21:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:49:23 +0000 (11:49 -0700)
commit5eb18a2b6c11bf165271644ef1ab812b10659c8f
tree04b4d4c4c9b15d1cdeeabc247547e96744e6bba3
parentd77cfd162a346259222d0207a95bf1a0cc0c2520
devlink: Add ACL control packet traps

Add packet traps for packets that are sampled / trapped by ACLs, so that
capable drivers could register them with devlink. Add documentation for
every added packet trap and packet trap group.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/devlink/devlink-trap.rst
include/net/devlink.h
net/core/devlink.c