[dpdk-dev] [PATCH 0/6 for 2.3] initial virtio 1.0 enabling

Yuanhan Liu yuanhan.liu at linux.intel.com
Wed Dec 30 04:53:02 CET 2015


On Tue, Dec 29, 2015 at 11:19:20AM +0000, Tan, Jianfeng wrote:
> 
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yuanhan Liu
> > Sent: Thursday, December 10, 2015 11:54 AM
> > To: dev at 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


More information about the dev mailing list