selftests/net: Extract uring helpers to be reusableInstead of defining basic io_uring functions in the test case, move themto a common directory, so, other tests can use them.This simplify the t
selftests/net: Extract uring helpers to be reusableInstead of defining basic io_uring functions in the test case, move themto a common directory, so, other tests can use them.This simplify the test code and reuse the common liburinginfrastructure. This is basically a copy of what we have inio_uring_zerocopy_tx with some minor improvements to make checkpatchhappy.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.orgSigned-off-by: Jens Axboe <axboe@kernel.dk>
show more ...