Thread (18 messages) 18 messages, 5 authors, 2022-02-21

Re: [PATCH net-next v3 5/5] selftests: forwarding: tests of locked port feature

From: Shuah Khan <skhan@linuxfoundation.org>
Date: 2022-02-18 21:03:05
Also in: bridge, linux-kselftest, lkml

On 2/18/22 8:51 AM, Hans Schultz wrote:
quoted hunk ↗ jump to hunk
These tests check that the basic locked port feature works, so that no 'host'
can communicate (ping) through a locked port unless the MAC address of the
'host' interface is in the forwarding database of the bridge.

Signed-off-by: Hans Schultz <redacted>
---
  .../testing/selftests/net/forwarding/Makefile |   1 +
  .../net/forwarding/bridge_locked_port.sh      | 174 ++++++++++++++++++
  tools/testing/selftests/net/forwarding/lib.sh |  16 ++
  3 files changed, 191 insertions(+)
  create mode 100755 tools/testing/selftests/net/forwarding/bridge_locked_port.sh
diff --git a/tools/testing/selftests/net/forwarding/Makefile b/tools/testing/selftests/net/forwarding/Makefile
index 72ee644d47bf..8fa97ae9af9e 100644
--- a/tools/testing/selftests/net/forwarding/Makefile
+++ b/tools/testing/selftests/net/forwarding/Makefile
@@ -1,6 +1,7 @@
  # SPDX-License-Identifier: GPL-2.0+ OR MIT
  
  TEST_PROGS = bridge_igmp.sh \
+	bridge_locked_port.sh \
  	bridge_port_isolation.sh \
  	bridge_sticky_fdb.sh \
  	bridge_vlan_aware.sh \
Looks good to me. Looks like TEST_PROGS # is getting close to 60.
Cool.

Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>

thanks,
-- Shuah
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help