On 5/27/2019 2:22 PM, Ioana Ciornei wrote: > For DSA switches that do not have an .adjust_link callback, aka those > who transitioned totally to the PHYLINK-compliant API, use PHYLINK to > drive the CPU/DSA ports. > > The PHYLIB usage and .adjust_link are kept but deprecated, and users are > asked to transition from it. The reason why we can't do anything for > them is because PHYLINK does not wrap the fixed-link state behind a > phydev object, so we cannot wrap .phylink_mac_config into .adjust_link > unless we fabricate a phy_device structure. > > For these ports, the newly introduced PHYLINK_DEV operation type is > used and the dsa_switch device structure is passed to PHYLINK for > printing purposes. The handling of the PHYLINK_NETDEV and PHYLINK_DEV > PHYLINK instances is common from the perspective of the driver. > > Signed-off-by: Ioana Ciornei <ioana.cior...@nxp.com> > Signed-off-by: Vladimir Oltean <olte...@gmail.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- Re: [PATCH 03/11] net: phy: Check agai... kbuild test robot
- Re: [PATCH 03/11] net: phy: Check agai... kbuild test robot
- Re: [PATCH 03/11] net: phy: Check agai... Andrew Lunn
- Re: [PATCH 03/11] net: phy: Check agai... Andrew Lunn
- [PATCH 01/11] net: phy: Add phy_sysfs_creat... Ioana Ciornei
- Re: [PATCH 01/11] net: phy: Add phy_sy... Fabio Estevam
- RE: [PATCH 01/11] net: phy: Add ph... Ioana Ciornei
- [PATCH 04/11] net: phy: Add phy_standalone ... Ioana Ciornei
- Re: [PATCH 04/11] net: phy: Add phy_st... Florian Fainelli
- [PATCH 10/11] net: dsa: Use PHYLINK for the... Ioana Ciornei
- Re: [PATCH 10/11] net: dsa: Use PHYLIN... Florian Fainelli
- Re: [PATCH 10/11] net: dsa: Use PHYLIN... kbuild test robot
- [RFC PATCH] net: dsa: dsa_port_phylink... kbuild test robot
- RE: [net] 9dd6d07682: kernel_BUG_at_dr... Ioana Ciornei
- Re: [net] 9dd6d07682: kernel_BUG_a... Russell King - ARM Linux admin
- Re: [net] 9dd6d07682: kernel_B... Ioana Ciornei
- Re: [net] 9dd6d07682: kern... Andrew Lunn
- [PATCH 02/11] net: phy: Guard against the p... Ioana Ciornei
- [PATCH 09/11] net: dsa: Move the phylink dr... Ioana Ciornei
- Re: [PATCH 09/11] net: dsa: Move the p... Florian Fainelli
- [PATCH 08/11] net: phylink: Add phylink_{pr... Ioana Ciornei