From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 1430C3195 for ; Wed, 9 Dec 2015 21:23:32 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id v187so2346214wmv.1 for ; Wed, 09 Dec 2015 12:23:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=MmnB9dqeh9R+JbME07bSMIIJUUx/KpISDWElUpAerSk=; b=HNNAV1sMIUeJAD0PtXWnu12MKN64eJOIVdNbqZgoyq7Z80LqnGpg6b/Rm19rQSaLiU UXOnG9c/sJpra8I5kWCggMzpzcRoFac0aA1mRt1+xIybR5C5xG5ZVyA6sSfk0AN+S8mg xLVujE4lyj0oF5iiBUEgTBlBNwkoG4bKi0TfDdQiSILKvyj2CCaW1We79VDZyS7uXwv/ JilXwQDToIldcCM9mn+7l69eyegrmsABv99NeDXTsmnO/QjJgQcQm8NEg4PMEBbIQnBp v2UfxCDSAnCeNvudF1cQFsKrKC5DuBsLEF3oD3d/EJcymITTKmoj0fDMMjhGzhFkavmD Vx2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=MmnB9dqeh9R+JbME07bSMIIJUUx/KpISDWElUpAerSk=; b=iuXeRiLxHvn7Bzbv0b/Df/s05HIhgYZQS9Ek5GQ0P1T86h1UjwRYjOtsblQaVDCWFa SYDRzPPZQKyHMP3LezVD5cZHkhdkdE1LHUAnZmH5VZXdWdq2BLpDEjQKXKlUIptG+VJo cT6EJ+Wo3qKwk6448Djt01tyhuKlG/bE7gXD7E4kgn+IkaQYQxc7xxeU3Ja4+VbUcyg8 WgqDVsWexMQi30Q18CKEFk/nf3HX8RDp7876xJmKoxeKfFgV/abU2ba8GuvLPBSqG51T 945HhAimfjm5esVE5exvCdud1R3QwaB6q3T5Q2gZHAF2I5r7pJ+a4kpbjbhRqDERMCFn YcNw== X-Gm-Message-State: ALoCoQlEIDbn9C8MIGkLunlPy+vC9x6WSj5+bl286G7ADhPFqMsO4GjnZ4epHCP5V+pC7kEDmClWlbrlnDV4r+d7bSCOlXHk9Q== X-Received: by 10.194.23.233 with SMTP id p9mr7786693wjf.86.1449692611900; Wed, 09 Dec 2015 12:23:31 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id u185sm9675488wmu.19.2015.12.09.12.23.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Dec 2015 12:23:31 -0800 (PST) From: Thomas Monjalon To: Chao Zhu Date: Wed, 09 Dec 2015 21:22:15 +0100 Message-ID: <1836160.8n9UzrWNog@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20151209044000.GA5769@localhost.localdomain> References: <1449634307-24075-1-git-send-email-chaozhu@linux.vnet.ibm.com> <20151209044000.GA5769@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 20:23:32 -0000 2015-12-09 10:10, Jerin Jacob: > 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" d= efinition in rte_hash.h. The > > compile error exists on IBM POWER and ARM (see jerin.jacob@caviumne= tworks.com's message). >=20 > remove relative references from git log, >=20 > - compile error exists on IBM POWER and ARM (see jerin.jacob@caviumne= tworks.com's message). > + compile error exists on IBM POWER and ARM64 GCC 5.2 >=20 > >=20 > > 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 = =E2=80=98size_t=E2=80=99 > > typedef int (*rte_hash_cmp_eq_t)(const void *key1, const void *key= 2, size_t key_len); > > = ^ > > /tmp/dpdk/build/include/rte_hash.h:120:48: error: unknown type name= =E2=80=98rte_hash_cmp_eq_t=E2=80=99 > > void rte_hash_set_cmp_func(struct rte_hash *h, rte_hash_cmp_eq_t f= unc); >=20 > add fixes: >=20 > Fixes: 95da2f8e9c61 ("hash: customize compare function") >=20 > with above changes, >=20 > Acked-by: Jerin Jacob Applied, thanks