Bug ID 1400
Summary net/ena: Failed to initialize ENA device
Product DPDK
Version 23.11
Hardware x86
OS Linux
Status UNCONFIRMED
Severity major
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter madhuker.mythri@oracle.com
Target Milestone ---

Hi,

With DPDK-23.11 on AWS cloud with ENA network devices, DPDK initialization
failed with 4GB memory for 2 ports.

While DPDK rte_eal_init() call on ENA devices, in the
ena_com_allocate_customer_metrics_buffer() DPDK memory zone with "ena_p0_mz0"
is taking lots of memory in GB's just for one zone, why ?

As part this call "na_com_allocate_customer_metrics_buffer()" API memory size
was passed as '0' (customer_metrics->buffer_len = 0) to this
"ena_mem_alloc_coherent()" API, which call's --> rte_memzone_reserve_aligned()
with RTE_MEMZONE_IOVA_CONTIG option. 
Thus, when memory size is '0' to allocate, this memzone allocated maximum
available contiguous memory in GB's.

So, for two DPDK ENA ports, this two zones takes  around 2GB Or more of memory
in DPDK-23.11. For other Mbuf pool's could not allocate memory, as memory
exhausted.

Why the "customer_metrics->buffer_len = 0" size is '0' passing to this
ena_mem_alloc_coherent() ?

Regards,
Madhuker.
          


You are receiving this mail because: