]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
devlink: Create dedicated trap group for layer 3 exceptions
authorIdo Schimmel <idosch@mellanox.com>
Fri, 29 May 2020 18:36:36 +0000 (21:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:49:23 +0000 (11:49 -0700)
commit678eb199cc9df3bf1cb12fb2da22768b8d1b6bf3
tree37ae396c02f917f23181ef79911ba580258e57be
parentaf0a2482fa0fe04c63cc63f6d064f011865385fd
devlink: Create dedicated trap group for layer 3 exceptions

Packets that hit exceptions during layer 3 forwarding must be trapped to
the CPU for the control plane to function properly. Create a dedicated
group for them, so that user space could choose to assign a different
policer for them.

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/net/devlink.h
net/core/devlink.c