[dpdk-dev] [PATCH V2 2/2] virtio: support IOMMU platform

2016-10-20 Thread Jason Wang
On 2016?10?11? 12:14, Yuanhan Liu wrote: > On Fri, Oct 07, 2016 at 07:24:44AM +0300, Michael S. Tsirkin wrote: >> On Wed, Sep 28, 2016 at 04:25:12PM +0800, Jason Wang wrote: >>> Negotiate VIRTIO_F_IOMMU_PLATFORM to have IOMMU support. >>> >>> Signed-off-by:

[dpdk-dev] [PATCH V2 2/2] virtio: support IOMMU platform

2016-10-20 Thread Jason Wang
On 2016?10?07? 12:24, Michael S. Tsirkin wrote: > On Wed, Sep 28, 2016 at 04:25:12PM +0800, Jason Wang wrote: >> Negotiate VIRTIO_F_IOMMU_PLATFORM to have IOMMU support. >> >> Signed-off-by: Jason Wang >> --- >> Changes from v1: >> - remove unnecessary NE

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-07 Thread Jason Wang
something went wrong :( > > --yliu > > On Mon, Sep 05, 2016 at 03:16:26PM +0800, Yuanhan Liu wrote: >> On Fri, Sep 02, 2016 at 02:37:00PM +0800, Jason Wang wrote: >>> Virtio pmd doesn't support VFIO in the past since devices bypass IOMMU >>> completely.

[dpdk-dev] [PATCH 1/2] net/virtio: support modern device id

2016-09-05 Thread Jason Wang
On 2016?09?02? 20:57, Thomas Monjalon wrote: > 2016-09-02 14:36, Jason Wang: >> Spec said "The PCI Device ID is calculated by adding 0x1040 to the >> Virtio Device ID". So this patch makes pmd can recognize modern virtio >> net id. > Please could you descri

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-05 Thread Jason Wang
ilto:mst at redhat.com>> wrote: > > On Fri, Sep 02, 2016 at 03:04:56PM +0200, Thomas Monjalon wrote: > > 2016-09-02 14:37, Jason Wang: > > > Virtio pmd doesn't support VFIO in the past since devices > bypass IOMMU > > > completely. B

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-05 Thread Jason Wang
On 2016?09?02? 21:04, Thomas Monjalon wrote: > 2016-09-02 14:37, Jason Wang: >> Virtio pmd doesn't support VFIO in the past since devices bypass IOMMU >> completely. But recently, the work of making virtio device work with >> IOMMU is near to complete. > Good news! >

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-05 Thread Jason Wang
On 2016?09?02? 21:04, Thomas Monjalon wrote: > 2016-09-02 14:37, Jason Wang: >> Virtio pmd doesn't support VFIO in the past since devices bypass IOMMU >> completely. But recently, the work of making virtio device work with >> IOMMU is near to complete. > Good news! >

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-02 Thread Jason Wang
VIRTIO_F_IOMMU_PLATFORM Signed-off-by: Jason Wang --- drivers/net/virtio/virtio_ethdev.c | 2 +- drivers/net/virtio/virtio_ethdev.h | 3 ++- drivers/net/virtio/virtio_pci.h| 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio

[dpdk-dev] [PATCH 1/2] net/virtio: support modern device id

2016-09-02 Thread Jason Wang
Spec said "The PCI Device ID is calculated by adding 0x1040 to the Virtio Device ID". So this patch makes pmd can recognize modern virtio net id. Signed-off-by: Jason Wang --- drivers/net/virtio/virtio_ethdev.c | 1 + drivers/net/virtio/virtio_pci.h| 1 + 2 files changed, 2

[dpdk-dev] [PATCH v4 08/14] virtio: pci: extend virtio pci rw api for vfio interface

2016-01-18 Thread Jason Wang
On 01/14/2016 09:28 PM, Santosh Shukla wrote: > So far virtio handle rw access for uio / ioport interface, This patch to > extend > the support for vfio interface. For that introducing private struct > virtio_vfio_dev{ > - is_vfio > - pci_dev > }; > Signed-off-by: Santosh

[dpdk-dev] [PATCH v7 4/8] vhost: rxtx: use queue id instead of constant ring index

2015-11-17 Thread Jason Wang
On 11/17/2015 04:23 PM, Michael S. Tsirkin wrote: > On Mon, Nov 16, 2015 at 02:20:57PM -0800, Flavio Leitner wrote: >> > On Wed, Oct 28, 2015 at 11:12:25PM +0200, Michael S. Tsirkin wrote: >>> > > On Wed, Oct 28, 2015 at 06:30:41PM -0200, Flavio Leitner wrote: > > > On Sat, Oct 24, 2015 at

[dpdk-dev] Poor Virtio PMD TX Performance

2015-06-12 Thread Jason Wang
On 06/12/2015 05:35 PM, Zhou, Tianlin wrote: > Hi Changchun, > > Thanks for your response. > Please see my embedded comments. > > What kind of vhost in your test? Linux vhost or dpdk user space vhost? > [tzhou] We use Linux vhost. > > Do you enable the dump/log in your test? It will decrease