From: Maxime Chevallier <maxime.chevallier@bootlin.com>
To: davem@davemloft.net, Michal Kubecek <mkubecek@suse.cz>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
thomas.petazzoni@bootlin.com, Andrew Lunn <andrew@lunn.ch>,
Jakub Kicinski <kuba@kernel.org>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>,
Russell King <linux@armlinux.org.uk>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Herve Codina <herve.codina@bootlin.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Oleksij Rempel <o.rempel@pengutronix.de>,
Simon Horman <horms@kernel.org>
Subject: Re: [PATCH ethtool-next v3 3/3] ethtool: Introduce a command to list PHYs
Date: Thu, 5 Sep 2024 17:43:36 +0200 [thread overview]
Message-ID: <20240905174336.1ba5d8d7@fedora.home> (raw)
In-Reply-To: <20240905102417.232890-4-maxime.chevallier@bootlin.com>
Hi everyone,
On Thu, 5 Sep 2024 12:24:16 +0200
Maxime Chevallier <maxime.chevallier@bootlin.com> wrote:
> It is now possible to list all Ethernet PHYs that are present behind a
> given interface, since the following linux commit :
> 63d5eaf35ac3 ("net: ethtool: Introduce a command to list PHYs on an interface")
>
> This command relies on the netlink DUMP command to list them, by allowing to
> pass an interface name/id as a parameter in the DUMP request to only
> list PHYs on one interface.
>
> Therefore, we introduce a new helper function to prepare a interface-filtered
> dump request (the filter can be empty, to perform an unfiltered dump),
> and then uses it to implement PHY enumeration through the --show-phys
> command.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Damn I just realised the netlink dependency was left-out of the
patchset, I'll fix that in the next revision... sorry for the noise.
Maxime
prev parent reply other threads:[~2024-09-05 15:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 10:24 [PATCH ethtool-next v3 0/3] Introduce PHY listing and targeting Maxime Chevallier
2024-09-05 10:24 ` [PATCH ethtool-next v3 1/3] update UAPI header copies Maxime Chevallier
2024-09-05 10:24 ` [PATCH ethtool-next v3 2/3] ethtool: Allow passing a PHY index for phy-targetting commands Maxime Chevallier
2024-09-05 10:24 ` [PATCH ethtool-next v3 3/3] ethtool: Introduce a command to list PHYs Maxime Chevallier
2024-09-05 15:43 ` Maxime Chevallier [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=20240905174336.1ba5d8d7@fedora.home \
--to=maxime.chevallier@bootlin.com \
--cc=andrew@lunn.ch \
--cc=christophe.leroy@csgroup.eu \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=herve.codina@bootlin.com \
--cc=hkallweit1@gmail.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=pabeni@redhat.com \
--cc=thomas.petazzoni@bootlin.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
all inboxes | Powered by JetHome®