Re: [dpdk-dev] [PATCH v4] net/virtio: fix rxq intr config fails using vfio-pci

2017-11-09 Thread Maxime Coquelin
On 11/09/2017 05:46 AM, 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 not enable

Re: [dpdk-dev] [PATCH v4] net/virtio: fix rxq intr config fails using vfio-pci

2017-11-08 Thread Tan, Jianfeng
> -Original Message- > From: Yang, Zhiyong > Sent: Thursday, November 9, 2017 12:46 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Tan, Jianfeng; y...@fridaylinux.org; > maxime.coque...@redhat.com; Yang, Zhiyong > Subject: [PATCH v4] net/virtio: fix rxq intr config fails using vfio-pci > >

[dpdk-dev] [PATCH v4] net/virtio: fix rxq intr config fails using vfio-pci

2017-11-08 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 not enable at that time. So use_msix is assigned to "0", n