devlink: Add layer 3 control packet traps
authorIdo Schimmel <idosch@mellanox.com>
Fri, 29 May 2020 18:36:42 +0000 (21:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:49:23 +0000 (11:49 -0700)
commitd77cfd162a346259222d0207a95bf1a0cc0c2520
tree262fac3a2697ce6d42a7a794e124928cce0cb1c9
parent515eac677fe119433c2a466443bef95c10c550cc
devlink: Add layer 3 control packet traps

Add layer 3 control packet traps such as ARP and DHCP, so that capable
device 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