From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id AF4622C30
 for <dev@dpdk.org>; Tue, 26 Feb 2019 18:34:57 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 14957221D0;
 Tue, 26 Feb 2019 12:34:57 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute1.internal (MEProxy); Tue, 26 Feb 2019 12:34:57 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=mesmtp;
 bh=+Bemw95CR7SbJI6OtpHowsl+8APFAx4buk4vGo1Adtk=; b=NFEaPvWKlbfM
 PhNsKQ96LwQdWonCDISHkJf6KZKK63ObXz3q6DZWMpdQ3pAEjBwDgFcdNN2Xgtqs
 658AstHJG//kcGyKIwrJt+eJFb3D04zBfVSZw//uIC+YO3FP4WP9MFRaaSxvWLca
 n7TAD36PSCTDflXmyXXuv+oIsAbZJVE=
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-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=+Bemw95CR7SbJI6OtpHowsl+8APFAx4buk4vGo1Ad
 tk=; b=VZFN6OI5MqDVOG1JmefDLjWt9sirPplRC2fk/mtvI0IdapqwIin2YPd00
 98J7RVBxVidXefAyMawfQo1T11ZAkUny96Ze59xjLTPIj205Ssc5MKyioM3162ir
 34swS69p5eSaYMBm33JbEv2hUKjJ0+wqtW7YedJuq69igFh5VvxGfiX4jk/yC8XM
 4Ey8gb3hQb4G24PapsEkAXufxk8EDx/kgxgxfLOOdB2nTw/uFNZ85uMx3U093+0l
 MVJQLRb7fFiPdgnuXja7oaG6+7dKdBB+sb/0LF3h42GkZddLvEqCl661k98u8pHt
 FG8K2sE1RV0piyvY90gyV86bnAz/A==
X-ME-Sender: <xms:wHh1XJE1QrUqqlopytqxF7TsPcjfNsDWfCsFsp8kNmJws4k_tx9Acw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrudelgddutdehucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf
 hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh
 ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:wHh1XNpCJuoWEKKbEJBDFDExtiAb9XSYSD3mPk_VSr-gOlkVCt2e7A>
 <xmx:wHh1XCENm_O5lcIsT5VJWkgh-UWBXgjRwTguGv4XSmFm9qAANsZNGQ>
 <xmx:wHh1XKYC4d78NR-XFh6sovQFsk8tFhZadYK-b-YCcvHaa4u38sRzAw>
 <xmx:wXh1XEu4lK6tsWN_2nppi1X_8z7Kiv7xBEuzoSIEMLG_YocbmwbWeA>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id E396910312;
 Tue, 26 Feb 2019 12:34:55 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org, Luca Boccassi <bluca@debian.org>
Date: Tue, 26 Feb 2019 18:34:54 +0100
Message-ID: <5206548.KeCzm57IXO@xps>
In-Reply-To: <1537957091.8363.1.camel@debian.org>
References: <20180926091536.61370-1-bruce.richardson@intel.com>
 <1537957091.8363.1.camel@debian.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH] build: set RTE_ARCH_64 based on pointer size
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Feb 2019 17:34:58 -0000

26/09/2018 12:18, Luca Boccassi:
> On Wed, 2018-09-26 at 10:15 +0100, Bruce Richardson wrote:
> > Rather than relying on the target machine architecture, use the
> > size of a pointer from the compiler to determine if we are 64-bits
> > or not. This allows correct behaviour when you pass -m32 as a compile
> > option. It also allows us to use this value repeatedly throughout the
> > repo rather than continually testing for the sizeof(void*).
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> > ---
> >  config/arm/meson.build      | 3 +--
> >  config/meson.build          | 5 ++++-
> >  config/ppc_64/meson.build   | 4 +++-
> >  config/x86/meson.build      | 3 +--
> >  drivers/net/sfc/meson.build | 2 +-
> >  lib/librte_bpf/meson.build  | 2 +-
> >  lib/librte_kni/meson.build  | 2 +-
> >  7 files changed, 12 insertions(+), 9 deletions(-)
> 
> Tested-by: Luca Boccassi <bluca@debian.org>
> 
> Build-tested on ppc64 and arm64 native Debian sid hosts.

Rebased with new change in drivers/net/enic/meson.build,
and applied, thanks