Skip to content

Commit 9921d50

Browse files
isilenceaxboe
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/b547698d5938b1b1a898af1c260188d8546ded9a.1666700897.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
1 parent b302676 commit 9921d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/net/io_uring_zerocopy_tx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [[ "$#" -eq "0" ]]; then
2929
for IP in "${IPs[@]}"; do
3030
for mode in $(seq 1 3); do
3131
$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
3333
done
3434
done
3535

0 commit comments

Comments
 (0)