Page MenuHomeFreeBSD

cxgbe(4): Fix virtual interface reattach.
ClosedPublic

Authored by np on Jan 3 2024, 12:12 AM.
Tags
None
Referenced Files
F167963666: D43287.id132217.diff
Tue, Aug 25, 3:53 PM
F167899282: D43287.id132168.diff
Tue, Aug 25, 8:16 AM
Unknown Object (File)
Tue, Aug 25, 12:44 AM
Unknown Object (File)
Tue, Aug 25, 12:28 AM
Unknown Object (File)
Sun, Aug 23, 9:13 AM
Unknown Object (File)
Sun, Aug 23, 7:18 AM
Unknown Object (File)
Thu, Aug 20, 11:20 PM
Unknown Object (File)
Wed, Aug 19, 5:12 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