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

Add layer 2 control packet traps such as STP and IGMP query, 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