615214ab78
[ Upstream commit 16f6458f2478b55e2b628797bc81a4455045c74e ]
The msg_zerocopy test pins the sender and receiver threads to separate
cores to reduce variance between runs.
But it hardcodes the cores and skips core 0, so it fails on machines
with the selected cores offline, or simply fewer cores.
The test mainly gives code coverage in automated runs. The throughput
of zerocopy ('-z') and non-zerocopy runs is logged for manual
inspection.
Continue even when sched_setaffinity fails. Just log to warn anyone
interpreting the data.
Fixes:
|
||
---|---|---|
.. | ||
forwarding | ||
.gitignore | ||
config | ||
fib-onlink-tests.sh | ||
fib_rule_tests.sh | ||
fib_tests.sh | ||
in_netns.sh | ||
ip6_gre_headroom.sh | ||
Makefile | ||
msg_zerocopy.c | ||
msg_zerocopy.sh | ||
netdevice.sh | ||
pmtu.sh | ||
psock_fanout.c | ||
psock_lib.h | ||
psock_snd.c | ||
psock_snd.sh | ||
psock_tpacket.c | ||
reuseaddr_conflict.c | ||
reuseport_bpf.c | ||
reuseport_bpf_cpu.c | ||
reuseport_bpf_numa.c | ||
reuseport_dualstack.c | ||
rtnetlink.sh | ||
run_afpackettests | ||
run_netsocktests | ||
socket.c | ||
tcp_inq.c | ||
tcp_mmap.c | ||
test_bpf.sh | ||
tls.c | ||
udpgso.c | ||
udpgso.sh | ||
udpgso_bench.sh | ||
udpgso_bench_rx.c | ||
udpgso_bench_tx.c |