netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Amit Cohen <amcohen@nvidia.com>
To: <netdev@vger.kernel.org>
Cc: <davem@davemloft.net>, <kuba@kernel.org>, <mlxsw@nvidia.com>,
	<idosch@nvidia.com>, Amit Cohen <amcohen@nvidia.com>,
	Petr Machata <petrm@nvidia.com>
Subject: [PATCH net-next 4/8] selftests: mlxsw: Add VxLAN FDB veto test for IPv6
Date: Thu, 23 Dec 2021 09:29:58 +0200	[thread overview]
Message-ID: <20211223073002.3733510-5-amcohen@nvidia.com> (raw)
In-Reply-To: <20211223073002.3733510-1-amcohen@nvidia.com>

Add test to verify FDB vetos of VxLAN with IPv6 underlay.
Use the existing test which checks IPv4.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
---
 .../drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh         | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100755 tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh

diff --git a/tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh b/tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh
new file mode 100755
index 000000000000..66c87aab86f6
--- /dev/null
+++ b/tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto_ipv6.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+# A wrapper to run VXLAN test for IPv6.
+
+LOCAL_IP=2001:db8:1::1
+REMOTE_IP_1=2001:db8:2::1
+REMOTE_IP_2=2001:db8:3::1
+UDPCSUM_FLAFS="udp6zerocsumrx udp6zerocsumtx"
+MC_IP=FF02::2
+
+source vxlan_fdb_veto.sh
-- 
2.31.1


  parent reply	other threads:[~2021-12-23  7:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-23  7:29 [PATCH net-next 0/8] mlxsw: Add tests for VxLAN with IPv6 underlay Amit Cohen
2021-12-23  7:29 ` [PATCH net-next 1/8] selftests: mlxsw: vxlan: Make the test more flexible for future use Amit Cohen
2021-12-23  7:29 ` [PATCH net-next 2/8] selftests: mlxsw: Add VxLAN configuration test for IPv6 Amit Cohen
2021-12-23  7:29 ` [PATCH net-next 3/8] selftests: mlxsw: vxlan_fdb_veto: Make the test more flexible for future use Amit Cohen
2021-12-23  7:29 ` Amit Cohen [this message]
2021-12-23  7:29 ` [PATCH net-next 5/8] selftests: mlxsw: spectrum: Add a test for VxLAN flooding with IPv6 Amit Cohen
2021-12-23  7:30 ` [PATCH net-next 6/8] selftests: mlxsw: spectrum-2: " Amit Cohen
2021-12-23  7:30 ` [PATCH net-next 7/8] selftests: mlxsw: Add test for VxLAN related traps for IPv6 Amit Cohen
2021-12-23  7:30 ` [PATCH net-next 8/8] selftests: mlxsw: devlink_trap_tunnel_vxlan: Fix 'decap_error' case Amit Cohen
2021-12-23 11:30 ` [PATCH net-next 0/8] mlxsw: Add tests for VxLAN with IPv6 underlay patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211223073002.3733510-5-amcohen@nvidia.com \
    --to=amcohen@nvidia.com \
    --cc=davem@davemloft.net \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=mlxsw@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=petrm@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).