HomeFreeBSD

cxgbe(4): Fix virtual interface reattach.

Description

cxgbe(4): Fix virtual interface reattach.

Replace the DOOMED flag with a transient DETACHING flag that is cleared
when VI is detached. This fixes VI reattach when only the VI and not
the parent nexus is detached. The old flag was never cleared and
prevented subsequent synch op's related to the VI.

PR: 275260
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D43287
Sponsored by: Chelsio Communications

(cherry picked from commit 0201eb29dde9dccbf796f81fbf18f3b21798183d)

Details

Provenance
npAuthored on Jan 2 2024, 9:20 PM
Reviewer
jhb
Differential Revision
D43287: cxgbe(4): Fix virtual interface reattach.
Parents
rG2a2aec721fff: cxgbe(4): Destroy the tick mutex during VI detach.
Branches
Unknown
Tags
Unknown