From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v6] eal: provide API for querying valid socket id's Date: Sat, 31 Mar 2018 14:35:41 +0100 Message-ID: References: <9755302ee8a1439a152408d4b1c69cc1012153e4.1521715978.git.anatoly.burakov@intel.com> <9ff09ae09b3e9e1b149f73a693b552f8c94a01a2.1521722141.git.anatoly.burakov@intel.com> <507411072.Cm6Xjx9PLX@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Bruce Richardson , chaozhu@linux.vnet.ibm.com, gowrishankar.m@linux.vnet.ibm.com To: Thomas Monjalon Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 639C22C39 for ; Sat, 31 Mar 2018 15:35:44 +0200 (CEST) In-Reply-To: <507411072.Cm6Xjx9PLX@xps> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 27-Mar-18 5:24 PM, Thomas Monjalon wrote: > 22/03/2018 13:36, Anatoly Burakov: >> --- a/lib/librte_eal/common/include/rte_eal.h >> +++ b/lib/librte_eal/common/include/rte_eal.h >> @@ -57,6 +57,9 @@ 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 numa_nodes[RTE_MAX_NUMA_NODES]; >> + /**< List of detected numa nodes. */ > > Please keep this comment on the same line if it's below 99 chars. If this is allowed, can we fix checkpatch to not report error in these cases? -- Thanks, Anatoly