Re: [PATCH net] net: phy: skip EEE advertisement write when autoneg is disabled

From: Andrew Lunn

Date: Sat May 16 2026 - 10:23:23 EST


> On at least the Broadcom BCM54213PE PHY, however, the indirect MMD
> write triggered from this path while the link is currently forced
> (autoneg off) disturbs the receive datapath


> + /* MMD AN advertisements are only consumed during autoneg. */
> + if (phydev->autoneg == AUTONEG_DISABLE)
> + return 0;

You are not adding this condition because it is not consumed, but
because it is consumed and then bad things happen. Please could you
make the comment accurate.

Andrew

---
pw-bot: cr