HomeFreeBSD

Split the interrupt setup code into two parts: allocation and configuration.

Description

Split the interrupt setup code into two parts: allocation and configuration.
Do the allocation before requesting the IOCFacts message.  This triggers
the LSI firmware to recognize the multiqueue should be enabled if available.
Multiqueue isn't used by the driver yet, but this also fixes a problem with
the cached IOCFacts not matching latter checks, leading to potential problems
with error recovery.

As a side-effect, fetch the driver tunables as early as possible.

Reviewed by: slm
Obtained from: Netflix
Differential Revision: D9243

Details

Provenance
scottlAuthored on
Reviewer
slm
Differential Revision
D9243: Refactor MPR/MPS interrupt setup code.
Parents
rS321713: Bump copyright year.
Branches
Unknown
Tags
Unknown