]> 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)
commite876c475d383979527f2d4ca7600e56e91642c00
tree411be4dc66e4abcdfcfd305022fd4aa669dd3187
parent372b54657819bef3b9f7aa29afb575322b4ed072
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