freebsd-dev/sys/contrib/ena-com
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_defs Adjust ENA driver to the new HAL 2020-05-26 15:29:19 +00:00
ena_admin_defs.h
ena_com.c Fix completion descriptors alignment for the ENA 2020-11-18 14:50:12 +00:00
ena_com.h Fix completion descriptors alignment for the ENA 2020-11-18 14:50:12 +00:00
ena_common_defs.h
ena_eth_com.c Adjust ENA driver to the new HAL 2020-05-26 15:29:19 +00:00
ena_eth_com.h Adjust ENA driver to the new HAL 2020-05-26 15:29:19 +00:00
ena_eth_io_defs.h
ena_plat.h Fix completion descriptors alignment for the ENA 2020-11-18 14:50:12 +00:00
ena_regs_defs.h