From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2 7/7] virtio: add 1.0 support Date: Thu, 14 Jan 2016 15:58:59 +0800 Message-ID: <20160114075859.GN19531@yliu-dev.sh.intel.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" , "Michael S. Tsirkin" To: "Xie, Huawei" Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 93A798E74 for ; Thu, 14 Jan 2016 08:57:43 +0100 (CET) Content-Disposition: inline In-Reply-To: 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" On Thu, Jan 14, 2016 at 07:51:08AM +0000, Xie, Huawei wrote: > On 1/14/2016 3:49 PM, Yuanhan Liu wrote: > > On Thu, Jan 14, 2016 at 07:47:17AM +0000, Xie, Huawei wrote: > >> On 1/12/2016 2:58 PM, Yuanhan Liu wrote: > >>> Modern (v1.0) virtio pci device defines several pci capabilities. > >> [snip] > >>> +static void > >>> +modern_notify_queue(struct virtio_hw *hw __rte_unused, struct virtqueue *vq) > >>> +{ > >>> + modern_write16(1, vq->notify_addr); > >>> +} > >> Does virtio 1.0 only supports MMIO? MMIO has long VMEXIT latency than > >> PORT IO. > > Virtio 1.0 supports three transport layer, including MMIO and PCI. And > > we use PCI only in our pmd driver. > > I don't mean that MMIO but use memory mapped IO for configuration. Then, yes. --yliu