Re: [PATCH net-next 1/4] enetc: Introduce basic PF and VF ENETC ethernet drivers

From: Andrew Lunn
Date: Fri Nov 16 2018 - 18:48:32 EST


> I know phylib has some limitations that are supposed to be addressed by phylink,
> but I didn't figure out yet how phylink does that or whether it works on our designs
> too.

Anything which phylib can do, phylink should also be able to do.

And phylink should make it easier to support SGMII. If you are using
the in-band signalling, you need to get that information out of the
MAC. And when you add support for 2.5G, you need to dynamically
reconfigure your SGMII link, depending on what speed the PHY decides
to do. phylink will help with that.

But you can start with phylib and convert later, if you want.

Andrew