]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f755d1e9503c9eda5237baa2f04e9b7fc099bbb
tree35e8e7b6f69cc25e958f9214e977a847e86f7590
parent5147ec3ebcef7c9102d7c87ed36abf8902168490
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