Re: [dpdk-dev] [PATCH v3 1/2] net/i40e: fix VFIO interrupt mapping in VF

2017-11-03 Thread Wu, Jingjing
> -Original Message- > From: Dai, Wei > Sent: Friday, November 3, 2017 4:47 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Dai, Wei ; sta...@dpdk.org > Subject: [PATCH v3 1/2] net/i40e: fix VFIO interrupt mapping in VF > > When a VF port is bound to VFIO-PIC, only miscellaneou

[dpdk-dev] [PATCH v3 1/2] net/i40e: fix VFIO interrupt mapping in VF

2017-11-03 Thread Wei Dai
When a VF port is bound to VFIO-PIC, only miscellaneous interrupt is mapped to VFIO vector 0 in i40evf_dev_init( ). In i40evf_dev_interrupt_handle( ) and i40evf_dev_rx_queue_intr_enable( ), if previous VFIO interrupt mapping set in i40evf_dev_init( ) is not cleared, it will fail when PMD tries to m