]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: forwarding: Add a test for FDB activity notification control
authorIdo Schimmel <idosch@nvidia.com>
Tue, 12 Aug 2025 07:18:10 +0000 (10:18 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Aug 2025 00:09:54 +0000 (17:09 -0700)
commit5e88777a382480d0b1f7eafb6d0fb680ec7a40bb
treeae2d1d5084aafa0764fdd019f2d8fc34d98e0404
parent96326447d466ca62b713f660cfc73ef7879151a0
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.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20250812071810.312346-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/Makefile
tools/testing/selftests/net/forwarding/bridge_activity_notify.sh [new file with mode: 0755]