From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vhost-user: enable virtio 1.0 Date: Sun, 01 Nov 2015 10:53:53 +0100 Message-ID: <1963243.g88CBzixeL@xps13> References: <1444907319-26348-1-git-send-email-marcel@redhat.com> <2413695.XHLO16SCPC@xps13> <5635D4C8.4030407@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Marcel Apfelbaum , "Michael S. Tsirkin" Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id D86118E7E for ; Sun, 1 Nov 2015 10:55:04 +0100 (CET) Received: by wmeg8 with SMTP id g8so39541063wme.1 for ; Sun, 01 Nov 2015 01:55:04 -0800 (PST) In-Reply-To: <5635D4C8.4030407@redhat.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" 2015-11-01 11:00, Marcel Apfelbaum: > On 10/30/2015 07:48 PM, Thomas Monjalon wrote: > > 2015-10-18 10:04, Michael S. Tsirkin: > >> This will require more work then as 1.0 is a different > >> endian-ness from 0.9. It's up to you guys to decide > >> whether correct BE support is now a requirement for all > >> new dpdk code. Let us know. > > > I'm not sure to understand. > > Yes DPDK must work on big endian platforms. > > Does this patch prevent from using virtio 0.9 with big endian? > > No, if it worked until now, will continue to work. (And the other way around) > > However, if virtio 1.0 is supported by both QEMU and vhost-user, > virtio 1.0 has different endianess requirements than prev virtio, OK so that's an acceptable workaround: big endian platforms must use virtio 0.9. In order to have a big endian support of virtio 1.0, is it sufficient to convert data? Is it something we want regarding performance?