From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: arch check in example dpdk_qat Date: Thu, 24 Mar 2016 12:00:49 +0100 Message-ID: <45589310.A2cUW16xOY@xps13> References: <3286701.A42TaaeMmo@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "Richardson, Bruce" , dev@dpdk.org To: "De Lara Guarch, Pablo" Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 007422BCD for ; Thu, 24 Mar 2016 12:02:33 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id p65so60295415wmp.0 for ; Thu, 24 Mar 2016 04:02:33 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-03-24 10:50, De Lara Guarch, Pablo: > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > When reading examples/dpdk_qat/Makefile, we can see this check: > > > > ifneq ($(CONFIG_RTE_ARCH),"x86_64") > > ifneq ($(LBITS),i686) > > $(error The RTE_TARGET chosen is not compatible with this environment > > \ > > (x86_64), for this application. Please change the definition of the \ > > RTE_TARGET environment variable, or run the application on a 32-bit > > OS) > > endif > > endif > > > > Is it on purpose to limit the 32-bit support to i686 only? > > Instead of the message "run the application on a 32-bit OS", should it be > > "on an i686 OS"? > > i686 OS looks fine to me. Basically, when this app was made, the only 32-bit target was i686, What about i386, i486, i586 builds ? > and the app needs the QAT driver to be running in 32 bits, if DPDK target is 32-bit.