numam-dpdk/drivers/net/ena/base
Michal Krawczyk 4be6bc7fa1 net/ena/base: align IO CQ allocation to 4K
Latest generation HW requires IO completion queue descriptors to be
aligned to a 4K in order to achieve the best performance.

Because of that, the new allocation macros were added, which allows
driver to allocate the memory with specified alignment.

The previous allocation macros are now wrappers around the macros
doing the alignment, with the alignment value equal to cacheline size.

Fixes: b68309be44 ("net/ena/base: update communication layer for the ENAv2")
Cc: stable@dpdk.org

Signed-off-by: Ido Segev <idose@amazon.com>
Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Amit Bernstein <amitbern@amazon.com>
2020-11-03 23:35:06 +01:00
..
ena_defs net/ena/base: update generation date and commit 2020-09-30 19:19:09 +02:00
ena_com.c net/ena/base: align IO CQ allocation to 4K 2020-11-03 23:35:06 +01:00
ena_com.h net/ena/base: align IO CQ allocation to 4K 2020-11-03 23:35:06 +01:00
ena_eth_com.c net/ena/base: simplify loop copying Rx descriptors 2020-09-30 19:19:09 +02:00
ena_eth_com.h net/ena/base: rework setup of accelerated LLQ mode 2020-09-30 19:19:09 +02:00
ena_plat_dpdk.h net/ena/base: align IO CQ allocation to 4K 2020-11-03 23:35:06 +01:00
ena_plat.h net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00