RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation
From: Stefan Chulski
Date: Mon Mar 19 2018 - 09:20:04 EST
> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@xxxxxxx]
> Sent: Monday, March 19, 2018 3:08 PM
> To: Stefan Chulski <stefanc@xxxxxxxxxxx>
> Cc: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>; Russell King - ARM Linux
> <linux@xxxxxxxxxxxxxxx>; davem@xxxxxxxxxxxxx; kishon@xxxxxx;
> gregory.clement@xxxxxxxxxxx; jason@xxxxxxxxxxxxxx;
> sebastian.hesselbarth@xxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; thomas.petazzoni@xxxxxxxxxxx;
> maxime.chevallier@xxxxxxxxxxx; miquel.raynal@xxxxxxxxxxx; Nadav Haklai
> <nadavh@xxxxxxxxxxx>; Yan Markman <ymarkman@xxxxxxxxxxx>;
> mw@xxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR
> interface to use in-band negotiation
>
> > > If they don't have PHYs, how are the connected to the outside world?
> > >
> > > Andrew
> >
> > By external SFP or direct attached cable.
>
> Maybe i'm missing something, but don't you just need to add an SFP device
> in the device tree. The SFP code and PHYLINK will work together, query what
> the SFP module is, use the GPIOs to determine link up/down and module
> present, and tell the MAC how to configure the MAC-SFP link?
>
> Andrew
phylink pool SFP loss signal to determine link up/down?
Stefan,
Best Regards.