aboutsummaryrefslogtreecommitdiff
path: root/tools/include/io_uring/mini_liburing.h
AgeCommit message (Collapse)AuthorFilesLines
2023-10-19selftests/net: Extract uring helpers to be reusableBreno Leitao1-0/+282
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>