From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=eYz3SnQ8cRc0BN71QMMjumnSIhugYBqUI7va0xynOGw=; b=cjtLCU3vYX/so21GLjIFsRMk9RwUNg8O5USDtgJnOuVkZ7hwbftTllkeLihMJCZdww ERB0GyLR1x0JpPATovOyfbPNvm0ebREza3mLI/4I266n5iW/wLG5FTgXJ5qsI2xXOnkl 3Mbw1ZuA5iRC+xKBMsT2ojYuKFk++Lg/RT/w33qGHRU09J23LjqJCbibrSDZK5bS2eP9 fhJviJhaevVlOMR94Nu4pZXP/kEE0nSw/ubDjRasjdMp7r7G356PLvcjgTBDhDsXYopU 68Mrk4bfFh78tjG7oDiJMUbXNeuA1IM3Qiuxt+an4MvSWJoDfBL7DNkiIOY1RHDwTyqO 3wzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=eYz3SnQ8cRc0BN71QMMjumnSIhugYBqUI7va0xynOGw=; b=ANBgTmUdfLKDUiU0x2SRqXESfJkaF/bBXLSwr9cTjCtiBdXlr89w7xiqbUTbAwqo8L 1rj1EMnPqBqjfm7i8gcWmVzYRHli3C/TnTJ+zbScl745vXwIFBhyVS7Z4zGsIDZsuwmn Fd8PJYu9HEtCuKNMxMNsn23B8kFcrEZ8syBVbmVb1LPmAm+bJTKo0vRzb6LwjtX2uRNp kMXTm10I4qcavSzhesHqABzGSYFj/zDeXFMZL05jATYdicKWih/+pFFMYFumchynTQyf 1CeXJlSNnSq6ltH9eu9wWfTzFv3fd4aqcedrOvbchXUE9aT/Wf8Y/wEE1QHDPnYJn8Mr tdnQ== X-Gm-Message-State: ALoCoQmeKN6mY3Jou9EXJ3B1OwNsqnqCxpl14IWKoKE2jqvO9TVPFQCwM3tlgscmOpIUog8pqQfV X-Received: by 10.28.217.18 with SMTP id q18mr7510629wmg.10.1446371704684; Sun, 01 Nov 2015 01:55:04 -0800 (PST) Received: from xps13.localnet (111.202.154.77.rev.sfr.net. [77.154.202.111]) by smtp.gmail.com with ESMTPSA id l131sm12062489wmd.14.2015.11.01.01.55.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Nov 2015 01:55:04 -0800 (PST) From: Thomas Monjalon To: Marcel Apfelbaum , "Michael S. Tsirkin" Date: Sun, 01 Nov 2015 10:53:53 +0100 Message-ID: <1963243.g88CBzixeL@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <5635D4C8.4030407@redhat.com> References: <1444907319-26348-1-git-send-email-marcel@redhat.com> <2413695.XHLO16SCPC@xps13> <5635D4C8.4030407@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] vhost-user: enable virtio 1.0 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: Sun, 01 Nov 2015 09:55:05 -0000 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?