public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Tianyi Cui <1997cui@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] selftests/drivers/net: Support ipv6 for napi_id test
Date: Tue, 15 Jul 2025 15:28:43 -0700	[thread overview]
Message-ID: <20250715152843.1a1e8ff2@kernel.org> (raw)
In-Reply-To: <20250715212349.2308385-1-1997cui@gmail.com>

On Tue, 15 Jul 2025 14:23:05 -0700 Tianyi Cui wrote:
> -    listen_cmd = f"{cfg.test_dir}/napi_id_helper {cfg.addr_v['4']} {port}"
> +    listen_addr = cfg.addr_v['6'] if cfg.addr_v["6"] else cfg.addr_v["4"]

Would cfg.addr not work directly, in place of listen_addr?

From NetDrvEpEnv::__init__():

	self.addr_ipver = "6" if self.addr_v["6"] else "4"
        self.addr = self.addr_v[self.addr_ipver]
-- 
pw-bot: cr

      reply	other threads:[~2025-07-15 22:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15 21:23 [PATCH net-next] selftests/drivers/net: Support ipv6 for napi_id test Tianyi Cui
2025-07-15 22:28 ` Jakub Kicinski [this message]

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=20250715152843.1a1e8ff2@kernel.org \
    --to=kuba@kernel.org \
    --cc=1997cui@gmail.com \
    --cc=netdev@vger.kernel.org \
    /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