Thread (9 messages) 9 messages, 2 authors, 2025-09-19

Re: [PATCH net 3/3] net: hns3: use user configure after hardware reset when using kernel PHY

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-09-19 12:20:44
Also in: lkml

On Fri, Sep 19, 2025 at 02:07:34PM +0800, Jijie Shao wrote:
on 2025/9/18 1:11, Andrew Lunn wrote:
quoted
On Wed, Sep 17, 2025 at 08:29:54PM +0800, Jijie Shao wrote:
quoted
When a reset occurring
Why would a reset occur? Is it the firmware crashing?
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help