From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 8392DADFC for ; Fri, 20 May 2016 14:11:37 +0200 (CEST) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1b3jJH-0002LO-0P; Fri, 20 May 2016 14:13:43 +0200 To: Chao Zhu , dev@dpdk.org References: <1463143859-3105-1-git-send-email-olivier.matz@6wind.com> <1463479192-2488-1-git-send-email-olivier.matz@6wind.com> <1463479192-2488-7-git-send-email-olivier.matz@6wind.com> <000301d1b1ae$cebf1470$6c3d3d50$@linux.vnet.ibm.com> Cc: david.marchand@6wind.com, yuanhan.liu@linux.intel.com, huawei.xie@intel.com From: Olivier Matz Message-ID: <573EFEEF.4040800@6wind.com> Date: Fri, 20 May 2016 14:11:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: <000301d1b1ae$cebf1470$6c3d3d50$@linux.vnet.ibm.com> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 6/7] virtio: fix pci accesses for ppc64 in legacy mode 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: Fri, 20 May 2016 12:11:37 -0000 Hi Chao, On 05/19/2016 11:13 AM, Chao Zhu wrote: > Olivier, > > Thanks for the patches! > Just one comment: > POWER8 machine only supports little endian OS on bare metal. In VM guest, it > can support both little endian and big endian OS. Did you try to run it on > both host (little endian) and guest (big endian and little endian)? No I didn't test big endian in the guest. I don't have any big endian VM image. Is it required for the test? I mean, is it possible to run a big endian DPDK userland application on a little endian kernel? (and if yes, is it known to work?) Maybe I could replace in the patch: #ifdef RTE_ARCH_PPC_64 By something like : #if defined(RTE_ARCH_PPC_64) && (RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN) If you have the ability to test it easily, it would be appreciated :) Thanks for the review! Olivier