Skip to content

Commit

Permalink
selftests: mlxsw: Consider VxLAN learning enabled as valid
Browse files Browse the repository at this point in the history
The test currently expects that a configuration which includes a VxLAN
device with learning enabled to fail.

Previous patches enabled VxLAN learning in mlxsw, so change the test
accordingly.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ido Schimmel authored and David S. Miller committed Nov 22, 2018
1 parent 20134ee commit dbd4485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/drivers/net/mlxsw/vxlan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ sanitization_single_dev_learning_enabled_test()
ip link add name vxlan0 up type vxlan id 10 learning noudpcsum \
ttl 20 tos inherit local 198.51.100.1 dstport 4789

sanitization_single_dev_test_fail
sanitization_single_dev_test_pass

ip link del dev vxlan0
ip link del dev br0
Expand Down

0 comments on commit dbd4485

Please sign in to comment.