]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb70241ea9822d1888a1bf9c0f137470e273f076
tree5606e7b74ef722693ac100484b88d7b1cf6e14bc
parent58aea4ee31dfe9cec06bdd59f38bfff334c14690
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