numam-dpdk/drivers/net/i40e
Wei Dai 96a9fd03c2 net/i40e: fix Rx queue interrupt mapping in VF
When a VF port is bound to VFIO-PCI, miscellaneous interrupt is
mapped to MSI-X vector 0 and Rx queues interrupt are mapped to
other vectors in vfio_enable_msix( ). To simplify implementation,
all VFIO-PCI bound i40e VF Rx queue interrupts can be mapped in
vector 1. And as current igb_uio only support only one vector,
i40e VF PMD should use vector 0 for igb_uio and vector 1 for
VFIO-PCI. Without this patch, VF Rx queue interrupt is mapped
to vector 0 in register settings and mapped to VFIO vector 1
in vfio_enable_msix( ), and then all Rx queue interrupts will
be missed.
Also remove 2 unused macro definitions.

Fixes: 4b90a3ff26 ("i40evf: support Rx interrupt")
Fixes: 975ffea6f6 ("net/i40e: remove DPDK PF version specific code")
Cc: stable@dpdk.org

Signed-off-by: Wei Dai <wei.dai@intel.com>
Tested-by: Lei Yao <lei.a.yao@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
2017-11-03 20:18:16 +01:00
..
base net/i40e/base: fix bool definition 2017-10-06 02:49:48 +02:00
i40e_ethdev_vf.c net/i40e: fix Rx queue interrupt mapping in VF 2017-11-03 20:18:16 +01:00
i40e_ethdev.c net/i40e: fix mirror with firmware 6.0 2017-11-01 22:17:06 +01:00
i40e_ethdev.h net/i40e: add support for packet template to flow director 2017-10-26 02:33:01 +02:00
i40e_fdir.c memzone: rename address from physical to IOVA 2017-11-06 22:25:44 +01:00
i40e_flow.c remove useless memzone includes 2017-11-06 22:12:08 +01:00
i40e_logs.h net/i40e: use dynamic log type for control logs 2017-04-05 13:48:45 +02:00
i40e_pf.c remove useless memzone includes 2017-11-06 22:12:08 +01:00
i40e_pf.h net/i40e: remove DPDK PF version specific code 2017-10-06 02:49:47 +02:00
i40e_regs.h
i40e_rxtx_vec_altivec.c mbuf: rename physical address to IOVA 2017-11-06 22:44:26 +01:00
i40e_rxtx_vec_common.h eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
i40e_rxtx_vec_neon.c net/i40e: fix Rx packets number for NEON 2017-11-01 22:17:06 +01:00
i40e_rxtx_vec_sse.c mbuf: rename physical address to IOVA 2017-11-06 22:44:26 +01:00
i40e_rxtx.c mbuf: rename data address helpers to IOVA 2017-11-06 22:44:26 +01:00
i40e_rxtx.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
i40e_tm.c net/i40e: fix parent when adding TM node 2017-10-26 02:33:00 +02:00
Makefile pci: introduce library and driver 2017-10-26 23:17:31 +02:00
rte_pmd_i40e_version.map net/i40e: add support for packet template to flow director 2017-10-26 02:33:01 +02:00
rte_pmd_i40e.c net/i40e: fix queue number error in queue region 2017-10-26 02:33:01 +02:00
rte_pmd_i40e.h net/i40e: add support for packet template to flow director 2017-10-26 02:33:01 +02:00