Page MenuHomeFreeBSD

Fix completion descriptors alignment for the ENA
ClosedPublic

Authored by mk_semihalf.com on Nov 6 2020, 1:29 PM.
Referenced Files
F111809864: D27114.diff
Sat, Mar 8, 4:52 PM
Unknown Object (File)
Fri, Feb 28, 6:02 PM
Unknown Object (File)
Sat, Feb 22, 2:27 PM
Unknown Object (File)
Sat, Feb 15, 8:51 AM
Unknown Object (File)
Jan 25 2025, 10:02 AM
Unknown Object (File)
Jan 17 2025, 12:13 PM
Unknown Object (File)
Jan 2 2025, 7:44 PM
Unknown Object (File)
Dec 26 2024, 9:33 AM

Details

Summary

The latest generation hardware requires IO CQ (completion queue)
descriptors memory to be aligned to a 4K. It needs that feature for
the best performance.

Allocating unaligned descriptors will have a big performance impact as
the packet processing in a HW won't be optimized properly.

It's a critical fix, especially for the arm64 EC2 instances.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 18 2020, 2:50 PM
This revision was automatically updated to reflect the committed changes.