From: Ferruh Yigit Subject: Re: [PATCH] net/ixgbe: fix Rx queue interrupt mapping in VF Date: Wed, 11 Oct 2017 19:19:36 +0100 Message-ID: <96429dbd-484b-6a27-e2cc-24479a24b616@intel.com> References: <1505902693-51337-1-git-send-email-wei.dai@intel.com> <6A0DE07E22DDAD4C9103DF62FEBC09093B6C242F@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , "stable@dpdk.org" To: "Lu, Wenzhuo" , "Dai, Wei" , "Ananyev, Konstantin" Return-path: In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC09093B6C242F@shsmsx102.ccr.corp.intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/11/2017 4:13 AM, Lu, Wenzhuo wrote: > Hi, > >> -----Original Message----- >> From: Dai, Wei >> Sent: Wednesday, September 20, 2017 6:18 PM >> To: Lu, Wenzhuo ; Ananyev, Konstantin >> >> Cc: dev@dpdk.org; Dai, Wei ; stable@dpdk.org >> Subject: [PATCH] net/ixgbe: 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 ixgbe VF >> Rx queue interrupts can be mapped in vector 1. And as current igb_uio only >> support only one vector, ixgbe 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. >> >> Fixes: b13bfab4cdbe ("eal: reserve VFIO vector zero for misc interrupt") >> Cc: stable@dpdk.org >> >> Signed-off-by: Wei Dai > Acked-by: Wenzhuo Lu Applied to dpdk-next-net/master, thanks.