drop_monitor: Add basic infrastructure for hardware drops
authorIdo Schimmel <idosch@mellanox.com>
Sat, 17 Aug 2019 13:28:12 +0000 (16:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Aug 2019 19:40:08 +0000 (12:40 -0700)
commitedd3d0074c256848bbf5805350b39d40b1e2bf2b
tree5606e7b74ef722693ac100484b88d7b1cf6e14bc
parentcac1174fa17f2cf5d504cbe00c0053f0b9e3b58d
drop_monitor: Add basic infrastructure for hardware drops

Export a function that can be invoked in order to report packets that
were dropped by the underlying hardware along with metadata.

Subsequent patches will add support for the different alert modes.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
include/net/drop_monitor.h [new file with mode: 0644]
net/core/drop_monitor.c