[dpdk-dev] [PATCH] net/ixgbe: fix VFIO interrupt mapping in PF

2017-09-20 Thread Wei Dai
When a PF port is bound to VFIO-PIC, only miscellaneous interrupt is mapped to VFIO vector 0 in ixgbe_dev_init( ). In ixgbe_dev_start(), if previous VFIO interrupt mapping set in ixgbe_dev_init( ) is not cleard, it will fail when calling rte_intr_enable( ) tries to map Rx queue interrupt to other V

[dpdk-dev] [PATCH] net/ixgbe: fix VFIO interrupt mapping in PF

2017-09-20 Thread Wei Dai
When a PF port is bound to VFIO-PIC, only miscellaneous interrupt is mapped to VFIO vector 0 in ixgbe_dev_init( ). In ixgbe_dev_start(), if previous VFIO interrupt mapping set in ixgbe_dev_init( ) is not cleard, it will fail when calling rte_intr_enable( ) tries to map Rx queue interrupt to other V