mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
selftests: net: dsa: add a stress test for unlocked FDB operations
This test is a bit strange in that it is perhaps more manual than others: it does not transmit a clear OK/FAIL verdict, because user space does not have synchronous feedback from the kernel. If a hardware access fails, it is in deferred context. Nonetheless, on sja1105 I have used it successfully to find and solve a concurrency issue, so it can be used as a starting point for other driver maintainers too. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d70b51f284
commit
eccd0a80dc
2 changed files with 48 additions and 0 deletions
47
tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh
Executable file
47
tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue