On Tue, Sep 22, 2026 at 11:35:58AM +0000, Sergey Temerkhanov wrote:
Implement PCI device reset handler to allow the network device to
get re-initialized and function after a PCI-level reset.
This is necessary for the adapter to avoid TX queue timeouts
occurring after the PCI reset is performed via sysfs during
its operation.
The reset codepath may trigger a number of dependencies in the
reset of the driver, so that it is necessary to check if
the netdev is present and running there.
Fixes: 711d57796f5c ("PCI: expose function reset capability in sysfs")
Signed-off-by: Sergey Temerkhanov <redacted>
Reviewed-by: Przemyslaw Korba <redacted>
Reviewed-by: Aleksandr Loktionov <redacted>
Reviewed-by: Simon Horman <horms@kernel.org>