selftests: flip local/remote endpoints in iou-zcrx.py
authorVishwanath Seshagiri <vishs@fb.com>
Thu, 10 Jul 2025 16:53:37 +0000 (09:53 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 23:45:29 +0000 (16:45 -0700)
commit650fe2a9dd290078b782fb2e13dd4f5104a5de8b
tree968fad35ee1d7322af0525e176337a8046f6f0d3
parent4159a55f29e153e3d1d9f78f9476a022368f26b0
selftests: flip local/remote endpoints in iou-zcrx.py

The iou-zcrx selftest currently runs the server on the remote host
and the client on the local host. This commit flips the endpoints
such that server runs on localhost and client on remote.
This change brings the iou-zcrx selftest in convention with other
selftests.

Drive-by fix for a missing import exception that happens when the
network interface has less than 2 combined channels.

Test plan: ran iou-zcrx.py selftest between 2 physical machines

Signed-off-by: Vishwanath Seshagiri <vishs@fb.com>
Link: https://patch.msgid.link/20250710165337.614159-1-vishs@meta.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/iou-zcrx.py