From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Markus Baier <Markus.Baier@soslab.tu-darmstadt.de>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Russell King <linux@armlinux.org.uk>,
Ethan Nelson-Moore <enelsonmoore@gmail.com>,
Miaoqian Lin <linmq006@gmail.com>,
linux-usb@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] net: usb: asix: ax88772: re-add usbnet_link_change() in phylink callbacks
Date: Mon, 4 May 2026 09:20:57 +0200 [thread overview]
Message-ID: <afhI2V94qRJdsYVi@pengutronix.de> (raw)
In-Reply-To: <20260501163941.107668-1-Markus.Baier@soslab.tu-darmstadt.de>
Hi Markus,
On Fri, May 01, 2026 at 06:39:41PM +0200, Markus Baier wrote:
> Commit e0bffe3e6894 ("net: asix: ax88772: migrate to phylink") replaced
> the asix_adjust_link() PHY callback with phylink's mac_link_up() and
> mac_link_down() handlers, but did not carry over the usbnet_link_change()
> notification that commit 805206e66fab ("net: asix: fix "can't send until
> first packet is send" issue") had added.
>
> As a result, the original symptom returns: when the link comes up,
> usbnet is never notified, so the RX URB submission stays dormant until
> some other event (e.g. a transmitted packet triggering the status
> endpoint interrupt) wakes it up.
>
> This is reproducible with the Apple A1277 USB Ethernet Adapter
> (05ac:1402, AX88772A based) on a Banana Pro using a static IPv4
> configuration. After bringing the interface up, no incoming packets are
> received until the first outgoing frame triggers usbnet's RX path.
>
> Restore the link change notification, gated on a carrier transition so
> the call remains idempotent if the status endpoint also reports the
> change later.
>
> Fixes: e0bffe3e6894 ("net: asix: ax88772: migrate to phylink")
> Assisted-by: Claude:claude-opus-4-7
> Signed-off-by: Markus Baier <Markus.Baier@soslab.tu-darmstadt.de>
I did some limited testing on AX88772C. Seems to work without
regressions:
Tested-by: Oleksij Rempel <o.rempel@pengutronix.de>
Sashiko suggests to update commit message:
https://sashiko.dev/#/patchset/20260501163941.107668-1-Markus.Baier%40soslab.tu-darmstadt.de
Thank you!
Best Regards,
Oleksij
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2026-05-04 7:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-01 16:39 [PATCH net] net: usb: asix: ax88772: re-add usbnet_link_change() in phylink callbacks Markus Baier
2026-05-04 7:20 ` Oleksij Rempel [this message]
2026-05-05 2:20 ` patchwork-bot+netdevbpf
2026-05-05 10:33 ` Baier, Markus
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=afhI2V94qRJdsYVi@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=Markus.Baier@soslab.tu-darmstadt.de \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=enelsonmoore@gmail.com \
--cc=kuba@kernel.org \
--cc=linmq006@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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