Thread (3 messages) 3 messages, 3 authors, 2021-12-30

Re: [PATCH] selftests/net: udpgso_bench_tx: fix dst ip argument

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2021-12-29 14:17:17

On Wed, Dec 29, 2021 at 5:58 AM Jianguo Wu [off-list ref] wrote:
From: wujianguo <redacted>

udpgso_bench_tx call setup_sockaddr() for dest address before
parsing all arguments, if we specify "-p ${dst_port}" after "-D ${dst_ip}",
then ${dst_port} will be ignored, and using default cfg_port 8000.

This will cause test case "multiple GRO socks" failed in udpgro.sh.

Setup sockaddr after after parsing all arguments.

Fixes: 3a687bef148d ("selftests: udp gso benchmark")
Signed-off-by: Jianguo Wu <redacted>
Reviewed-by: Willem de Bruijn <willemb@google.com>

The udpgso_bench_tx equivalent to commit d336509cb9d0 ("selftests/net:
udpgso_bench_rx: fix port argument"). Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help