From: Petr Machata <petrm@nvidia.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: <davem@davemloft.net>, <netdev@vger.kernel.org>,
<edumazet@google.com>, <pabeni@redhat.com>,
<willemdebruijn.kernel@gmail.com>, <ecree.xilinx@gmail.com>,
<dw@davidwei.uk>, <przemyslaw.kitszel@intel.com>,
<michael.chan@broadcom.com>, <andrew.gospodarek@broadcom.com>,
<leitao@debian.org>, <petrm@nvidia.com>
Subject: Re: [PATCH net-next v3 1/4] selftests: drv-net: try to check if port is in use
Date: Wed, 26 Jun 2024 12:10:30 +0200 [thread overview]
Message-ID: <87pls49fq4.fsf@nvidia.com> (raw)
In-Reply-To: <20240626012456.2326192-2-kuba@kernel.org>
Jakub Kicinski <kuba@kernel.org> writes:
> We use random ports for communication. As Willem predicted
> this leads to occasional failures. Try to check if port is
> already in use by opening a socket and binding to that port.
>
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Petr Machata <petrm@nvidia.com>
next prev parent reply other threads:[~2024-06-26 10:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-26 1:24 [PATCH net-next v3 0/4] selftests: drv-net: rss_ctx: add tests for RSS contexts Jakub Kicinski
2024-06-26 1:24 ` [PATCH net-next v3 1/4] selftests: drv-net: try to check if port is in use Jakub Kicinski
2024-06-26 10:10 ` Petr Machata [this message]
2024-06-26 10:28 ` Willem de Bruijn
2024-06-26 1:24 ` [PATCH net-next v3 2/4] selftests: drv-net: add helper to wait for HW stats to sync Jakub Kicinski
2024-06-26 9:49 ` Petr Machata
2024-06-26 10:29 ` Willem de Bruijn
2024-06-26 1:24 ` [PATCH net-next v3 3/4] selftests: drv-net: add ability to wait for at least N packets to load gen Jakub Kicinski
2024-06-26 10:11 ` Petr Machata
2024-06-26 10:29 ` Willem de Bruijn
2024-06-26 1:24 ` [PATCH net-next v3 4/4] selftests: drv-net: rss_ctx: add tests for RSS configuration and contexts Jakub Kicinski
2024-06-26 10:11 ` Petr Machata
2024-06-26 10:36 ` Willem de Bruijn
2024-06-26 16:50 ` [PATCH net-next v3 0/4] selftests: drv-net: rss_ctx: add tests for RSS contexts Edward Cree
2024-06-26 17:00 ` Jakub Kicinski
2024-06-27 2:10 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pls49fq4.fsf@nvidia.com \
--to=petrm@nvidia.com \
--cc=andrew.gospodarek@broadcom.com \
--cc=davem@davemloft.net \
--cc=dw@davidwei.uk \
--cc=ecree.xilinx@gmail.com \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=leitao@debian.org \
--cc=michael.chan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@intel.com \
--cc=willemdebruijn.kernel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).