]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: add xfrm policy insertion speed test script
authorFlorian Westphal <fw@strlen.de>
Thu, 22 Aug 2024 13:04:29 +0000 (15:04 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Sat, 24 Aug 2024 07:55:01 +0000 (09:55 +0200)
commit9c5b6d4e33dd78a0511ec34756d783b7e36028c2
treeb35d8f0a473ce9277a292613dab0a501efb6095b
parent54f2f78d6b9f1f90e91aaf5dbb34a6198f65fdfd
selftests: add xfrm policy insertion speed test script

Nothing special, just test how long insertion of x policies takes.
This should ideally show linear insertion speeds.

Do not run this by default, it has little value, but it can be useful to
check for insertion speed chahnges when altering the xfrm policy db
implementation.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/xfrm_policy_add_speed.sh [new file with mode: 0755]