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

Committed
zbbMay 30 2017, 11:56 AM
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