]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: add parser error drop packet traps
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 1 Oct 2020 15:11:45 +0000 (18:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 23:31:55 +0000 (16:31 -0700)
commitbd702e2964d4554f4db1929af40e67d76531e039
tree411be4dc66e4abcdfcfd305022fd4aa669dd3187
parentdafa653e9b51a09a05da7005fa95a6da43ba3d4c
devlink: add parser error drop packet traps

Add parser error drop packet traps, so that capable device driver could
register them with devlink. The new packet trap group holds any drops of
packets which were marked by the device as erroneous during header
parsing. Add documentation for every added packet trap and packet trap
group.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/devlink/devlink-trap.rst
include/net/devlink.h
net/core/devlink.c