]> www.infradead.org Git - nvme.git/commit
io_uring/zcrx: add selftest case for recvzc with read limit
authorDavid Wei <dw@davidwei.uk>
Mon, 24 Feb 2025 04:13:19 +0000 (20:13 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Feb 2025 19:56:13 +0000 (12:56 -0700)
commit89baa22d75278b69d3a30f86c3f47ac3a3a659e9
treeb919a68816769c16f95f4516d240e5b31c5cab32
parent6699ec9a23f85f1764183430209c741847c45f12
io_uring/zcrx: add selftest case for recvzc with read limit

Add a selftest case to iou-zcrx where the sender sends 4x4K = 16K and
the receiver does 4x4K recvzc requests. Validate that the requests
complete successfully and that the data is not corrupted.

Signed-off-by: David Wei <dw@davidwei.uk>
Link: https://lore.kernel.org/r/20250224041319.2389785-3-dw@davidwei.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
tools/testing/selftests/drivers/net/hw/iou-zcrx.py