numam-dpdk/drivers/net
Zhiyong Yang fe19d49cb5 net/virtio: fix Rx interrupt with VFIO
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", not "1", which causes the
failure of configuring rxq intr in l3fwd-power.
This patch adds the function "vtpci_msix_detect" to detect the status
of msix when interrupt changes happen.
In the meanwhile, virtio_intr_enable/disable are introduced to wrap
rte_intr_enable/disable to enhance the ability to detect msix.
use_msix can indicate three different msix status by:
VIRTIO_MSIX_NONE (0)
VIRTIO_MSIX_DISABLED (1)
VIRTIO_MSIX_ENABLED (2)

Fixes: cb482cb3a3 ("net/virtio: fix MAC address read")
Cc: stable@dpdk.org

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2017-11-11 15:54:16 +01:00
..
af_packet bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
ark drivers/net: fix number of segment storage type 2017-11-10 09:17:13 +00:00
avp drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
bnx2x drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
bnxt net/bnxt: fix link handling and configuration 2017-11-10 09:42:25 +00:00
bonding bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
cxgbe mbuf: rename physical address to IOVA 2017-11-06 22:44:26 +01:00
dpaa mbuf: rename physical address to IOVA 2017-11-06 22:44:26 +01:00
dpaa2 net/dpaa2: set queues after reconfiguration 2017-11-01 22:17:06 +01:00
e1000 net/igb: fix Rx interrupt with VFIO and MSI-X 2017-11-07 10:19:02 +01:00
ena mbuf: rename physical address to IOVA 2017-11-06 22:44:26 +01:00
enic net/enic: fix TSO for packets greater than 9208 bytes 2017-11-02 19:32:04 +01:00
failsafe bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
fm10k mbuf: rename physical address to IOVA 2017-11-06 22:44:26 +01:00
i40e drivers/net: fix number of segment storage type 2017-11-10 09:17:13 +00:00
ixgbe drivers/net: fix number of segment storage type 2017-11-10 09:17:13 +00:00
kni bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
liquidio net/liquidio: support device reset in driver 2017-11-08 21:30:14 +01:00
mlx4 net/mlx4: fix missing stamp during Tx completion 2017-11-11 15:54:16 +01:00
mlx5 net/mlx5: fix link speed bitmasks 2017-11-11 15:54:16 +01:00
mrvl bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
nfp net/nfp: fix possible memory leak 2017-11-10 09:31:24 +00:00
null bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
octeontx bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
pcap bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
qede drivers/net: fix number of segment storage type 2017-11-10 09:17:13 +00:00
ring bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
sfc drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
softnic net/softnic: fix build with gcc 4.5.1 2017-11-08 20:44:56 +01:00
szedata2 drivers/net: fix number of segment storage type 2017-11-10 09:17:13 +00:00
tap bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
thunderx drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
vhost bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
virtio net/virtio: fix Rx interrupt with VFIO 2017-11-11 15:54:16 +01:00
vmxnet3 net/vmxnet3: fix memory leak when releasing queues 2017-11-03 00:07:07 +01:00
Makefile mk: remove useless list of core libraries 2017-11-06 21:56:07 +01:00