Re: [PATCH net-next] net: phy: Do not check Link status when loopback is enabled
From: David Miller
Date: Fri Sep 06 2019 - 09:11:45 EST
From: Jose Abreu <Jose.Abreu@xxxxxxxxxxxx>
Date: Thu, 5 Sep 2019 13:43:10 +0200
> While running stmmac selftests I found that in my 1G setup some tests
> were failling when running with PHY loopback enabled.
>
> It looks like when loopback is enabled the PHY will report that Link is
> down even though there is a valid connection.
>
> As in loopback mode the data will not be sent anywhere we can bypass the
> logic of checking if Link is valid thus saving unecessary reads.
>
> Signed-off-by: Jose Abreu <joabreu@xxxxxxxxxxxx>
Applied to net-next.