[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YPXXDDcH1Gs2Oek8@lunn.ch>
Date: Mon, 19 Jul 2021 21:48:28 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Hao Chen <chenhaoa@...ontech.com>
Cc: peppe.cavallaro@...com, alexandre.torgue@...s.st.com,
joabreu@...opsys.com, davem@...emloft.net, kuba@...nel.org,
mcoquelin.stm32@...il.com, linux@...linux.org.uk,
netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] net: stmmac: fix 'ethtool -P' return -EBUSY
On Mon, Jul 19, 2021 at 05:32:07PM +0800, Hao Chen wrote:
> The permanent mac address should be available for query when the device
> is not up.
> NetworkManager, the system network daemon, uses 'ethtool -P' to obtain
> the permanent address after the kernel start. When the network device
> is not up, it will return the device busy error with 'ethtool -P'. At
> that time, it is unable to access the Internet through the permanent
> address by NetworkManager.
> I think that the '.begin' is not used to check if the device is up.
You forgot to update the commit message.
Andrew
Powered by blists - more mailing lists