Skip to contentSkip to conversation

selftests: forwarding: Add a test for FDB activity notification control

PATCH Applied Ido Schimmel 3 participants 3 messages Aug 12, 2025 – Aug 14, 2025

Subsystems (4)
lore
Share & tools
lore

Ido Schimmel

author maintainer
#0 lore raw

PATCH 1/1 selftests: forwarding: Add a test for FDB activity notification control

Test various aspects of FDB activity notification control:

* Transitioning of an FDB entry from inactive to active state.

* Transitioning of an FDB entry from active to inactive state.

* Avoiding the resetting of an FDB entry's last activity time (i.e., "updated" time) using the "norefresh" keyword.

---
 .../testing/selftests/net/forwarding/Makefile |   4 +-
 .../net/forwarding/bridge_activity_notify.sh  | 173 ++++++++++++++++++
 2 files changed, 176 insertions(+), 1 deletion(-)
 create mode 100755 tools/testing/selftests/net/forwarding/bridge_activity_notify.sh
tools/testing/selftests/net/forwarding/Makefile +3 -1
index d7bb2e80e88c..0a0d4c2a85f7 100644
@@ -1,6 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0+ OR MIT
 
-TEST_PROGS = bridge_fdb_learning_limit.sh \
+TEST_PROGS = \
+	bridge_activity_notify.sh \
+	bridge_fdb_learning_limit.sh \
 	bridge_igmp.sh \
 	bridge_locked_port.sh \
 	bridge_mdb.sh \
tools/testing/selftests/net/forwarding/bridge_activity_notify.sh new file +173 -0

173 lines not on this page · raw message

Signature · 1 line
2.50.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Ido Schimmel

Test various aspects of FDB activity notification control:

* Transitioning of an FDB entry from inactive to active state.

* Transitioning of an FDB entry from active to inactive state.

* Avoiding the resetting of an FDB entry's last activity time (i.e., "updated" time) using the "norefresh" keyword.

Quoted 8 lines
---
  .../testing/selftests/net/forwarding/Makefile |   4 +-
  .../net/forwarding/bridge_activity_notify.sh  | 173 ++++++++++++++++++
  2 files changed, 176 insertions(+), 1 deletion(-)

create mode 100755 tools/testing/selftests/net/forwarding/bridge_activity_notify.sh

#2 lore raw
In reply to Ido Schimmel
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 10 lines · On Tue, 12 Aug 2025 10:18:10 +0300 you wrote:

Test various aspects of FDB activity notification control:

* Transitioning of an FDB entry from inactive to active state.

* Transitioning of an FDB entry from active to inactive state.

* Avoiding the resetting of an FDB entry's last activity time (i.e., "updated" time) using the "norefresh" keyword.

[...]

Here is the summary with links:
- [net-next] selftests: forwarding: Add a test for FDB activity notification control

    https://git.kernel.org/netdev/net-next/c/5e88777a3824

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html