On 18/02/2025 2:19, Jakub Kicinski wrote: > Wouldn't it be both faster and less error prone to test this with UDP > sockets? > > sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM) > sock.connect(cfg.remove_addr_v[ipver], remote_port) > sock.recvmsg(100) > > tgt = f"{ipver}:{cfg.addr_v[ipver]}:{local_port},sourceport={remote_port}" > cmd("echo a | socat - UDP" + tgt, host=cfg.remote) > > cpu = sock.getsockopt(socket.SOL_SOCKET, socket.SO_INCOMING_CPU) > > Run this for 10 pairs for ports, make sure we hit at least 2 CPUs, > and that the CPUs match for each pair. Thanks, I can do that. > > Would be good to test both IPv4 and IPv6. I'm going to merge: > https://lore.kernel.org/all/20250217194200.3011136-4-kuba@xxxxxxxxxx/ > it should make writing the v4 + v6 test combos easier. Should I wait for it to get merged?