aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-05-29 21:36:44 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-01 11:49:23 -0700
commit1897936744f0ab366102170d7c76bfc8f7aeb2ba (patch)
treeb3f3cb76165cbc0edaf841b19bd3999d4e4ea58f /drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
parentdevlink: Add ACL control packet traps (diff)
downloadwireguard-linux-1897936744f0ab366102170d7c76bfc8f7aeb2ba.tar.xz
wireguard-linux-1897936744f0ab366102170d7c76bfc8f7aeb2ba.zip
netdevsim: Register control traps
Register two control traps with devlink. The existing selftest at tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh iterates over all registered traps and checks that the action of non-drop traps cannot be changed. Up until now only exception traps were tested, now control traps will be tested as well. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c')
0 files changed, 0 insertions, 0 deletions