[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+FuTSfFmgwvLfkvk0knA0G7mbuKw3PdX=M9AAhLjxKuUYEO+g@mail.gmail.com>
Date: Wed, 29 Dec 2021 09:16:37 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Jianguo Wu <wujianguo106@....com>
Cc: Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org
Subject: Re: [PATCH] selftests/net: udpgso_bench_tx: fix dst ip argument
On Wed, Dec 29, 2021 at 5:58 AM Jianguo Wu <wujianguo106@....com> wrote:
>
> From: wujianguo <wujianguo@...natelecom.cn>
>
> 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 <wujianguo@...natelecom.cn>
Reviewed-by: Willem de Bruijn <willemb@...gle.com>
The udpgso_bench_tx equivalent to commit d336509cb9d0 ("selftests/net:
udpgso_bench_rx: fix port argument"). Thanks.
Powered by blists - more mailing lists