From: Paolo Abeni <pabeni@redhat.com>
To: Nicolai Buchwitz <nb@tipi-net.de>, netdev@vger.kernel.org
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>,
Claudiu Beznea <claudiu.beznea@tuxon.dev>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next] net: cadence: macb: add ethtool nway_reset support
Date: Tue, 24 Feb 2026 15:15:14 +0100 [thread overview]
Message-ID: <62ceaf20-6bac-40f3-80aa-d6718b7bd742@redhat.com> (raw)
In-Reply-To: <20260223091454.44153-1-nb@tipi-net.de>
On 2/23/26 10:14 AM, Nicolai Buchwitz wrote:
> Wire phy_ethtool_nway_reset() as the .nway_reset ethtool operation,
> allowing userspace to restart PHY autonegotiation via 'ethtool -r'.
>
> Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
> ---
> drivers/net/ethernet/cadence/macb_main.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
> index 43cd013bb70e..47fd85cd9613 100644
> --- a/drivers/net/ethernet/cadence/macb_main.c
> +++ b/drivers/net/ethernet/cadence/macb_main.c
> @@ -3945,6 +3945,7 @@ static const struct ethtool_ops gem_ethtool_ops = {
> .get_rxnfc = gem_get_rxnfc,
> .set_rxnfc = gem_set_rxnfc,
> .get_rx_ring_count = gem_get_rx_ring_count,
> + .nway_reset = phy_ethtool_nway_reset,
Please use consistent indentation, i.e. align the '=' above.
Thanks,
Paolo
prev parent reply other threads:[~2026-02-24 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 9:14 Nicolai Buchwitz
2026-02-24 14:15 ` Paolo Abeni [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=62ceaf20-6bac-40f3-80aa-d6718b7bd742@redhat.com \
--to=pabeni@redhat.com \
--cc=andrew+netdev@lunn.ch \
--cc=claudiu.beznea@tuxon.dev \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nb@tipi-net.de \
--cc=netdev@vger.kernel.org \
--cc=nicolas.ferre@microchip.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®