Re: [PATCH net-next v11 03/13] net: phy: add helpers to handle sfp phy connect/disconnect

From
Andrew Lunn <andrew@lunn.ch>
Date
2024-04-06 15:52:25
Also in
linux-arm-kernel, lkml
Reply to
Maxime Chevallier, 2024-04-04
On Thu, Apr 04, 2024 at 11:29:53AM +0200, Maxime Chevallier wrote:
There are a few PHY drivers that can handle SFP modules through their
sfp_upstream_ops. Introduce Phylib helpers to keep track of connected
SFP PHYs in a netdevice's namespace, by adding the SFP PHY to the
upstream PHY's netdev's namespace.

By doing so, these SFP PHYs can be enumerated and exposed to users,
which will be able to use their capabilities.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Thread (33 messages) 33 messages, 4 authors, last reply 2024-04-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help