HomeFreeBSD

cxgbe(4): make it safe to call setup_memwin repeatedly.

Description

cxgbe(4): make it safe to call setup_memwin repeatedly.

A repeat call will recreate the memory windows in the hardware and move
them to their last-known positions without repeating any of the software
initialization.

Sponsored by: Chelsio Communications

(cherry picked from commit a1d803c162067b6cd334fc8a44a89f26cc82d83b)

Details

Provenance
npAuthored on Mar 19 2021, 7:30 PM
Parents
rG564d1f6aef5e: cxgbe(4): use standard sysctl routines to deal with 16b values.
Branches
Unknown
Tags
Unknown