mbox series

[net-next,v1,0/6] lan78xx: Preparations for PHYlink

Message ID 20241216120941.1690908-1-o.rempel@pengutronix.de (mailing list archive)
Headers show
Series lan78xx: Preparations for PHYlink | expand

Message

Oleksij Rempel Dec. 16, 2024, 12:09 p.m. UTC
This patch set is a third part of the preparatory work for migrating
the lan78xx USB Ethernet driver to the PHYlink framework. During
extensive testing, I observed that resetting the USB adapter can lead to
various read/write errors. While the errors themselves are acceptable,
they generate excessive log messages, resulting in significant log spam.
This set improves error handling to reduce logging noise by addressing
errors directly and returning early when necessary.

Oleksij Rempel (6):
  net: usb: lan78xx: Add error handling to lan78xx_get_regs
  net: usb: lan78xx: Use ETIMEDOUT instead of ETIME in lan78xx_stop_hw
  net: usb: lan78xx: Use action-specific label in lan78xx_mac_reset
  net: usb: lan78xx: rename phy_mutex to mdiobus_mutex
  net: usb: lan78xx: remove PHY register access from ethtool get_regs
  net: usb: lan78xx: Improve error handling in WoL operations

 drivers/net/usb/lan78xx.c | 73 +++++++++++++++++++++------------------
 1 file changed, 40 insertions(+), 33 deletions(-)

--
2.39.5

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 18, 2024, 4:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 16 Dec 2024 13:09:35 +0100 you wrote:
> This patch set is a third part of the preparatory work for migrating
> the lan78xx USB Ethernet driver to the PHYlink framework. During
> extensive testing, I observed that resetting the USB adapter can lead to
> various read/write errors. While the errors themselves are acceptable,
> they generate excessive log messages, resulting in significant log spam.
> This set improves error handling to reduce logging noise by addressing
> errors directly and returning early when necessary.
> 
> [...]

Here is the summary with links:
  - [net-next,v1,1/6] net: usb: lan78xx: Add error handling to lan78xx_get_regs
    https://git.kernel.org/netdev/net-next/c/30c63abaee90
  - [net-next,v1,2/6] net: usb: lan78xx: Use ETIMEDOUT instead of ETIME in lan78xx_stop_hw
    https://git.kernel.org/netdev/net-next/c/18bdefe62439
  - [net-next,v1,3/6] net: usb: lan78xx: Use action-specific label in lan78xx_mac_reset
    https://git.kernel.org/netdev/net-next/c/7433d022b915
  - [net-next,v1,4/6] net: usb: lan78xx: rename phy_mutex to mdiobus_mutex
    https://git.kernel.org/netdev/net-next/c/3a59437ed907
  - [net-next,v1,5/6] net: usb: lan78xx: remove PHY register access from ethtool get_regs
    https://git.kernel.org/netdev/net-next/c/d09de7ebd4ab
  - [net-next,v1,6/6] net: usb: lan78xx: Improve error handling in WoL operations
    https://git.kernel.org/netdev/net-next/c/01e2f4d55bda

You are awesome, thank you!