Re: [PATCH 1/3] net: ethernet: add support for PCS and 2.5G speed

2019-02-26 Thread David Miller
From: Date: Tue, 26 Feb 2019 09:23:04 + > This patch series seem pretty intrusive, so I would like that you wait > for my explicit ACK before applying even next versions of it. Ok.

Re: [PATCH 1/3] net: ethernet: add support for PCS and 2.5G speed

2019-02-26 Thread Nicolas.Ferre
$subject should begin with "net: macb: " Parshuram, Sorry but NACK on the series. David, This patch series seem pretty intrusive, so I would like that you wait for my explicit ACK before applying even next versions of it. More comments below... On 25/02/2019 at 18:21, Florian Fainelli wrote

Re: [PATCH 1/3] net: ethernet: add support for PCS and 2.5G speed

2019-02-25 Thread Florian Fainelli
On 2/25/19 1:11 AM, Parshuram Raju Thombare wrote: >> Le 2/22/19 à 12:12 PM, Parshuram Thombare a écrit : >>> This patch add support for PCS (for SGMII interface) and 2.5Gbps MAC >>> in Cadence ethernet controller driver. >> >> At a high level you don't seem to be making use of PHYLINK so which 2.5

RE: [PATCH 1/3] net: ethernet: add support for PCS and 2.5G speed

2019-02-25 Thread Parshuram Raju Thombare
>Le 2/22/19 à 12:12 PM, Parshuram Thombare a écrit : >> This patch add support for PCS (for SGMII interface) and 2.5Gbps MAC >> in Cadence ethernet controller driver. > >At a high level you don't seem to be making use of PHYLINK so which 2.5Gbps >interfaces do you actually support? > New ethernet

Re: [PATCH 1/3] net: ethernet: add support for PCS and 2.5G speed

2019-02-24 Thread Florian Fainelli
Le 2/22/19 à 12:12 PM, Parshuram Thombare a écrit : > This patch add support for PCS (for SGMII interface) and 2.5Gbps MAC > in Cadence ethernet controller driver. At a high level you don't seem to be making use of PHYLINK so which 2.5Gbps interfaces do you actually support? > > Signed-off-by: P

RE: [PATCH 1/3] net: ethernet: add support for PCS and 2.5G speed

2019-02-22 Thread Parshuram Raju Thombare
>> /* mask with MAC supported features */ >> -if (macb_is_gem(bp) && bp->caps & >MACB_CAPS_GIGABIT_MODE_AVAILABLE) >> -phy_set_max_speed(phydev, SPEED_1000); >> -else >> -phy_set_max_speed(phydev, SPEED_100); >> +if (macb_is_gem(bp)) { >> +linkmo

Re: [PATCH 1/3] net: ethernet: add support for PCS and 2.5G speed

2019-02-22 Thread Andrew Lunn
> /* mask with MAC supported features */ > - if (macb_is_gem(bp) && bp->caps & MACB_CAPS_GIGABIT_MODE_AVAILABLE) > - phy_set_max_speed(phydev, SPEED_1000); > - else > - phy_set_max_speed(phydev, SPEED_100); > + if (macb_is_gem(bp)) { > + linkmod

[PATCH 1/3] net: ethernet: add support for PCS and 2.5G speed

2019-02-22 Thread Parshuram Thombare
This patch add support for PCS (for SGMII interface) and 2.5Gbps MAC in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 20 drivers/net/ethernet/cadence/macb_main.c | 154 +++--- 2 files changed,