mbox series

[net-next,0/2] Rate adaptation for Felix DSA switch

Message ID 20200116181933.32765-1-olteanv@gmail.com
Headers show
Series Rate adaptation for Felix DSA switch | expand

Message

Vladimir Oltean Jan. 16, 2020, 6:19 p.m. UTC
When operating the MAC at 2.5Gbps (2500Base-X and USXGMII/QSXGMII) and
in combination with certain PHYs, it is possible that the copper side
may operate at lower link speeds. In this case, it is the PHY who has a
MAC inside of it that emits pause frames towards the switch's MAC,
telling it to slow down so that the transmission is lossless.

These patches are the support needed for the switch side of things to
work.

Alex Marginean (2):
  net: dsa: felix: Handle PAUSE RX regardless of AN result
  net: dsa: felix: Allow PHY to AN 10/100/1000 with 2500 serdes link

 drivers/net/dsa/ocelot/felix.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Comments

David Miller Jan. 19, 2020, 3 p.m. UTC | #1
From: Vladimir Oltean <olteanv@gmail.com>
Date: Thu, 16 Jan 2020 20:19:31 +0200

> When operating the MAC at 2.5Gbps (2500Base-X and USXGMII/QSXGMII) and
> in combination with certain PHYs, it is possible that the copper side
> may operate at lower link speeds. In this case, it is the PHY who has a
> MAC inside of it that emits pause frames towards the switch's MAC,
> telling it to slow down so that the transmission is lossless.
> 
> These patches are the support needed for the switch side of things to
> work.

Series applied, thanks.