mem: improve log message for too low memzone segments
In case of too low number of memzone segments user notification was misleading. This patch improves the description by providing better explanation about the cause. Signed-off-by: Artur Trybula <arturx.trybula@intel.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
This commit is contained in:
parent
91a861e541
commit
ec40fe669f
@ -71,7 +71,9 @@ memzone_reserve_aligned_thread_unsafe(const char *name, size_t len,
|
||||
|
||||
/* no more room in config */
|
||||
if (arr->count >= arr->len) {
|
||||
RTE_LOG(ERR, EAL, "%s(): No more room in config\n", __func__);
|
||||
RTE_LOG(ERR, EAL,
|
||||
"%s(): Number of requested memzone segments exceeds RTE_MAX_MEMZONE\n",
|
||||
__func__);
|
||||
rte_errno = ENOSPC;
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user