OSDN Git Service

selftests: mlxsw: vxlan_fdb_veto: Make the test more flexible for future use
authorAmit Cohen <amcohen@nvidia.com>
Thu, 23 Dec 2021 07:29:57 +0000 (09:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Dec 2021 11:24:00 +0000 (11:24 +0000)
commit696285305b32f4fc1ddfb2d158ef4bbb6085ab92
tree35e8e7b6f69cc25e958f9214e977a847e86f7590
parent21d4282dc1b81249184525da1acdb308288a952c
selftests: mlxsw: vxlan_fdb_veto: Make the test more flexible for future use

vxlan_fdb_veto.sh cases are dedicated to test VxLAN with IPv4 underlay.
The main changes to test IPv6 underlay are IP addresses and some flags.

Add variables to define all the values which supposed to be different
for IPv6 testing, set them to use the existing values by default.

The next patch will define the new added variables in a separated file,
so the same tests can be used for IPv6 also.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto.sh