[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ba51a79-5a0e-42ab-90aa-950673633cda@lunn.ch>
Date: Mon, 20 Oct 2025 21:07:20 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Maxime Chevallier <maxime.chevallier@...tlin.com>
Cc: Raju Rangoju <Raju.Rangoju@....com>, netdev@...r.kernel.org,
pabeni@...hat.com, kuba@...nel.org, edumazet@...gle.com,
davem@...emloft.net, andrew+netdev@...n.ch,
Shyam-sundar.S-k@....com
Subject: Re: [PATCH net-next v3 2/4] amd-xgbe: add ethtool phy selftest
On Mon, Oct 20, 2025 at 06:19:55PM +0200, Maxime Chevallier wrote:
> Hi Raju,
>
> On 20/10/2025 17:22, Raju Rangoju wrote:
> > Adds support for ethtool PHY loopback selftest. It uses
> > genphy_loopback function, which use BMCR loopback bit to
> > enable or disable loopback.
> >
> > Signed-off-by: Raju Rangoju <Raju.Rangoju@....com>
>
> This all looks a lot like the stmmac selftests, hopefully one day
> we can extract that logic into a more generic selftest framework
> for all drivers to use.
https://elixir.bootlin.com/linux/v6.17.3/source/net/core/selftests.c#L441
Sorry, not looked at the patch to see if this is relevant for this
driver. But we do have a generic selftest framework...
Andrew
Powered by blists - more mailing lists