HomeFreeBSD

Add error handling to the ENA driver if init of the reset task fails

Description

Add error handling to the ENA driver if init of the reset task fails

Also, to simplify cleaning routine, reset task is initialized before
allocating statistics and other resources.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon.com Inc.
Differential revision: https://reviews.freebsd.org/D10925

Details

Provenance
zbbAuthored on
Differential Revision
D10925: ena: add error handling if init of the reset task fails
Parents
rS319198: Add locks before each ena_up and ena_down
Branches
Unknown
Tags
Unknown