[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c0c20c46-a4c5-4838-a0c0-f2d5932c2ae8@lunn.ch>
Date: Fri, 19 Sep 2025 14:20:19 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Jijie Shao <shaojijie@...wei.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
shenjian15@...wei.com, liuyonglong@...wei.com,
chenhao418@...wei.com, lantao5@...wei.com,
huangdonghua3@...artners.com, yangshuaisong@...artners.com,
huangdengdui@...artners.com, jonathan.cameron@...wei.com,
salil.mehta@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 3/3] net: hns3: use user configure after hardware
reset when using kernel PHY
On Fri, Sep 19, 2025 at 02:07:34PM +0800, Jijie Shao wrote:
>
> on 2025/9/18 1:11, Andrew Lunn wrote:
> > On Wed, Sep 17, 2025 at 08:29:54PM +0800, Jijie Shao wrote:
> > > When a reset occurring
> > Why would a reset occur? Is it the firmware crashing?
> >
> > > Consider the case that reset was happened consecutively.
> > Does that mean the firmware crashed twice in quick succession?
> >
> > Andrew
>
> Actually, We can trigger a reset by ethtool:
> ethtool --reset ethx...
For that, RTNL should be held. So the configuration cannot change
while the reset is happening. Two resets in quick success should not
be an issue, because they will be complete sequential, one finished
before the next one started.
Andrew
Powered by blists - more mailing lists