Page MenuHomeFreeBSD

ena: Swap cleanup order
ClosedPublic

Authored by akiyano_amazon.com on Jul 14 2026, 9:46 PM.
Tags
None
Referenced Files
F173178009: D58239.id182088.diff
Thu, Sep 24, 3:20 AM
F173146004: D58239.id182002.diff
Wed, Sep 23, 10:21 PM
F173120675: D58239.diff
Wed, Sep 23, 6:23 PM
Unknown Object (File)
Mon, Sep 21, 3:21 PM
Unknown Object (File)
Sun, Sep 20, 6:37 PM
Unknown Object (File)
Sun, Sep 20, 5:23 AM
Unknown Object (File)
Sat, Sep 19, 11:09 AM
Unknown Object (File)
Thu, Sep 17, 8:58 PM
Subscribers

Details

Summary

As RX processing is heavier than TX completions processing, swap the
order and process TX completions first, in order to avoid starving the
completions and causing potential missing TX completions.

Submitted by: Ofir Tabachnik <ofirt@amazon.com>
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

Diff Detail

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

Event Timeline

akiyano_amazon.com planned changes to this revision.
akiyano_amazon.com created this revision.

I'm not convinced by the rationale here -- it seems to me that the stronger argument is "processing tx completions frees up space on the tx ring, which we might want when we respond to packets which we received". But the change itself seems reasonable.

This revision is now accepted and ready to land.Jul 15 2026, 2:57 AM
This revision was automatically updated to reflect the committed changes.