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, Mar 8, 3:29 PM
Unknown Object (File)
Fri, Mar 7, 9:19 PM
Unknown Object (File)
Tue, Mar 4, 1:56 PM
Unknown Object (File)
Fri, Feb 28, 2:19 PM
Unknown Object (File)
Jan 16 2025, 1:55 PM
Unknown Object (File)
Jan 16 2025, 10:45 AM
Unknown Object (File)
Dec 14 2024, 12:17 AM
Unknown Object (File)
Dec 12 2024, 7:32 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.