From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0076.outbound.protection.outlook.com [157.56.110.76]) by dpdk.org (Postfix) with ESMTP id 220F6569C for ; Wed, 9 Dec 2015 05:40:29 +0100 (CET) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from localhost.localdomain (122.166.129.221) by BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) with Microsoft SMTP Server (TLS) id 15.1.355.16; Wed, 9 Dec 2015 04:40:26 +0000 Date: Wed, 9 Dec 2015 10:10:02 +0530 From: Jerin Jacob To: Chao Zhu Message-ID: <20151209044000.GA5769@localhost.localdomain> References: <1449634307-24075-1-git-send-email-chaozhu@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1449634307-24075-1-git-send-email-chaozhu@linux.vnet.ibm.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [122.166.129.221] X-ClientProxiedBy: PN1PR01CA0063.INDPRD01.PROD.OUTLOOK.COM (25.164.136.163) To BN3PR0701MB1718.namprd07.prod.outlook.com (25.163.39.17) X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 2:5x4zggneW2xYfGdtt1YaAQoVjInAwCH/VRcEmQt9E30smC3LWMBqBFI4csldatxvvBWoymfrIjiTf/lfZhJrp9SO9mJl5+q6CPRJQ29gTs9MuA7AklWatNsJE0QSIJ7jmqY5HDlN1bG+GZiOFP6MTQ==; 3:6zGYOBoFAQ5W65BESeThAe0y3nBKjH98XglYnJ+ROJ9GgcTkyOAbVaLUNIRPqL37kWfeZwv9ILx+kxh37iyDZ4TRZT+vbSs2QswH2anGWsDcjNVMApI53ggmHIOwR+Gm; 25:L+GPXPfzcPg5CiEx2Qs7k5PiTe8iktssyimLF/ym1+Uf9QpBycJN9BGyzeIetOm7IHBcrJGzceNGa26aEORxLkref7Y0y9jd9/GLHf4gYyNnBcxdZ+/L3ytSgXg6e6Wck5YAZYksXhRd8SXqQ4Mec1n9lDKTMikRLHDfP0MWZ7CbTkZmcN35EvgWQHs6xvCauxSRuPNS0BJ3gCvBrXWMTSYZ6CBEGTDG2obNC8GuG4I0sdDGpfBH3KyKtYw5k1lhmtkZQOU52ASYnNSVH+7XZg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 20:T0twWQ9BGPO+IvudKjKQ1uw24ZnxI6SlDaknMOXBK8cL9kM5aWodumm/pKV3orHCuAwlu/P4reAiRp4HF3+ynUPxUItF5EunHGX1zlgQjGs4QUTxGJ9Ta4M1UMMIWZCJ03x34BYNEbv+5bCBexigMQJgwAqBOIDWX0Bv83ff/WvWMybaZ0iqAxuHBY32ygWDJRDYjvZlO3gwfUrZO6BXfAeJQ4U7l9PaF/u4NjxmmkDgb+5nCmclfUneZsDCvCnVGyaIseUFw2vosgns6VISxLARoAUQbbSU2pwY+qvswkLD4F+cbKfYiQ2f6lYaV4DbgafLzplBR1awF3Ed7/oyidL3YVrg7CQ4xzAxpoeMPObzyKT3mG8nZ977vLJeR6oqK9QbWqi6oapdeoLtxQuH/Ld0UpCnYn1jElirMpw10ymoRYmflB/ydksnDDq25jhry55ZC0ZCXSy0Z9cGh6D3EgASgMmz55VVFCSroX9791+wUMOXRY6cqoD8IIprvQILMJSnczee/+lJtGfqi6CgtX2APamefG7hGteLSGCFlZj2wF6UB0+nG0O5tNur/ynhSWremfkcU33u4TDtRovdZDy4BFwnj9yBFrllOUxG5GI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001); SRVR:BN3PR0701MB1718; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 4:GAFcl3IMDU52ah0mwUSPY5zmAbN8E/JtxRY3Oce0C8kU+/PkpFp5gtWgjTTKKwB7x9ec/dbaVhd9I/vnRQ+tEI4ON2tKQz2c+LJQzEsKWqU+8QSKA9ElW9ecNNoO+laH7SuLNAfaodXHGo4XHWdBtDz8XYmne+xm4hIEFsdczkq4if3A8+Z/9ECbve2BWwJsYO/MZMcW7Qeen+tMQUddrDWz0iv6eUwGWq1FR8x52Rj6DxCyCKOXH7/Cy7FQKRGcb1RVOZgsWBCcpeRHQV8uGxFMrRpt1jWNoUhFcWGL76dl5P/JADYw5t0WvFYr8PlW8+toOnj4jrEWjWNsxLIwiJeb21lfhdtGaH8UmZxu3mzMxc0l+HQB8fE4jncOMnXOB/iDPoyRI4q4jwYH1jevMp3j0nDNyKiIb/em97FS9UKXIx42Nv5nPsHwMQWHKxyu X-Forefront-PRVS: 0785459C39 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(189002)(199003)(24454002)(1076002)(86362001)(23676002)(87976001)(50466002)(101416001)(92566002)(5008740100001)(586003)(2950100001)(77096005)(3846002)(54356999)(6116002)(97736004)(50986999)(40100003)(4001350100001)(122386002)(76176999)(81156007)(42186005)(5001960100002)(189998001)(110136002)(33656002)(105586002)(106356001)(61506002)(5004730100002)(83506001)(19580395003)(19580405001)(47776003)(66066001)(1096002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1718; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjNQUjA3MDFNQjE3MTg7MjM6WExMdGxGL0pOb0lEQmFVSkgraWRwZ0Yv?= =?utf-8?B?RVZpTDVDb3llYk9sR2w3WGloUkNtQzZVVlB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Et2MytNeDhNUFFpVGFGem9qcmg0bVExUGJ3NEN6NVBHMDcvMU1FajYv?= =?utf-8?B?em5BN002MWxadGdWeWY2cWxveUpPVU1qU3RqVTBXYjJHZHF3TXc5NXBza1Ir?= =?utf-8?B?S05yRWkrc29jTFpodDhTb0JhdnF6TkJkZnZuSjFIQzNZT0RjcGJoazVQdmpG?= =?utf-8?B?M2xCaHJTenNlU0hJWGN4cE05d3ZmeTJ5cHJkdkNxY055c2IzNFJDN2tIc2c1?= =?utf-8?B?UTZ1eDljOXMyTkI1S09FWjRScDkzSjkvN0o3Yk1JM0xhNUhmaVFHNFgxL2Jl?= =?utf-8?B?YWw4WTR3YUdiOUVtKzhQdVZrQktRd3ZzNUNaTldhZkYyTlcwWFpwbXlnd20y?= =?utf-8?B?b3BwVXh2enFiaTNkcEVKZzUzZ0ZLRitDYXYwZUJwKzh2RmhFTDlONGt6U3Vx?= =?utf-8?B?ZEZZUlh5NEdxUnE2UzZEQ0dRMUl4OUJ3R3BPV1RSNTRLaEdHN014dERESkRB?= =?utf-8?Q?7JpbcKyKHCzsTTweVNjDLlr39+seX?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 5:FgL5tI1a5+ayHjXTGhvfWU0IPtr1IvtEF7q3A2PZIDQS/b3Ubz7AV7MnI042Pyd7q3h5Z0+9HTDCaTKnUf72HkitDuIxh1J09I36v0FRBDX8gIDaUd5+C5Kw50EB8tTcSiM+4LFfT3Y5J7cJimPhyQ==; 24:ajOcvJOFCRZ15ai6SD/DGeb2BCIqS4JkBfjgWkX2uWbMe1o/43D2qtcqwm0U+b2QGS/Kx5pAIfqlL3eTqCQe2vmYnYilNwn0WBvZrK1bSKU= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2015 04:40:26.1836 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1718 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] librte_hash: Fix compile errors on IBM POWER 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: Wed, 09 Dec 2015 04:40:29 -0000 On Wed, Dec 09, 2015 at 12:11:47PM +0800, Chao Zhu wrote: > This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h. The > compile error exists on IBM POWER and ARM (see jerin.jacob@caviumnetworks.com's message). remove relative references from git log, - compile error exists on IBM POWER and ARM (see jerin.jacob@caviumnetworks.com's message). + compile error exists on IBM POWER and ARM64 GCC 5.2 > > The errors are like: > In file included from /tmp/dpdk/app/test/test_hash_scaling.c:35:0: > /tmp/dpdk/build/include/rte_hash.h:70:70: error: unknown type name ‘size_t’ > typedef int (*rte_hash_cmp_eq_t)(const void *key1, const void *key2, size_t key_len); > ^ > /tmp/dpdk/build/include/rte_hash.h:120:48: error: unknown type name ‘rte_hash_cmp_eq_t’ > void rte_hash_set_cmp_func(struct rte_hash *h, rte_hash_cmp_eq_t func); add fixes: Fixes: 95da2f8e9c61 ("hash: customize compare function") with above changes, Acked-by: Jerin Jacob > > Signed-off-by: Chao Zhu > --- > lib/librte_hash/rte_hash.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h > index 6494ade..85fc416 100644 > --- a/lib/librte_hash/rte_hash.h > +++ b/lib/librte_hash/rte_hash.h > @@ -41,6 +41,7 @@ > */ > > #include > +#include > > #ifdef __cplusplus > extern "C" { > -- > 1.7.1 >