From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 438C5378E for ; Tue, 20 Sep 2016 18:48:26 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP; 20 Sep 2016 09:48:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,369,1470726000"; d="scan'208";a="11312042" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by fmsmga006.fm.intel.com with ESMTP; 20 Sep 2016 09:48:24 -0700 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.6]) by IRSMSX106.ger.corp.intel.com ([169.254.8.209]) with mapi id 14.03.0248.002; Tue, 20 Sep 2016 17:48:22 +0100 From: "Pattan, Reshma" To: "Kerlin, MarcinX" , "dev@dpdk.org" CC: "thomas.monjalon@6wind.com" , "De Lara Guarch, Pablo" , "Kerlin, MarcinX" Thread-Topic: [dpdk-dev] [PATCH v2 1/2] librte_ether: ensure not overwrite device data in mp app Thread-Index: AQHSE0ypb2H6v7hmpEuOr3Ed5S/tOqCClKww Date: Tue, 20 Sep 2016 16:48:20 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F010A5A06@IRSMSX109.ger.corp.intel.com> References: <1472806710-25866-2-git-send-email-marcinx.kerlin@intel.com> <1474381895-16066-1-git-send-email-marcinx.kerlin@intel.com> <1474381895-16066-2-git-send-email-marcinx.kerlin@intel.com> In-Reply-To: <1474381895-16066-2-git-send-email-marcinx.kerlin@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGE2MjIyYmUtZmFmNC00ZTVlLThkZWUtYjQ5M2U3NTgwYzMyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IldzR2F0RytBV0N4YVcralhDMUYydFdlWVMzdzRQdkhUTW5EcmRVMmVpSlU9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/2] librte_ether: ensure not overwrite device data in mp app X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2016 16:48:26 -0000 Hi, > + > + if (dev_data_id =3D=3D RTE_MAX_ETHPORTS) { > + RTE_PMD_DEBUG_TRACE("Reached maximum number of > Ethernet ports by all " > + "the processes\n"); > + return NULL; > + } > + >=20 Can the log message be changed to ("Cannot allocate more than %d number of = devices ", RTE_MAX_ETHPORTS). Instead of mentioning about the processes? Thanks, Reshma