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

Ferruh Yigit ferruh.yigit at intel.com
Wed Oct 11 20:24:51 CEST 2017

On 10/11/2017 4:16 AM, Lu, Wenzhuo wrote:
> Hi,
>> -----Original Message-----
>> From: Dai, Wei
>> Sent: Thursday, September 28, 2017 10:29 AM
>> To: Lu, Wenzhuo <wenzhuo.lu at intel.com>; Ananyev, Konstantin
>> <konstantin.ananyev at intel.com>; Liang, Cunming
>> <cunming.liang at intel.com>; Ma, Jianwei <jianwei.ma at intel.com>
>> Cc: dev at dpdk.org; Dai, Wei <wei.dai at intel.com>; stable at dpdk.org
>> Subject: [PATCH v2] net/ixgbe: fix VFIO interrupt mapping in VF
>> When a VF port is bound to VFIO-PIC, only miscellaneous interrupt is
>> mapped to VFIO vector 0 in eth_ixgbevf_dev_init( ).
>> In ixgbevf_dev_start(), if previous VFIO interrupt mapping set in
>> eth_ixgbevf_dev_init( ) is not cleard, it will fail when calling rte_intr_enable( )
>> tries to map Rx queue interrupt to other VFIO vectors. This patch clears the
>> VFIO interrupt mappings before setting both miscellaneous and Rx queue
>> interrupt mappings again to avoid failure.
>> Fixes: 77234603fba0 ("net/ixgbe: support VF mailbox interrupt for link
>> up/down")
>> Cc: stable at dpdk.org
>> Signed-off-by: Wei Dai <wei.dai at intel.com>
> Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>

Applied to dpdk-next-net/master, thanks.

More information about the dev mailing list