selftests: net: add multithread client support to iou-zcrx

Add pthreads to the iou-zcrx client so that multiple connections can be
established simultaneously. Each client thread connects to the server
and sends its payload independently.

Introduce the -t option to control the number of threads (default 1),
preserving backwards compatibility with existing tests.

Reviewed-by: David Wei <dw@davidwei.uk>
Signed-off-by: Juanlu Herrero <juanlu@fastmail.com>
Link: https://patch.msgid.link/20260909-iou-zcrx-v7-4-6b5d48a2a922@fastmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Juanlu Herrero 2026-09-09 14:51:26 -05:00 • committed by Jakub Kicinski
commit 2801895746
2 changed files with 33 additions and 4 deletions