mbox series

[net-next,00/10] selftests: net: bridge: vlan multicast tests

Message ID 20211125140858.3639139-1-razor@blackwall.org (mailing list archive)
Headers show
Series selftests: net: bridge: vlan multicast tests | expand

Message

Nikolay Aleksandrov Nov. 25, 2021, 2:08 p.m. UTC
From: Nikolay Aleksandrov <nikolay@nvidia.com>

Hi,
This patch-set adds selftests for the new vlan multicast options that
were recently added. Most of the tests check for default values,
changing options and try to verify that the changes actually take
effect. The last test checks if the dependency between vlan_filtering
and mcast_vlan_snooping holds. The rest are pretty self-explanatory.

TEST: Vlan multicast snooping enable                                [ OK ]
TEST: Vlan global options existence                                 [ OK ]
TEST: Vlan mcast_snooping global option default value               [ OK ]
TEST: Vlan 10 multicast snooping control                            [ OK ]
TEST: Vlan mcast_querier global option default value                [ OK ]
TEST: Vlan 10 multicast querier enable                              [ OK ]
TEST: Vlan 10 tagged IGMPv2 general query sent                      [ OK ]
TEST: Vlan 10 tagged MLD general query sent                         [ OK ]
TEST: Vlan mcast_igmp_version global option default value           [ OK ]
TEST: Vlan mcast_mld_version global option default value            [ OK ]
TEST: Vlan 10 mcast_igmp_version option changed to 3                [ OK ]
TEST: Vlan 10 tagged IGMPv3 general query sent                      [ OK ]
TEST: Vlan 10 mcast_mld_version option changed to 2                 [ OK ]
TEST: Vlan 10 tagged MLDv2 general query sent                       [ OK ]
TEST: Vlan mcast_last_member_count global option default value      [ OK ]
TEST: Vlan mcast_last_member_interval global option default value   [ OK ]
TEST: Vlan 10 mcast_last_member_count option changed to 3           [ OK ]
TEST: Vlan 10 mcast_last_member_interval option changed to 200      [ OK ]
TEST: Vlan mcast_startup_query_interval global option default value   [ OK ]
TEST: Vlan mcast_startup_query_count global option default value    [ OK ]
TEST: Vlan 10 mcast_startup_query_interval option changed to 100    [ OK ]
TEST: Vlan 10 mcast_startup_query_count option changed to 3         [ OK ]
TEST: Vlan mcast_membership_interval global option default value    [ OK ]
TEST: Vlan 10 mcast_membership_interval option changed to 200       [ OK ]
TEST: Vlan 10 mcast_membership_interval mdb entry expire            [ OK ]
TEST: Vlan mcast_querier_interval global option default value       [ OK ]
TEST: Vlan 10 mcast_querier_interval option changed to 100          [ OK ]
TEST: Vlan 10 mcast_querier_interval expire after outside query     [ OK ]
TEST: Vlan mcast_query_interval global option default value         [ OK ]
TEST: Vlan 10 mcast_query_interval option changed to 200            [ OK ]
TEST: Vlan mcast_query_response_interval global option default value   [ OK ]
TEST: Vlan 10 mcast_query_response_interval option changed to 200   [ OK ]
TEST: Port vlan 10 option mcast_router default value                [ OK ]
TEST: Port vlan 10 mcast_router option changed to 2                 [ OK ]
TEST: Flood unknown vlan multicast packets to router port only      [ OK ]
TEST: Disable multicast vlan snooping when vlan filtering is disabled   [ OK ]

Thanks,
 Nik

Nikolay Aleksandrov (10):
  selftests: net: bridge: add vlan mcast snooping control test
  selftests: net: bridge: add vlan mcast querier test
  selftests: net: bridge: add vlan mcast igmp/mld version tests
  selftests: net: bridge: add vlan mcast_last_member_count/interval
    tests
  selftests: net: bridge: add vlan mcast_startup_query_count/interval
    tests
  selftests: net: bridge: add vlan mcast_membership_interval test
  selftests: net: bridge: add vlan mcast_querier_interval tests
  selftests: net: bridge: add vlan mcast query and query response
    interval tests
  selftests: net: bridge: add vlan mcast_router tests
  selftests: net: bridge: add test for vlan_filtering dependency

 .../net/forwarding/bridge_vlan_mcast.sh       | 543 ++++++++++++++++++
 1 file changed, 543 insertions(+)
 create mode 100755 tools/testing/selftests/net/forwarding/bridge_vlan_mcast.sh

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 27, 2021, 12:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 25 Nov 2021 16:08:48 +0200 you wrote:
> From: Nikolay Aleksandrov <nikolay@nvidia.com>
> 
> Hi,
> This patch-set adds selftests for the new vlan multicast options that
> were recently added. Most of the tests check for default values,
> changing options and try to verify that the changes actually take
> effect. The last test checks if the dependency between vlan_filtering
> and mcast_vlan_snooping holds. The rest are pretty self-explanatory.
> 
> [...]

Here is the summary with links:
  - [net-next,01/10] selftests: net: bridge: add vlan mcast snooping control test
    https://git.kernel.org/netdev/net-next/c/71ae450f97ad
  - [net-next,02/10] selftests: net: bridge: add vlan mcast querier test
    https://git.kernel.org/netdev/net-next/c/dee2cdc0e3bb
  - [net-next,03/10] selftests: net: bridge: add vlan mcast igmp/mld version tests
    https://git.kernel.org/netdev/net-next/c/2b75e9dd580c
  - [net-next,04/10] selftests: net: bridge: add vlan mcast_last_member_count/interval tests
    https://git.kernel.org/netdev/net-next/c/3825f1fb675b
  - [net-next,05/10] selftests: net: bridge: add vlan mcast_startup_query_count/interval tests
    https://git.kernel.org/netdev/net-next/c/bdf1b2c05e09
  - [net-next,06/10] selftests: net: bridge: add vlan mcast_membership_interval test
    https://git.kernel.org/netdev/net-next/c/a45fe9741736
  - [net-next,07/10] selftests: net: bridge: add vlan mcast_querier_interval tests
    https://git.kernel.org/netdev/net-next/c/4d8610ee8bd7
  - [net-next,08/10] selftests: net: bridge: add vlan mcast query and query response interval tests
    https://git.kernel.org/netdev/net-next/c/b4ce7b9523c4
  - [net-next,09/10] selftests: net: bridge: add vlan mcast_router tests
    https://git.kernel.org/netdev/net-next/c/2cd67a4e278e
  - [net-next,10/10] selftests: net: bridge: add test for vlan_filtering dependency
    https://git.kernel.org/netdev/net-next/c/f5a9dd58f48b

You are awesome, thank you!