* [dpdk-dev] Question about memzone failure problem.
@ 2016-04-22 13:51 Wiles, Keith
0 siblings, 0 replies; only message in thread
From: Wiles, Keith @ 2016-04-22 13:51 UTC (permalink / raw)
To: dev
I was creating a rte_ring and got a message ‘RING: Cannot reserve memory’ I track it down to me trying create a ring using the same name as another ring. The question is I tracked down the problem and in the eal_common_memzone.c file I noticed the message for the problem was using DEBUG in the log message and I think it should be ERR. Should it be ERR instead of DEBUG, if so I will send a patch?
diff --git a/lib/librte_eal/common/eal_common_memzone.c b/lib/librte_eal/common/eal_common_memzone.c
index 711c845..89ffc12 100644
--- a/lib/librte_eal/common/eal_common_memzone.c
+++ b/lib/librte_eal/common/eal_common_memzone.c
@@ -142,7 +142,7 @@ memzone_reserve_aligned_thread_unsafe(const char *name, size_t len,
/* zone already exist */
if ((memzone_lookup_thread_unsafe(name)) != NULL) {
- RTE_LOG(DEBUG, EAL, "%s(): memzone <%s> already exists\n",
+ RTE_LOG(ERR, EAL, "%s(): memzone <%s> already exists\n",
__func__, name);
rte_errno = EEXIST;
return NULL;
Regards,
Keith
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-22 13:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22 13:51 [dpdk-dev] Question about memzone failure problem Wiles, Keith
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).