Re: [RFC PATCH net] net: phy: transfer phy_config_inband() locking responsibility to phylink
From: Vladimir Oltean
Date: Tue Sep 02 2025 - 11:04:13 EST
On Tue, Sep 02, 2025 at 05:42:41PM +0300, Vladimir Oltean wrote:
> Can we disable the resolver from phylink_sfp_disconnect_phy(), to offer
> a similar guarantee that phylink_disconnect_phy() never runs with a
> concurrent resolver?
Hmm, I now noticed phylink_sfp_link_down() which does disable the
resolver already. I need to test/understand whether the SFP state
machine ever calls sfp_remove_phy() without a prior sfp_link_down(), if
the link was up.