HomeFreeBSD

ena: do not call reset if device is unresponsive

Description

ena: do not call reset if device is unresponsive

If the device becomes unresponsive, the driver will not be able to
finish the reset process correctly. Timeout during version validation
indicates that the device is currently not responding. In that case
do not perform the reset and instead reschedule timer service. Because
of that the driver will continue trying to reset the device until it
succeeds or is detached.

Submitted by: Dawid Gorecki <dgr@semihalf.com>
Obtained from: Semihalf
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

Details

Provenance
dgr_semihalf.comAuthored on Jan 3 2022, 1:50 PM
mwCommitted on Jan 23 2022, 7:48 PM
Parents
rG78554d0c707c: ena: start timer service on attach
Branches
Unknown
Tags
Unknown