From: Nikolay Aleksandrov <razor@blackwall.org>
To: netdev@vger.kernel.org
Cc: roopa@nvidia.com, kuba@kernel.org,
bridge@lists.linux-foundation.org,
Nikolay Aleksandrov <nikolay@nvidia.com>
Subject: [PATCH net-next 00/16] selftests: net: bridge: add tests for IGMPv3
Date: Tue, 27 Oct 2020 20:59:18 +0200 [thread overview]
Message-ID: <20201027185934.227040-1-razor@blackwall.org> (raw)
From: Nikolay Aleksandrov <nikolay@nvidia.com>
Hi,
This set adds tests for the bridge's new IGMPv3 support. The tests use
precooked packets which are sent via mausezahn and the resulting state
after each test is checked for proper X,Y sets, (*,G) source list, source
list entry timers, (S,G) existence and flags, packet forwarding and
blocking, exclude group expiration and (*,G) auto-add. The first 3 patches
prepare the existing IGMPv2 tests, then patch 4 adds new helpers which are
used throughout the rest of the v3 tests.
The following new tests are added:
- base case: IGMPv3 report 239.10.10.10 is_include (A)
- include -> allow report
- include -> is_include report
- include -> is_exclude report
- include -> to_exclude report
- exclude -> allow report
- exclude -> is_include report
- exclude -> is_exclude report
- exclude -> to_exclude report
- include -> block report
- exclude -> block report
- exclude timeout (move to include + entry deletion)
- S,G port entry automatic add to a *,G,exclude port
The variable names and set notation are the same as per RFC 3376,
for more information check RFC 3376 sections 4.2.15 and 6.4.1.
MLDv2 tests will be added by a separate patch-set.
Thanks,
Nik
Nikolay Aleksandrov (16):
selftests: net: bridge: rename current igmp tests to igmpv2
selftests: net: bridge: igmp: add support for packet source address
selftests: net: bridge: igmp: check for specific udp ip protocol
selftests: net: bridge: igmp: add IGMPv3 entries' state helpers
selftests: net: bridge: add tests for igmpv3 is_include and inc ->
allow reports
selftests: net: bridge: add test for igmpv3 inc -> is_include report
selftests: net: bridge: add test for igmpv3 inc -> is_exclude report
selftests: net: bridge: add test for igmpv3 inc -> to_exclude report
selftests: net: bridge: add test for igmpv3 exc -> allow report
selftests: net: bridge: add test for igmpv3 exc -> is_include report
selftests: net: bridge: add test for igmpv3 exc -> is_exclude report
selftests: net: bridge: add test for igmpv3 exc -> to_exclude report
selftests: net: bridge: add test for igmpv3 inc -> block report
selftests: net: bridge: add test for igmpv3 exc -> block report
selftests: net: bridge: add test for igmpv3 exclude timeout
selftests: net: bridge: add test for igmpv3 *,g auto-add
.../selftests/net/forwarding/bridge_igmp.sh | 532 +++++++++++++++++-
1 file changed, 520 insertions(+), 12 deletions(-)
--
2.25.4
next reply other threads:[~2020-10-27 19:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 18:59 Nikolay Aleksandrov [this message]
2020-10-27 18:59 ` [PATCH net-next 01/16] selftests: net: bridge: rename current igmp tests to igmpv2 Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 02/16] selftests: net: bridge: igmp: add support for packet source address Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 03/16] selftests: net: bridge: igmp: check for specific udp ip protocol Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 04/16] selftests: net: bridge: igmp: add IGMPv3 entries' state helpers Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 05/16] selftests: net: bridge: add tests for igmpv3 is_include and inc -> allow reports Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 06/16] selftests: net: bridge: add test for igmpv3 inc -> is_include report Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 07/16] selftests: net: bridge: add test for igmpv3 inc -> is_exclude report Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 08/16] selftests: net: bridge: add test for igmpv3 inc -> to_exclude report Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 09/16] selftests: net: bridge: add test for igmpv3 exc -> allow report Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 10/16] selftests: net: bridge: add test for igmpv3 exc -> is_include report Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 11/16] selftests: net: bridge: add test for igmpv3 exc -> is_exclude report Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 12/16] selftests: net: bridge: add test for igmpv3 exc -> to_exclude report Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 13/16] selftests: net: bridge: add test for igmpv3 inc -> block report Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 14/16] selftests: net: bridge: add test for igmpv3 exc " Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 15/16] selftests: net: bridge: add test for igmpv3 exclude timeout Nikolay Aleksandrov
2020-10-27 18:59 ` [PATCH net-next 16/16] selftests: net: bridge: add test for igmpv3 *,g auto-add Nikolay Aleksandrov
2020-10-30 17:53 ` [PATCH net-next 00/16] selftests: net: bridge: add tests for IGMPv3 Jakub Kicinski
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=20201027185934.227040-1-razor@blackwall.org \
--to=razor@blackwall.org \
--cc=bridge@lists.linux-foundation.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nikolay@nvidia.com \
--cc=roopa@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).