devlink: Add generic packet traps and groups
authorIdo Schimmel <idosch@mellanox.com>
Sat, 17 Aug 2019 13:28:18 +0000 (16:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Aug 2019 19:40:08 +0000 (12:40 -0700)
commit391203ab11df9b23cd0b867122bccbe33fe16f02
tree0ecd9deada26ac0021177bcd868e76ac802e51e9
parent0f420b6c52e9799f664429e739a421fb4c5527a3
devlink: Add generic packet traps and groups

Add generic packet traps and groups that can report dropped packets as
well as exceptions such as TTL error.

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