* [DPDK/ethdev Bug 1400] net/ena: Failed to initialize ENA device
@ 2024-03-13 15:45 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-03-13 15:45 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1400
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:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 3443 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-13 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 15:45 [DPDK/ethdev Bug 1400] net/ena: Failed to initialize ENA device bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).