aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorNimrod Oren <[email protected]>2025-07-22 12:26:55 +0000
committerJakub Kicinski <[email protected]>2025-07-24 01:52:12 +0000
commit86941382508850d58c11bdafe0fec646dfd31b09 (patch)
tree137d9a9dc60936fa8aa637666237f8ff7ec256c6 /rust/helpers/task.c
parentMAINTAINERS: Add in6.h to MAINTAINERS (diff)
downloadkernel-86941382508850d58c11bdafe0fec646dfd31b09.tar.gz
kernel-86941382508850d58c11bdafe0fec646dfd31b09.zip
selftests: drv-net: wait for iperf client to stop sending
A few packets may still be sent out during the termination of iperf processes. These late packets cause failures in rss_ctx.py when they arrive on queues expected to be empty. Example failure observed: Check failed 2 != 0 traffic on inactive queues (context 1): [0, 0, 1, 1, 386385, 397196, 0, 0, 0, 0, ...] Check failed 4 != 0 traffic on inactive queues (context 2): [0, 0, 0, 0, 2, 2, 247152, 253013, 0, 0, ...] Check failed 2 != 0 traffic on inactive queues (context 3): [0, 0, 0, 0, 0, 0, 1, 1, 282434, 283070, ...] To avoid such failures, wait until all client sockets for the requested port are either closed or in the TIME_WAIT state. Fixes: 847aa551fa78 ("selftests: drv-net: rss_ctx: factor out send traffic and check") Signed-off-by: Nimrod Oren <[email protected]> Reviewed-by: Gal Pressman <[email protected]> Reviewed-by: Carolina Jubran <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions