From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH 0/6 for 2.3] initial virtio 1.0 enabling Date: Wed, 30 Dec 2015 11:53:02 +0800 Message-ID: <20151230035302.GD26062@yliu-dev.sh.intel.com> References: <1449719650-3482-1-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: "Tan, Jianfeng" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 70F7C8D93 for ; Wed, 30 Dec 2015 04:50:28 +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 Tue, Dec 29, 2015 at 11:19:20AM +0000, Tan, Jianfeng wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yuanhan Liu > > Sent: Thursday, December 10, 2015 11:54 AM > > To: dev@dpdk.org > > Subject: [dpdk-dev] [PATCH 0/6 for 2.3] initial virtio 1.0 enabling > > > > Hi, > > > > Here is an initial virtio 1.0 pmd driver enabling. > > > > Almost all difference comes from virtio 1.0 are the PCI layout change: > > the major configuration structures are stored at bar space, and their > > location is stored at corresponding pci cap structure. Reading/parsing > > them is one of the major work of patch 6. > > > > To make handling virtio v1.0 and v0.95 co-exist well, this patch set > > introduces a virtio_pci_ops structure, to add another layer so that > > we could keep those vtpci_foo_bar "APIs". With that, we could do the > > minimum change to add virtio 1.0 support. > > > Please point out from which version, qemu starts to support virtio 1.0 net devices. I didn't bother to check: I always use the latest qemu, the one build from git. To test it, you need to add 'disable-modern=false' option to the virtio-net-pci device. I have added a simple test guide on internal jira. And I should have done so here; will add the test guide in next version. --yliu