Page MenuHomeFreeBSD

cxgbe tom: Halve the size of offload transmit software descriptors
Needs ReviewPublic

Authored by jhb on Nov 26 2024, 4:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 12:17 AM
Unknown Object (File)
Thu, Dec 12, 7:32 PM
Unknown Object (File)
Wed, Dec 4, 12:31 AM
Unknown Object (File)
Mon, Dec 2, 5:30 PM
Unknown Object (File)
Fri, Nov 29, 8:47 PM
Unknown Object (File)
Nov 26 2024, 9:17 PM
Unknown Object (File)
Nov 26 2024, 8:39 PM
Subscribers

Details

Reviewers
np
Summary

Use bitfields to pack tx_credits and plen into a single 32-bit word.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60788
Build 57672: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Nov 26 2024, 4:47 PM

This isn't required for the other changes. Originally I was going to add another 1-bit field to struct ofld_tx_sdesc and had done this as a prep (I stole the extra bit from plen). However, I ended up not needing that change but still kept this as it does reduce memory usage a bit.