Re: [PATCH net-next 5/6] mlxsw: pci: Move software reset code to a separate function

From
Simon Horman <hidden>
Date
2023-03-26 14:03:31
Reply to
Petr Machata, 2023-03-22
On Wed, Mar 22, 2023 at 05:49:34PM +0100, Petr Machata wrote:
From: Amit Cohen <redacted>

In general, the existing flow of software reset in the driver is:
1. Wait for system ready status.
2. Send MRSR command, to start the reset.
3. Wait for system ready status.

This flow will be extended once a new reset command is supported. As a
preparation, move step #2 to a separate function.

Signed-off-by: Amit Cohen <redacted>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Simon Horman <redacted>
Thread (25 messages) 25 messages, 7 authors, last reply 2023-04-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help