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 ED068A04F0; Mon, 16 Dec 2019 17:05:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 220681D9E; Mon, 16 Dec 2019 17:05:11 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 94F5B1F5 for ; Mon, 16 Dec 2019 17:05:09 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Dec 2019 08:05:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,322,1571727600"; d="scan'208";a="212253186" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by fmsmga008.fm.intel.com with ESMTP; 16 Dec 2019 08:05:08 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Dec 2019 08:05:07 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 16 Dec 2019 08:05:07 -0800 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 16 Dec 2019 08:05:07 -0800 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.50) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Dec 2019 08:05:05 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MCrmpoa/M9prYXUKOb/iWdcX+PgsG7MjLFlthHpBWkQOjHsgIdVfACa/e/E7N+jFrZ6X8BvdGpxCVytmMXpzJiUHHFFT6LiUsa54mwsjoxBA/Oer0JXjVrUgyrWAp49xd8wRftNGT+yxgdwp3yHBBF8BPDlObuBnSHFeFULIuROaJoAosTnwHVgVnuYEFhVyDxH82qfEsH39rX56rENRVZl85J+h6zAcGZqIxEUPXHhf0JiZZG2YLaAmfY9XfxHemYPrvm77QtrezmRn+tfObyNNgM+iCZTM4QG07m7nDl+MJ7/lYR+HE9OIuVPbk0y8XGMcB2Unso6B6yV3sg/81g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6rXqQvxfpB1HVAkqVym8SV3xMfbUO1zu77+Xsduh018=; b=ID9K8x0qxtUUqIrQqETBSlW1UQ72xW6b8PSNW7R3s7xWPAiW4gJwHqvSBrPdBCGZK7IUegtsgjaT73o9x3T5MI4MTzfLilleVkBRAU3XGekxEDi3Rdl6Z4OPBwr5YFW4D4c25aiKV82V6AF9RVw4l0v56LCXFHrXMBvyfIX86X3DUsMPzrkk0wyMq8KycD6S7HBOWIgExEhfsG3qYJsIxqtLjanXFOibuk/gcjj4cgRV6wk0wIYu2Bu4Tt/g7sC+Nlgo4R6JU33No2omgh4ptPORy04s1BVynnaCxO99VpOTgV5xQTRcYDb0n4TmMFa+jSTSVyeh6tfeZTm1SLwvYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6rXqQvxfpB1HVAkqVym8SV3xMfbUO1zu77+Xsduh018=; b=UHYn1u8hXGdbG4VvMVs/rTFZJ5PBnPzD5DgE9G5PPDBXFJgZhSZKV95UoeJGzcP6QkCA8rKixP1VMLsrJ4rtrXZlYMeyLekaIEv5sJUytbQ0Iw1QrT70iPzdHJsp4zwMHcb5nlZ42oV5qpETiIgQZTFsz163qVRmvGI8JALy1Ac= Received: from BN6PR11MB1796.namprd11.prod.outlook.com (10.175.99.136) by BN6PR11MB1491.namprd11.prod.outlook.com (10.172.20.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.15; Mon, 16 Dec 2019 16:05:01 +0000 Received: from BN6PR11MB1796.namprd11.prod.outlook.com ([fe80::e035:bb6c:aa3b:e2ff]) by BN6PR11MB1796.namprd11.prod.outlook.com ([fe80::e035:bb6c:aa3b:e2ff%11]) with mapi id 15.20.2538.019; Mon, 16 Dec 2019 16:05:01 +0000 From: "Trahe, Fiona" To: "Trybula, ArturX" , "dev@dpdk.org" , "Burakov, Anatoly" CC: "shallyv@marvell.com" , "akhil.goyal@nxp.com" , "Trahe, Fiona" Thread-Topic: [PATCH] eal: improve user notification for too low memzone segments Thread-Index: AQHVtChPuuJHbziP0U+JKQYHJzuFxqe87DqA Date: Mon, 16 Dec 2019 16:05:01 +0000 Message-ID: References: <20191216154406.3827-1-arturx.trybula@intel.com> In-Reply-To: <20191216154406.3827-1-arturx.trybula@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWZhNGFhMmMtYjI5NS00MWIwLTljNWQtM2I2OGQ2ODViMzBkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic0duUlpOWEFSNUFYOGlTakpaUThOeXhETW1WTlFRT2FhaEh1VUY5dkVZRllGc2N0TG9pd1I2UkpGd0dTdTg0eSJ9 dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=fiona.trahe@intel.com; x-originating-ip: [192.198.151.177] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c7b926d0-976a-4142-4c05-08d78241b4fd x-ms-traffictypediagnostic: BN6PR11MB1491: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:635; x-forefront-prvs: 02530BD3AA x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39860400002)(376002)(346002)(136003)(13464003)(199004)(189003)(15650500001)(6636002)(71200400001)(54906003)(110136005)(478600001)(2906002)(26005)(186003)(76116006)(33656002)(86362001)(107886003)(8936002)(55016002)(81166006)(8676002)(81156014)(7696005)(6506007)(53546011)(4326008)(66946007)(64756008)(66446008)(66556008)(52536014)(9686003)(5660300002)(66476007)(316002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR11MB1491; H:BN6PR11MB1796.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jbvERgQE/NyMdIu+l9V5FOVfYDiLs5Ehj988+LV4dmWINqu/Qd8suGJ5NYMADQ6RrYjmPmrytMvk5mIr+MqYNDTPQV1x/BMlqref3Ia8u5VkBSFQHGCAqKpU+yDkI+7lNjs1pxDkyo9MBZja9GvaUR/od9v5QbA9FfCoH8qFTAPVJKHQFL6vO8izCfyr4S6Rk/11hEyWFEFqn91JA7AHYbIB/x0pHozUdt9auhet0eXlQY3XcH59opRYCs2aPfQKpPGJwGVxUmdWpIL5vQ5UsEILLRGrTKjW48DR/pLM4gT9ci7RSujJY7xZrC8FGl/LirciivIJuVKQBSina6xOLe715GkI6c6uU8tJIcqDLLxBFdB33OYZqWfTJA7rc079UNlcbVQzcOh70AQpOq6XaNSYWGNZXsJNWuBpSDpKbsZuwqvYcTqdf/LTL/KHwpty1Cwy1ExL3FfuAToGflpHHUPumPKeGLJP2Gq5yOUQZCpNrmbRYWJykCXKCM58EBpD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c7b926d0-976a-4142-4c05-08d78241b4fd X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2019 16:05:01.4679 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: P24cQeJtKB4hL2z+xdfdzI6XJfPIhbGsf80b0ts+S34lcP2NbiI2Q8PC4TLF4ySRfXugrXJP7UD9/lQnL48vWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1491 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] 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" Including Anatoly as maintainer for lib/librte_eal/common/eal_common_mem* > -----Original Message----- > From: Trybula, ArturX > Sent: Monday, December 16, 2019 3:44 PM > To: dev@dpdk.org; Trahe, Fiona ; shallyv@marvell.c= om; Dybkowski, AdamX > ; Danilewicz, MarcinX ; Trybula, ArturX > ; akhil.goyal@nxp.com > Subject: [PATCH] eal: improve user notification for too low memzone segme= nts >=20 > 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. >=20 > Signed-off-by: Artur Trybula > --- > lib/librte_eal/common/eal_common_memzone.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/librte_eal/common/eal_common_memzone.c > b/lib/librte_eal/common/eal_common_memzone.c > index 99b8d6531..c1acbbb3c 100644 > --- a/lib/librte_eal/common/eal_common_memzone.c > +++ b/lib/librte_eal/common/eal_common_memzone.c > @@ -71,7 +71,7 @@ memzone_reserve_aligned_thread_unsafe(const char *name,= size_t len, >=20 > /* no more room in config */ > if (arr->count >=3D 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 =3D ENOSPC; > return NULL; > } > -- > 2.17.1