diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2021-08-25 11:37:16 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-08-25 12:23:02 -0700 |
commit | b04fdc4ce31fe5ae411737ec6705fcdfc493d6c8 (patch) | |
tree | 0ca86d41e0f746579a4e8082d484e4d166c73a4a /tools/testing/selftests/bpf/xdpxceiver.h | |
parent | 0d41f59f458a4f08353f7aba64bbc6388a858265 (diff) | |
download | lwn-b04fdc4ce31fe5ae411737ec6705fcdfc493d6c8.tar.gz lwn-b04fdc4ce31fe5ae411737ec6705fcdfc493d6c8.zip |
selftests: xsk: Validate tx stats on tx thread
Validate the tx stats on the Tx thread instead of the Rx
thread. Depending on your settings, you might not be allowed to query
the statistics of a socket you do not own, so better to do this on the
correct thread to start with.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210825093722.10219-11-magnus.karlsson@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/xdpxceiver.h')
0 files changed, 0 insertions, 0 deletions