Re: [PATCH net-next 0/2] net: phy: Add ability to debug RGMII connections

From: David Miller
Date: Thu Oct 17 2019 - 15:24:46 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Tue, 15 Oct 2019 15:49:51 -0700

> This patch series is primarily intended to reduce the amount of support
> involved with bringing up RGMII connections with the PHY library (or
> PHYLINK) for that matter. The idea consists in looping back a packet we
> just crafted and check whether it did came back correctly, if that is
> the case, we are good, else we must try configuring the PHY for
> different delays until it either works or we bail out.
>
> As indicated in the commit message, future improvements could probably
> be done in order to converge faster on the appropriate configuration.
> This is intended to be PHY centric, and we are not playing with delays
> on the MAC side other than through the parsing of the phydev->interface.
>
> The typical output would look like this:
>
> [ 62.668701] bcmgenet 8f00000.ethernet eth0: Trying "rgmii-txid" PHY interface
> [ 62.676094] bcmgenet 8f00000.ethernet eth0: Determined "rgmii-txid" to be correct
>
> Feedback highly welcome on this!

Looks like there was some feedback, please address.

Thank you.