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
F81969758: D17869.diff
Sat, Dec 14, 10:39 AM
Unknown Object (File)
Dec 23 2023, 1:49 AM
Unknown Object (File)
Nov 24 2023, 11:24 PM
Unknown Object (File)
Nov 22 2023, 8:42 PM
Unknown Object (File)
Nov 22 2023, 6:14 PM
Unknown Object (File)
Nov 22 2023, 5:23 PM
Unknown Object (File)
Nov 22 2023, 4:36 PM
Unknown Object (File)
Nov 15 2023, 11:10 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 20659
Build 20074: 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?