diff options
author | John Fastabend <[email protected]> | 2018-01-22 10:36:02 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-01-24 10:46:58 +0100 |
commit | d7d6437acf9b4ddbbebe0a9029a30c23be141683 (patch) | |
tree | c4bbe95e21dc0c2ef86e255c524466e31f5b484e /net/unix/sysctl_net_unix.c | |
parent | eaf8c6eec5f9ab5d9d7155d7041fb7eea7028052 (diff) |
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 <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions