Page MenuHomeFreeBSD

cxgbe(4): Fix virtual interface reattach.
ClosedPublic

Authored by np on Jan 3 2024, 12:12 AM.
Tags
None
Referenced Files
F115913122: D43287.diff
Wed, Apr 30, 8:17 AM
Unknown Object (File)
Thu, Apr 24, 10:21 PM
Unknown Object (File)
Thu, Apr 24, 9:50 AM
Unknown Object (File)
Thu, Apr 24, 5:51 AM
Unknown Object (File)
Wed, Apr 16, 11:23 PM
Unknown Object (File)
Wed, Apr 16, 10:21 AM
Unknown Object (File)
Mar 16 2025, 8:26 AM
Unknown Object (File)
Feb 10 2025, 10:55 PM
Subscribers

Details

Summary

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
MFC after: 1 week
Sponsored by: Chelsio Communications

Test Plan

Repeated devctl detach/attach on the port/VI device.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 55210
Build 52099: arc lint + arc unit