From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 83B16A04F3; Fri, 20 Dec 2019 16:10:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7053A37A2; Fri, 20 Dec 2019 16:10:25 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 865341C01 for ; Fri, 20 Dec 2019 16:10:22 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Dec 2019 07:10:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,336,1571727600"; d="scan'208";a="222507088" Received: from atrybulx-mobl.ger.corp.intel.com (HELO build-VirtualBox.isw.intel.com) ([10.103.104.115]) by fmsmga001.fm.intel.com with ESMTP; 20 Dec 2019 07:10:20 -0800 From: Artur Trybula To: dev@dpdk.org, fiona.trahe@intel.com, shallyv@marvell.com, anatoly.burakov@intel.com, adamx.dybkowski@intel.com, marcinx.danilewicz@intel.com, arturx.trybula@intel.com, akhil.goyal@nxp.com Date: Fri, 20 Dec 2019 16:08:39 +0100 Message-Id: <20191220150839.17994-2-arturx.trybula@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191220150839.17994-1-arturx.trybula@intel.com> References: <20191216154406.3827-1-arturx.trybula@intel.com> <20191220150839.17994-1-arturx.trybula@intel.com> Subject: [dpdk-dev] [PATCH v2 1/1] eal: improve user notification for too low memzone segments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" In case of too low number of memzone segements user notification was misleading. This patch improves the description by providing better explanation about the cause. Signed-off-by: Artur Trybula --- lib/librte_eal/common/eal_common_memzone.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/eal_common_memzone.c b/lib/librte_eal/common/eal_common_memzone.c index 99b8d6531..86f61369b 100644 --- a/lib/librte_eal/common/eal_common_memzone.c +++ b/lib/librte_eal/common/eal_common_memzone.c @@ -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; } -- 2.17.1