freebsd-src/sys/dev/ena
Marcin Wojtas 4f8f476e73 Fix completion descriptors alignment for the ENA
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. For that
purpose adjust ena_dma_alloc() to support it.

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

Submitted by: Ido Segev <idose@amazon.com>
Obtained from: Amazon, Inc
MFC after: 1 week
Differential revision:  https://reviews.freebsd.org/D27114
2020-11-18 14:50:12 +00:00
..
ena.c Fix completion descriptors alignment for the ENA 2020-11-18 14:50:12 +00:00
ena.h Update ENA driver version to v2.2.0 2020-05-26 16:11:46 +00:00
ena_datapath.c teach ena driver about RSS kernel option 2020-06-23 04:58:36 +00:00
ena_datapath.h Update ENA driver version to v2.2.0 2020-05-26 16:11:46 +00:00
ena_netmap.c Update ENA driver version to v2.2.0 2020-05-26 16:11:46 +00:00
ena_netmap.h Update ENA driver version to v2.2.0 2020-05-26 16:11:46 +00:00
ena_sysctl.c Update ENA driver version to v2.2.0 2020-05-26 16:11:46 +00:00
ena_sysctl.h Update ENA driver version to v2.2.0 2020-05-26 16:11:46 +00:00