Re: [PATCH v2] net: phy: marvell10g: support XFI rate matching mode

2020-07-01 Thread Russell King - ARM Linux admin
On Wed, Jul 01, 2020 at 10:23:12AM +0300, Baruch Siach wrote: > Hi Russell, > > On Mon, Jun 29 2020, Russell King - ARM Linux admin wrote: > > Then there's the whole question of what phydev->speed etc should be set > > to - the media speed or the host side link speed with the PHY, and then > > how

Re: [PATCH v2] net: phy: marvell10g: support XFI rate matching mode

2020-07-01 Thread Baruch Siach
Hi Russell, On Mon, Jun 29 2020, Russell King - ARM Linux admin wrote: > On Sun, Jun 28, 2020 at 10:04:51AM +0300, Baruch Siach wrote: >> 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

Re: [PATCH v2] net: phy: marvell10g: support XFI rate matching mode

2020-06-29 Thread David Miller
From: Baruch Siach Date: Sun, 28 Jun 2020 10:04:51 +0300 > 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

Re: [PATCH v2] net: phy: marvell10g: support XFI rate matching mode

2020-06-29 Thread Russell King - ARM Linux admin
On Sun, Jun 28, 2020 at 10:04:51AM +0300, Baruch Siach wrote: > 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 Ty

[PATCH v2] net: phy: marvell10g: support XFI rate matching mode

2020-06-28 Thread Baruch Siach
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 a