From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 916BE1B1BD; Wed, 11 Oct 2017 20:19:38 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 11 Oct 2017 11:19:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,362,1503385200"; d="scan'208";a="909001145" Received: from unknown (HELO [10.241.225.21]) ([10.241.225.21]) by FMSMGA003.fm.intel.com with ESMTP; 11 Oct 2017 11:19:36 -0700 To: "Lu, Wenzhuo" , "Dai, Wei" , "Ananyev, Konstantin" Cc: "dev@dpdk.org" , "stable@dpdk.org" References: <1505902693-51337-1-git-send-email-wei.dai@intel.com> <6A0DE07E22DDAD4C9103DF62FEBC09093B6C242F@shsmsx102.ccr.corp.intel.com> From: Ferruh Yigit Message-ID: <96429dbd-484b-6a27-e2cc-24479a24b616@intel.com> Date: Wed, 11 Oct 2017 19:19:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC09093B6C242F@shsmsx102.ccr.corp.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix Rx queue interrupt mapping in VF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 18:19:39 -0000 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.