diff options
author | Weqaar Janjua <weqaar.janjua@gmail.com> | 2020-12-07 22:53:33 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-12-09 16:44:45 +0100 |
commit | 7d20441eb05ec6d8dc7b16381c53b3c0b3ad6e8a (patch) | |
tree | 2386e080fb17bc23605886b660e28af710215716 /tools/testing/selftests/mqueue | |
parent | selftests/bpf: Xsk selftests - Socket Teardown - SKB, DRV (diff) | |
download | linux-7d20441eb05ec6d8dc7b16381c53b3c0b3ad6e8a.tar.xz linux-7d20441eb05ec6d8dc7b16381c53b3c0b3ad6e8a.zip |
selftests/bpf: Xsk selftests - Bi-directional Sockets - SKB, DRV
Adds following tests:
1. AF_XDP SKB mode
d. Bi-directional Sockets
Configure sockets as bi-directional tx/rx sockets, sets up fill
and completion rings on each socket, tx/rx in both directions.
Only nopoll mode is used
2. AF_XDP DRV/Native mode
d. Bi-directional Sockets
* Only copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua <weqaar.a.janjua@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Yonghong Song <yhs@fb.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Link: https://lore.kernel.org/bpf/20201207215333.11586-6-weqaar.a.janjua@intel.com
Diffstat (limited to 'tools/testing/selftests/mqueue')
0 files changed, 0 insertions, 0 deletions