]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: Add 'control' trap type
authorIdo Schimmel <idosch@mellanox.com>
Fri, 29 May 2020 18:36:40 +0000 (21:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:49:23 +0000 (11:49 -0700)
commit80543b0ee7c84ff83c016f945adef45f835de9b0
tree87f5fd2b34514fd7ef932ab419bcebe4320329fd
parent9f792afb6ae2ece0073cd3b1eda1e16fec776997
devlink: Add 'control' trap type

This type is used for traps that trap control packets such as ARP
request and IGMP query to the CPU.

Do not report such packets to the kernel's drop monitor as they were not
dropped by the device no encountered an exception during forwarding.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/devlink/devlink-trap.rst
include/uapi/linux/devlink.h
net/core/devlink.c