From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [PATCH v2 6/7] virtio: fix pci accesses for ppc64 in legacy mode Date: Fri, 20 May 2016 14:11:27 +0200 Message-ID: <573EFEEF.4040800@6wind.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Cc: david.marchand@6wind.com, yuanhan.liu@linux.intel.com, huawei.xie@intel.com To: Chao Zhu , dev@dpdk.org 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) In-Reply-To: <000301d1b1ae$cebf1470$6c3d3d50$@linux.vnet.ibm.com> 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" 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