[dpdk-dev] [PATCH 6/6] virtio: add virtio v1.0 support

2015-12-30 Thread Yuanhan Liu
On Tue, Dec 29, 2015 at 11:39:47AM +, 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

[dpdk-dev] [PATCH 6/6] virtio: add virtio v1.0 support

2015-12-29 Thread Tan, Jianfeng
> -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 6/6] virtio: add virtio v1.0 support > ... > Signed-off-by: Yuanhan Liu > -

[dpdk-dev] [PATCH 6/6] virtio: add virtio v1.0 support

2015-12-10 Thread Yuanhan Liu
Modern (v1.0) virtio pci device defines several pci capabilities. Each cap has a configure structure corresponding to it, and the cap.bar and cap.offset fields tell us where to find it. And thanks to the RTE_PCI_DRV_NEED_MAPPING, which already maps all the bar space for us, we could easily locate