selftests: net: bridge: add tests for IGMPv3
Status from this message: Applied, thanks Nik!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | selftests: net: bridge: rename current igmp tests to igmpv2tools/ | +5 | 0 replies | |
| 2/16 | selftests: net: bridge: igmp: add support for packet source addresstools/ | +7 | 0 replies | |
| 3/16 | selftests: net: bridge: igmp: check for specific udp ip protocoltools/ | +1 | 0 replies | |
| 4/16 | selftests: net: bridge: igmp: add IGMPv3 entries' state helperstools/ | +67 | 0 replies | |
| 5/16 | selftests: net: bridge: add tests for igmpv3 is_include and inc -> allow reportstools/ | +81 | 0 replies | |
| 6/16 | selftests: net: bridge: add test for igmpv3 inc -> is_include reporttools/ | +24 | 0 replies | |
| 7/16 | selftests: net: bridge: add test for igmpv3 inc -> is_exclude reporttools/ | +40 | 0 replies | |
| 8/16 | selftests: net: bridge: add test for igmpv3 inc -> to_exclude reporttools/ | +50 | 0 replies | |
| 9/16 | selftests: net: bridge: add test for igmpv3 exc -> allow reporttools/ | +59 | 0 replies | |
| 10/16 | selftests: net: bridge: add test for igmpv3 exc -> is_include reporttools/ | +26 | 0 replies | |
| 11/16 | selftests: net: bridge: add test for igmpv3 exc -> is_exclude reporttools/ | +27 | 0 replies | |
| 12/16 | selftests: net: bridge: add test for igmpv3 exc -> to_exclude reporttools/ | +29 | 0 replies | |
| 13/16 | selftests: net: bridge: add test for igmpv3 inc -> block reporttools/ | +32 | 0 replies | |
| 14/16 | selftests: net: bridge: add test for igmpv3 exc -> block reporttools/ | +29 | 0 replies | |
| 15/16 | selftests: net: bridge: add test for igmpv3 exclude timeouttools/ | +48 | 0 replies | |
| 16/16 | selftests: net: bridge: add test for igmpv3 *,g auto-addtools/ | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 00/16] selftests: net: bridge: add tests for IGMPv3
From: Nikolay Aleksandrov <[email protected]>
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(-)
Signature · 1 line
2.25.4