Page MenuHomeFreeBSD

iflib: Clear simple-TX quiescence before publishing admission
ClosedPublic

Authored by kbowling on Sep 15 2026, 2:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 17, 6:34 PM
Unknown Object (File)
Fri, Oct 16, 1:54 PM
Unknown Object (File)
Fri, Oct 16, 1:22 PM
Unknown Object (File)
Thu, Oct 15, 11:21 AM
Unknown Object (File)
Wed, Oct 14, 5:34 PM
Unknown Object (File)
Mon, Oct 12, 4:06 AM
Unknown Object (File)
Thu, Oct 1, 12:37 AM
Unknown Object (File)
Wed, Sep 30, 7:33 PM

Details

Summary
Initialization publishes RUNNING and enables interrupts before clearing
the simple-TX producer barrier. A transmitter admitted in that window
still sees IFLIB_TXQ_QUIESCING and drops its packet with ENETDOWN. A TX
completion task can likewise return without draining deferred packets.

Clear the barrier on every TX queue after driver initialization and RX
buffer setup succeed, before publishing admission. Keep failed init
paths closed and retain the existing stop, interrupt and timer ordering.
This changes only initialization; no work is added to the packet path.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable