]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: Add tests for failover of team-aggregated ports
authorMarc Harvey <marcharvey@google.com>
Thu, 9 Apr 2026 02:59:26 +0000 (02:59 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 13 Apr 2026 13:09:49 +0000 (15:09 +0200)
commit05e352444b2430de4b183b4a988085381e5fd6ad
treeebd6240da457f513a1e346b732899458f9ebbcc2
parentcfa477df2cc62ba53cb936669886361152b594a7
selftests: net: Add tests for failover of team-aggregated ports

There are currently no kernel tests that verify the effect of setting
the enabled team driver option. In a followup patch, there will be
changes to this option, so it will be important to make sure it still
behaves as it does now.

The test verifies that tcp continues to work across two different team
devices in separate network namespaces, even when member links are
manually disabled.

Signed-off-by: Marc Harvey <marcharvey@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260409-teaming-driver-internal-v7-4-f47e7589685d@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/team/Makefile
tools/testing/selftests/drivers/net/team/config
tools/testing/selftests/drivers/net/team/team_lib.sh [new file with mode: 0644]
tools/testing/selftests/drivers/net/team/transmit_failover.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/lib.sh