]> 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)
commit34fb5fb83a9847082de943cd208f1fbda20be9cd
tree35e8e7b6f69cc25e958f9214e977a847e86f7590
parentf5dffeb2a91ed4ec61f66687c8b181248018e1a5
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