Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/net: don't tests batched TCP io_uring zc

It doesn't make sense batch submitting io_uring requests to a single TCP
socket without linking or some other kind of ordering. Moreover, it
causes spurious -EINTR fails due to interaction with task_work. Disable
it for now and keep queue depth=1.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b547698d5938b1b1a898af1c260188d8546ded9a.1666700897.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Pavel Begunkov and committed by
Jens Axboe
9921d501 b3026767

+1 -1
+1 -1
tools/testing/selftests/net/io_uring_zerocopy_tx.sh
··· 29 29 for IP in "${IPs[@]}"; do 30 30 for mode in $(seq 1 3); do 31 31 $0 "$IP" udp -m "$mode" -t 1 -n 32 32 - $0 "$IP" tcp -m "$mode" -t 1 -n 32 32 + $0 "$IP" tcp -m "$mode" -t 1 -n 1 33 33 done 34 34 done 35 35