diff options
author | Breno Leitao <leitao@debian.org> | 2023-10-16 15:47:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-10-20 00:42:03 +0200 |
commit | ba6e0e5cb5b2c2e736e16b4aead816450a8718e6 (patch) | |
tree | 6c99064c82571aa3f3f265d5b5cded9c7f318d63 /samples/acrn | |
parent | tools headers: Grab copy of io_uring.h (diff) | |
download | linux-ba6e0e5cb5b2c2e736e16b4aead816450a8718e6.tar.xz linux-ba6e0e5cb5b2c2e736e16b4aead816450a8718e6.zip |
selftests/net: Extract uring helpers to be reusable
Instead of defining basic io_uring functions in the test case, move them
to a common directory, so, other tests can use them.
This simplify the test code and reuse the common liburing
infrastructure. This is basically a copy of what we have in
io_uring_zerocopy_tx with some minor improvements to make checkpatch
happy.
A follow-up test will use the same helpers in a BPF sockopt test.
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20231016134750.1381153-8-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples/acrn')
0 files changed, 0 insertions, 0 deletions