Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Russell King - ARM Linux
er.kernel.org; thomas.petazz...@bootlin.com; > > maxime.chevall...@bootlin.com; miquel.ray...@bootlin.com; Nadav Haklai > > <nad...@marvell.com>; Yan Markman <ymark...@marvell.com>; > > m...@semihalf.com; linux-arm-ker...@lists.infradead.org > > Sub

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Russell King - ARM Linux
miquel.ray...@bootlin.com; Nadav Haklai > > ; Yan Markman ; > > m...@semihalf.com; linux-arm-ker...@lists.infradead.org > > Subject: Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR > > interface to use in-band negotiation > > > > > > If they don't

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Andrew Lunn
> This would definitively work for SFP connectors with a PHY, but would > that work when using direct attached cable? Then you need to know what is on the other end of the cable? A switch? A PHY? and SFP module? Andrew

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Andrew Lunn
> This would definitively work for SFP connectors with a PHY, but would > that work when using direct attached cable? Then you need to know what is on the other end of the cable? A switch? A PHY? and SFP module? Andrew

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Andrew Lunn
> phylink pool SFP loss signal to determine link up/down? Yes, the SFP driver will act on a GPIO for link up/down, and a GPIO for module prescience. When it detects an SFP module hotplugged, it reads the EEPROM to find out what sort of module it is, and what mode should be used between the MAC

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Andrew Lunn
> phylink pool SFP loss signal to determine link up/down? Yes, the SFP driver will act on a GPIO for link up/down, and a GPIO for module prescience. When it detects an SFP module hotplugged, it reads the EEPROM to find out what sort of module it is, and what mode should be used between the MAC

RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Stefan Chulski
aklai > <nad...@marvell.com>; Yan Markman <ymark...@marvell.com>; > m...@semihalf.com; linux-arm-ker...@lists.infradead.org > Subject: Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR > interface to use in-band negotiation > > > > If the

RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Stefan Chulski
ct: 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 c

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Antoine Tenart
On Mon, Mar 19, 2018 at 02:08:23PM +0100, Andrew Lunn wrote: > > > If they don't have PHYs, how are the connected to the outside world? > > > > 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

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Antoine Tenart
On Mon, Mar 19, 2018 at 02:08:23PM +0100, Andrew Lunn wrote: > > > If they don't have PHYs, how are the connected to the outside world? > > > > 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

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Andrew Lunn
> > 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

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Andrew Lunn
> > 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

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Russell King - ARM Linux
.org; linux-kernel@vger.kernel.org; > thomas.petazz...@bootlin.com; maxime.chevall...@bootlin.com; > miquel.ray...@bootlin.com; Nadav Haklai <nad...@marvell.com>; Yan Markman > <ymark...@marvell.com>; m...@semihalf.com; > linux-arm-ker...@lists.infradead.org > Subject: R

Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Russell King - ARM Linux
@bootlin.com; maxime.chevall...@bootlin.com; > miquel.ray...@bootlin.com; Nadav Haklai ; Yan Markman > ; m...@semihalf.com; > linux-arm-ker...@lists.infradead.org > Subject: RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR > interface to use in-band negotiation >

RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Stefan Chulski
; Chulski <stef...@marvell.com>; Yan Markman <ymark...@marvell.com>; > m...@semihalf.com; linux-arm-ker...@lists.infradead.org > Subject: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR > interface to use in-band negotiation > > External Email > > --

RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Stefan Chulski
t: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR > interface to use in-band negotiation > > External Email > > -- > Hi Antoine > > > You guessed right, that's exactly my use ca

RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Yan Markman
ai <nad...@marvell.com>; Yan Markman <ymark...@marvell.com>; m...@semihalf.com; linux-arm-ker...@lists.infradead.org Subject: RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation > > > There is no inband negotiation li

RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Yan Markman
radead.org Subject: RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation > > > There is no inband negotiation like there is with 802.3z or SGMII, > > > so this makes no sense. > > > > Oh, that's what I feared.

RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Stefan Chulski
> > > There is no inband negotiation like there is with 802.3z or SGMII, > > > so this makes no sense. > > > > Oh, that's what I feared. I read some docs but probably will need more > > :) > > > > Anyway, the reason to use in-band negotiation was also to avoid using > > fixed-link. It would work

RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation

2018-03-19 Thread Stefan Chulski
> > > There is no inband negotiation like there is with 802.3z or SGMII, > > > so this makes no sense. > > > > Oh, that's what I feared. I read some docs but probably will need more > > :) > > > > Anyway, the reason to use in-band negotiation was also to avoid using > > fixed-link. It would work