Re: [PATCH net-next v2 11/13] net: phy: phylink: Add a mapping between MAC_CAPS and LINK_CAPS
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2025-02-26 14:03:29
Also in:
linux-arm-kernel, lkml
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2025-02-26 14:03:29
Also in:
linux-arm-kernel, lkml
On Wed, Feb 26, 2025 at 11:09:26AM +0100, Maxime Chevallier wrote:
phylink allows MAC drivers to report the capabilities in terms of speed, duplex and pause support. This is done through a dedicated set of enum values in the form of the MAC_ capabilities. They are very close to what the LINK_CAPA_xxx can express, with the difference that LINK_CAPA don't have any information about Pause/Asym Pause support. To prepare converting phylink to using the phy_caps, add the mapping between MAC capabilities and phy_caps. While doing so, we move the phylink_caps_params array up a bit to simplify future commits.
I still want to know why we need to do this type of thing - unfortunately I don't have time to review all your patches at the moment. I haven't reviewed all your patches since you've started posting them. Sorry. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!