Page MenuHomeFreeBSD

cxgbe: Fix false sharing between t4_nm_intr and cxgbe_netmap_rxsync
Needs ReviewPublic

Authored by bwicht_verisign.com on Nov 6 2018, 1:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 13, 6:40 PM
Unknown Object (File)
Sat, Mar 8, 12:07 PM
Unknown Object (File)
Feb 26 2025, 11:33 PM
Unknown Object (File)
Feb 9 2025, 4:09 AM
Unknown Object (File)
Jan 29 2025, 7:23 PM
Unknown Object (File)
Jan 24 2025, 5:39 PM
Unknown Object (File)
Jan 18 2025, 10:01 PM
Unknown Object (File)
Jan 18 2025, 5:19 PM
Subscribers

Details

Reviewers
np
Summary

Split sge_nm_rxq fields into three cachelines.

Submitted by: Marc De La Gueronniere <mdelagueronniere@verisign.com>
MFC after: 1 week
Sponsored by: Verisign, Inc.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20677
Build 20092: arc lint + arc unit

Event Timeline

np requested changes to this revision.Nov 6 2018, 5:34 PM

How about using __aligned(CACHE_LINE_SIZE) like the rest of the driver and let the compiler figure out the padding?

This revision now requires changes to proceed.Nov 6 2018, 5:34 PM

Use __aligned(CACHE_LINE_SIZE) instead of manual padding

In D17869#381863, @np wrote:

How about using __aligned(CACHE_LINE_SIZE) like the rest of the driver and let the compiler figure out the padding?

Excellent idea!

I just did the change.

Thanks, Navdeep.

Can you please try r359159?