commit | e11703330a5df48e1fd4167e4d22a102e517253e | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Sun Jun 28 10:04:51 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 29 17:24:31 2020 -0700 |
tree | 89085db307feae804b51fc0091198ea321aab9b9 | |
parent | 10780291724bc11da5ed9a83be7f755e4ab3c554 [diff] |
net: phy: marvell10g: support XFI rate matching mode When the hardware MACTYPE hardware configuration pins are set to "XFI with Rate Matching" the PHY interface operate at fixed 10Gbps speed. The MAC buffer packets in both directions to match various wire speeds. Read the MAC Type field in the Port Control register, and set the MAC interface speed accordingly. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>