netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Machata <petrm@mellanox.com>
To: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org
Cc: davem@davemloft.net, shuah@kernel.org, idosch@mellanox.com,
	jiri@mellanox.com
Subject: [PATCH net-next 00/10] Mirroring tests involving VLAN
Date: Thu, 24 May 2018 16:27:04 +0200	[thread overview]
Message-ID: <cover.1527171860.git.petrm@mellanox.com> (raw)

This patchset tests mirror-to-gretap with various underlay
configurations involving VLAN netdevice in particular. Some of the tests
involve bridges as well, but tests aimed specifically at testing bridges
(i.e. FDB, STP) are not part of this patchset.

In patches #1-#6, the codebase is adapted to support the new tests.

In patch #7, a test for mirroring to VLAN is introduced.

Patches #8-#10 add three tests where VLAN is part of underlay path after
gretap encapsulation.

Petr Machata (10):
  selftests: forwarding: Split mirror_gre_topo_lib.sh
  selftests: forwarding: mirror_gre_lib: Extract generic functions
  selftests: forwarding: Add $h3's clsact to mirror_topo_lib.sh
  selftests: forwarding: lib: Support VLAN devices
  selftests: forwarding: mirror_gre_lib: Support VLAN
  selftests: forwarding: lib: Extract trap_{,un}install()
  selftests: forwarding: Test mirror-to-vlan
  selftests: forwarding: Test mirror-to-gre w/ UL VLAN+802.1q
  selftests: forwarding: Test mirror-to-gre w/ UL VLAN
  selftests: forwarding: Test mirror-to-gre w/ UL 802.1d+VLAN

 tools/testing/selftests/net/forwarding/lib.sh      |  52 +++++--
 .../testing/selftests/net/forwarding/mirror_gre.sh |   2 -
 .../net/forwarding/mirror_gre_bridge_1d_vlan.sh    | 109 +++++++++++++
 .../selftests/net/forwarding/mirror_gre_changes.sh |   2 -
 .../selftests/net/forwarding/mirror_gre_lib.sh     |  61 +++++---
 .../net/forwarding/mirror_gre_topo_lib.sh          |  53 ++-----
 .../selftests/net/forwarding/mirror_gre_vlan.sh    |  92 +++++++++++
 .../net/forwarding/mirror_gre_vlan_bridge_1q.sh    | 140 +++++++++++++++++
 .../testing/selftests/net/forwarding/mirror_lib.sh |  54 +++++++
 .../selftests/net/forwarding/mirror_topo_lib.sh    | 101 ++++++++++++
 .../selftests/net/forwarding/mirror_vlan.sh        | 169 +++++++++++++++++++++
 11 files changed, 754 insertions(+), 81 deletions(-)
 create mode 100755 tools/testing/selftests/net/forwarding/mirror_gre_bridge_1d_vlan.sh
 create mode 100755 tools/testing/selftests/net/forwarding/mirror_gre_vlan.sh
 create mode 100755 tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh
 create mode 100644 tools/testing/selftests/net/forwarding/mirror_topo_lib.sh
 create mode 100755 tools/testing/selftests/net/forwarding/mirror_vlan.sh

-- 
2.4.11

             reply	other threads:[~2018-05-24 14:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-24 14:27 Petr Machata [this message]
2018-05-24 14:27 ` [PATCH net-next 01/10] selftests: forwarding: Split mirror_gre_topo_lib.sh Petr Machata
2018-05-24 14:27 ` [PATCH net-next 02/10] selftests: forwarding: mirror_gre_lib: Extract generic functions Petr Machata
2018-05-24 14:27 ` [PATCH net-next 03/10] selftests: forwarding: Add $h3's clsact to mirror_topo_lib.sh Petr Machata
2018-05-24 14:27 ` [PATCH net-next 04/10] selftests: forwarding: lib: Support VLAN devices Petr Machata
2018-05-24 14:27 ` [PATCH net-next 05/10] selftests: forwarding: mirror_gre_lib: Support VLAN Petr Machata
2018-05-24 14:27 ` [PATCH net-next 06/10] selftests: forwarding: lib: Extract trap_{,un}install() Petr Machata
2018-05-24 14:27 ` [PATCH net-next 07/10] selftests: forwarding: Test mirror-to-vlan Petr Machata
2018-05-24 14:27 ` [PATCH net-next 08/10] selftests: forwarding: Test mirror-to-gre w/ UL VLAN+802.1q Petr Machata
2018-05-24 14:28 ` [PATCH net-next 09/10] selftests: forwarding: Test mirror-to-gre w/ UL VLAN Petr Machata
2018-05-24 14:28 ` [PATCH net-next 10/10] selftests: forwarding: Test mirror-to-gre w/ UL 802.1d+VLAN Petr Machata
2018-05-25  2:26 ` [PATCH net-next 00/10] Mirroring tests involving VLAN David Miller

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=cover.1527171860.git.petrm@mellanox.com \
    --to=petrm@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=idosch@mellanox.com \
    --cc=jiri@mellanox.com \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=shuah@kernel.org \
    /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).