]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: pass pref and handle to devlink_trap_drop_* helpers
authorJiri Pirko <jiri@mellanox.com>
Mon, 24 Feb 2020 07:35:57 +0000 (08:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 19:55:07 +0000 (11:55 -0800)
commitc902a52c404835b240ccf194be573ef17110a18b
tree341c19370a25d50ab76902a0c10bce4ef15e9f54
parent0facf109f69b7b6309de27e1b5350859b040c1a5
selftests: pass pref and handle to devlink_trap_drop_* helpers

Currently the helpers assume pref 1 and handle 101. Make that explicit
and pass the values from callers.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_l2_drops.sh
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_l3_drops.sh
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_tunnel_vxlan.sh
tools/testing/selftests/net/forwarding/devlink_lib.sh