From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Mar 2018 06:35:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,386,1517904000"; d="scan'208";a="30458647" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.252.35.99]) ([10.252.35.99]) by orsmga006.jf.intel.com with ESMTP; 31 Mar 2018 06:35:42 -0700 To: Thomas Monjalon Cc: dev@dpdk.org, Bruce Richardson , chaozhu@linux.vnet.ibm.com, gowrishankar.m@linux.vnet.ibm.com References: <9755302ee8a1439a152408d4b1c69cc1012153e4.1521715978.git.anatoly.burakov@intel.com> <9ff09ae09b3e9e1b149f73a693b552f8c94a01a2.1521722141.git.anatoly.burakov@intel.com> <507411072.Cm6Xjx9PLX@xps> From: "Burakov, Anatoly" Message-ID: Date: Sat, 31 Mar 2018 14:35:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <507411072.Cm6Xjx9PLX@xps> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6] eal: provide API for querying valid socket id's 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: Sat, 31 Mar 2018 13:35:45 -0000 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