From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4C2348E83 for ; Thu, 14 Jan 2016 08:51:12 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 13 Jan 2016 23:51:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,293,1449561600"; d="scan'208";a="633220055" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 13 Jan 2016 23:51:11 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 13 Jan 2016 23:51:11 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 13 Jan 2016 23:51:10 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.215]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.117]) with mapi id 14.03.0248.002; Thu, 14 Jan 2016 15:51:09 +0800 From: "Xie, Huawei" To: Yuanhan Liu Thread-Topic: [PATCH v2 7/7] virtio: add 1.0 support Thread-Index: AdFOn8qVIMp9mFhvQbG10T5nROu3pg== Date: Thu, 14 Jan 2016 07:51:08 +0000 Message-ID: References: <1449719650-3482-1-git-send-email-yuanhan.liu@linux.intel.com> <1452581944-24838-1-git-send-email-yuanhan.liu@linux.intel.com> <1452581944-24838-8-git-send-email-yuanhan.liu@linux.intel.com> <20160114075040.GM19531@yliu-dev.sh.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.4.80] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" , "Michael S. Tsirkin" Subject: Re: [dpdk-dev] [PATCH v2 7/7] virtio: add 1.0 support 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: Thu, 14 Jan 2016 07:51:12 -0000 On 1/14/2016 3:49 PM, Yuanhan Liu wrote:=0A= > On Thu, Jan 14, 2016 at 07:47:17AM +0000, Xie, Huawei wrote:=0A= >> On 1/12/2016 2:58 PM, Yuanhan Liu wrote:=0A= >>> Modern (v1.0) virtio pci device defines several pci capabilities.=0A= >> [snip]=0A= >>> +static void=0A= >>> +modern_notify_queue(struct virtio_hw *hw __rte_unused, struct virtqueu= e *vq)=0A= >>> +{=0A= >>> + modern_write16(1, vq->notify_addr);=0A= >>> +}=0A= >> Does virtio 1.0 only supports MMIO? MMIO has long VMEXIT latency than=0A= >> PORT IO.=0A= > Virtio 1.0 supports three transport layer, including MMIO and PCI. And=0A= > we use PCI only in our pmd driver.=0A= =0A= I don't mean that MMIO but use memory mapped IO for configuration.=0A= =0A= >=0A= > --yliu=0A= >=0A= =0A=