summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2018-01-22 10:36:02 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-24 10:46:58 +0100
commitd7d6437acf9b4ddbbebe0a9029a30c23be141683 (patch)
treec4bbe95e21dc0c2ef86e255c524466e31f5b484e /init
parenteaf8c6eec5f9ab5d9d7155d7041fb7eea7028052 (diff)
downloadlinux-d7d6437acf9b4ddbbebe0a9029a30c23be141683.tar.bz2
bpf: sockmap sample, use fork() for send and recv
Currently for SENDMSG tests first send completes then recv runs. This does not work well for large data sizes and/or many iterations. So fork the recv and send handler so that we run both send and recv. In the future we can add a parameter to do more than a single fork of tx/rx. With this we can get many GBps of data which helps exercise the sockmap code. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions