From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id D0288325F for ; Thu, 11 Jan 2018 23:21:23 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5623F20BF6; Thu, 11 Jan 2018 17:21:23 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 11 Jan 2018 17:21:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=zoPNHts/1xZSqBvhfVDRM4MuLS BZyHD6NfmbfBCbKDw=; b=CSbiZt4ZSpM+yf3/8c9pzdggJizQkqqUmpE1TSgWIJ R9yTCTfLA+u+YCCkX5w6UbpRJXWL/vpY5tmAz1leisi6d9br1bUFKHZIISIdbC1j Q6UpgY8dxOKeeu2inysLk0TXherPV9jNVTo1ga9wEbu2KdL/8ewvxXyY4TX7BHV0 I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=zoPNHt s/1xZSqBvhfVDRM4MuLSBZyHD6NfmbfBCbKDw=; b=ciJ17tQiu/rbnGcl5qiEge 84987ygUN0fraxI01QF2klIHnl+tkjlXCCeILQxvdDzMDY1dA4rH28q1p/lsYCGQ T2puNjcSKEKdB+X1LCseiW86jPBVDNx1InZmGcmyZE26lZh+CHI9O/28G8bf9Sdg qpe4Uaunr+8zM0M/ihVCoHMKnPteqfUa1azcn015iCcC2Y0N5iP50llGK0seqcWF pZ4sKTBKYVyUmFj8E3JRAVmEg37zJyf5gmeMsOOnR3tsoUkJHJHea6Aq7u9OoRml p1ayDaRHvJg6zE2CKsAZrmLWFYIm+sj6xC/61ZIl2dv8dmK2Vfrgl79a97I6PgLw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 0B64D7E3D4; Thu, 11 Jan 2018 17:21:23 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org Date: Thu, 11 Jan 2018 23:20:55 +0100 Message-ID: <1755195.Wuypxit9xt@xps> In-Reply-To: <3cf7f9aa904a5ba53ba63d7c32539e8b78638939.1513946317.git.anatoly.burakov@intel.com> References: <3f9df1ca17e97b2df560d5af5fa31a778af3263f.1513942728.git.anatoly.burakov@intel.com> <3cf7f9aa904a5ba53ba63d7c32539e8b78638939.1513946317.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal: add function to return number of detected sockets 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: , X-List-Received-Date: Thu, 11 Jan 2018 22:21:24 -0000 22/12/2017 13:41, Anatoly Burakov: > During lcore scan, find maximum socket ID and store it. > > Signed-off-by: Anatoly Burakov > --- > --- a/lib/librte_eal/common/include/rte_eal.h > +++ b/lib/librte_eal/common/include/rte_eal.h > @@ -83,6 +83,7 @@ enum rte_proc_type_t { > struct rte_config { > uint32_t master_lcore; /**< Id of the master lcore */ > uint32_t lcore_count; /**< Number of available logical cores. */ > + uint32_t numa_node_count; /**< Number of detected NUMA nodes. */ > uint32_t service_lcore_count;/**< Number of available service cores. */ > enum rte_lcore_role_t lcore_role[RTE_MAX_LCORE]; /**< State of cores. */ isn't it breaking the ABI?