]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Do not hard code trap group name
authorIdo Schimmel <idosch@mellanox.com>
Sat, 16 May 2020 22:43:10 +0000 (01:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 May 2020 23:42:31 +0000 (16:42 -0700)
commit7d63fa05de8bd321adc32b6990d56f6dfa66c13a
treeae1eb050581f285eb24b977b617f397da2992b1b
parent78fd721d51bcd7b3de0e70f5102580128bcff11e
selftests: mlxsw: Do not hard code trap group name

It can be derived dynamically from the trap's name, so drop it.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_acl_drops.sh
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_l3_exceptions.sh
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_tunnel_ipip.sh
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_tunnel_vxlan.sh
tools/testing/selftests/net/forwarding/devlink_lib.sh