]> 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)
commit443da88a4c8a5063c54a01415f2a7d81b6c8fee3
treeee004ec912130d0afc74b74a2da47d5c23200bc7
parent474faf470ccbd678e87d78a6ac3343e5b5c045a9
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]