]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/io_uring: test zerocopy send
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 12 Jul 2022 20:52:51 +0000 (21:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:41:07 +0000 (18:41 -0600)
commitd8b6171bd58a5ffb9ad1dcfa60372db1b4db6d0d
treeee004ec912130d0afc74b74a2da47d5c23200bc7
parent3ff1a0d395c00e42ee15f561431e0c04097595b9
selftests/io_uring: test zerocopy send

Add selftests for io_uring zerocopy sends and io_uring's notification
infrastructure. It's largely influenced by msg_zerocopy and uses it on
the receive side.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/03d5ec78061cf52db420f88ed0b48eb8f47ce9f7.1657643355.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/io_uring_zerocopy_tx.c [new file with mode: 0644]
tools/testing/selftests/net/io_uring_zerocopy_tx.sh [new file with mode: 0755]