Page MenuHomeFreeBSD

cxgbe(4): Fix virtual interface reattach.
ClosedPublic

Authored by np on Jan 3 2024, 12:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 30, 1:45 AM
Unknown Object (File)
Fri, May 17, 8:15 PM
Unknown Object (File)
Fri, May 10, 3:40 AM
Unknown Object (File)
Thu, May 9, 10:34 PM
Unknown Object (File)
Thu, May 9, 6:14 PM
Unknown Object (File)
Apr 29 2024, 8:58 PM
Unknown Object (File)
Apr 26 2024, 9:47 PM
Unknown Object (File)
Apr 23 2024, 2:32 AM
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