From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] eal: add function to return number of detected sockets Date: Mon, 05 Feb 2018 23:45:27 +0100 Message-ID: <4220934.KFJTx7yznj@xps> References: <3cf7f9aa904a5ba53ba63d7c32539e8b78638939.1513946317.git.anatoly.burakov@intel.com> <750e30c6dcc7a22a87df9c56fb824042b1db984f.1517848624.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Burakov, Anatoly" Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id CC9E51B634 for ; Mon, 5 Feb 2018 23:45:31 +0100 (CET) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/02/2018 18:39, Burakov, Anatoly: > On 05-Feb-18 4:37 PM, Anatoly Burakov wrote: > > During lcore scan, find maximum socket ID and store it. > > > > Signed-off-by: Anatoly Burakov > > --- > > > > Notes: > > v3: > > - Added ABI backwards compatibility > > > > v2: > > - checkpatch changes > > - check socket before deciding if the core is not to be used > > > > lib/librte_eal/common/eal_common_lcore.c | 37 +++++++++++++++++++++---------- > > lib/librte_eal/common/include/rte_eal.h | 25 +++++++++++++++++++++ > > lib/librte_eal/common/include/rte_lcore.h | 8 +++++++ > > lib/librte_eal/linuxapp/eal/eal.c | 27 +++++++++++++++++++++- > > lib/librte_eal/rte_eal_version.map | 9 +++++++- > > 5 files changed, 92 insertions(+), 14 deletions(-) > > > > This patch does not break ABI, but does it in a very ugly way. Is it > worth it? I think we agreed to not get this patch in 18.02. Did you change your mind?