Page MenuHomeFreeBSD

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

Authored by jhb on Tue, Nov 26, 4:47 PM.
Tags
None
Referenced Files
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)
Tue, Nov 26, 9:17 PM
Unknown Object (File)
Tue, Nov 26, 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.Tue, Nov 26, 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.