Re: [dpdk-dev] [PATCH] net/virtio: fix use_msix get the wrong value

2017-11-01 Thread Tan, Jianfeng
On 10/31/2017 5:44 PM, Zhiyong Yang wrote: When running l3fwd-power to test virtio rxq interrupt using vfio pci noiommu mode, startup fails. In the function virtio_read_caps, the code if (flags & PCI_MSIX_ENABLE) intends to double check if vfio msix is enabled or not. However, it is indeed not

Re: [dpdk-dev] [PATCH] net/virtio: fix use_msix get the wrong value

2017-11-01 Thread Yang, Zhiyong
Hi Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Wednesday, November 1, 2017 11:40 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; maxime.coque...@redhat.com; Tan, Jianfeng > > Subject: Re: [PATCH] net/virtio: fix use_msix get the wrong value > > On

Re: [dpdk-dev] [PATCH] net/virtio: fix use_msix get the wrong value

2017-11-01 Thread Yuanhan Liu
On Tue, Oct 31, 2017 at 05:44:56PM +0800, Zhiyong Yang wrote: > When running l3fwd-power to test virtio rxq interrupt using vfio > pci noiommu mode, startup fails. What errors have you met? > In the function virtio_read_caps, > the code if (flags & PCI_MSIX_ENABLE) intends to double check > if vf

[dpdk-dev] [PATCH] net/virtio: fix use_msix get the wrong value

2017-10-31 Thread Zhiyong Yang
When running l3fwd-power to test virtio rxq interrupt using vfio pci noiommu mode, startup fails. In the function virtio_read_caps, the code if (flags & PCI_MSIX_ENABLE) intends to double check if vfio msix is enabled or not. However, it is indeed not valid. Come back to l3fwd-power, use_msix is no