aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorJohn Fastabend <[email protected]>2020-05-13 12:14:25 -0700
committerDaniel Borkmann <[email protected]>2020-05-16 02:56:49 +0200
commit18d4e900a4500c54af56b9ad39f4d3b378eb0661 (patch)
tree78827911ef4cfb0e31c8e946f71c94560fe5636f /tools/perf/scripts/python/powerpc-hcalls.py
parent248aba1d526e052ee9aba6dd9c5a198e30839cbd (diff)
bpf: Selftests, improve test_sockmap total bytes counter
The recv thread in test_sockmap waits to receive all bytes from sender but in the case we use pop data it may wait for more bytes then actually being sent. This stalls the test harness for multiple seconds. Because this happens in multiple tests it slows time to run the selftest. Fix by doing a better job of accounting for total bytes when pop helpers are used. Signed-off-by: John Fastabend <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Jakub Sitnicki <[email protected]> Link: https://lore.kernel.org/bpf/158939726542.15176.5964532245173539540.stgit@john-Precision-5820-Tower
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions