summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorCoco Li <lixiaoyan@google.com>2021-08-05 10:36:41 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-05 15:14:09 +0300
commit5ebfb4cc3048380b43506ffc71b9cf8b83128989 (patch)
treeb747cd1101d4e9417f792a1a5cacfeb1b21dea7b /tools/perf/scripts/python/export-to-sqlite.py
parent7d1575014a63caeebb13b000ee152ce711580119 (diff)
downloadlinux-5ebfb4cc3048380b43506ffc71b9cf8b83128989.tar.xz
selftests/net: toeplitz test
To verify that this hash implements the Toeplitz hash function. Additionally, provide a script toeplitz.sh to run the test in loopback mode on a networking device of choice (see setup_loopback.sh). Since the script modifies the NIC setup, it will not be run by selftests automatically. Tested: ./toeplitz.sh -i eth0 -irq_prefix <eth0_pattern> -t -6 carrier ready rxq 0: cpu 14 rxq 1: cpu 20 rxq 2: cpu 17 rxq 3: cpu 23 cpu 14: rx_hash 0x69103ebc [saddr fda8::2 daddr fda8::1 sport 58938 dport 8000] OK rxq 0 (cpu 14) ... cpu 20: rx_hash 0x257118b9 [saddr fda8::2 daddr fda8::1 sport 59258 dport 8000] OK rxq 1 (cpu 20) count: pass=111 nohash=0 fail=0 Test Succeeded! Signed-off-by: Coco Li <lixiaoyan@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions