]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: felix: Handle PAUSE RX regardless of AN result
authorAlex Marginean <alexandru.marginean@nxp.com>
Thu, 16 Jan 2020 18:19:32 +0000 (20:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:00:17 +0000 (16:00 +0100)
commitac9e2de4d8a6e3f9b129a773e996382ee8b6041d
tree3625957f9e31a07a6f2b7931f6b7c2222f9bad5f
parentd689b880406769d80cf201a037955700d97bb074
net: dsa: felix: Handle PAUSE RX regardless of AN result

Flow control is used with 2500Base-X and AQR PHYs to do rate adaptation
between line side 100/1000 links and MAC running at 2.5G.

This is independent of the flow control configuration settled on line
side though AN.

In general, allowing the MAC to handle flow control even if not
negotiated with the link partner should not be a problem, so the patch
just enables it in all cases.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix.c