From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id CC9FC1B659; Fri, 3 Nov 2017 11:37:25 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP; 03 Nov 2017 03:37:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,338,1505804400"; d="scan'208";a="1033073435" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 03 Nov 2017 03:37:24 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 3 Nov 2017 03:37:24 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 3 Nov 2017 03:37:23 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.218]) with mapi id 14.03.0319.002; Fri, 3 Nov 2017 18:37:22 +0800 From: "Wu, Jingjing" To: "Dai, Wei" , "Xing, Beilei" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v3 2/2] net/i40e: fix Rx queue interrupt mapping in VF Thread-Index: AQHTVIH6n7EZzHH6AEq1ViN/gMaO6qMCdkxg Date: Fri, 3 Nov 2017 10:37:21 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810EACDC5@SHSMSX103.ccr.corp.intel.com> References: <1509693243-43101-1-git-send-email-wei.dai@intel.com> <1509698850-13301-1-git-send-email-wei.dai@intel.com> <1509698850-13301-3-git-send-email-wei.dai@intel.com> In-Reply-To: <1509698850-13301-3-git-send-email-wei.dai@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzE4ZWFhODItMjUyMy00ZDYxLWFlYzgtZDRjMDhmODA4ZTJkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IitxQTAxOHlIdWkzQlE1NGk4dm1nNzdVOUxcLzk2elZ3ekNCTHJwemlJZVlVPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v3 2/2] net/i40e: fix Rx queue interrupt mapping in VF X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 10:37:26 -0000 > -----Original Message----- > From: Dai, Wei > Sent: Friday, November 3, 2017 4:48 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Dai, Wei ; stable@dpdk.org > Subject: [PATCH v3 2/2] net/i40e: fix Rx queue interrupt mapping in VF >=20 > 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 i40e VF Rx queue interrupts can be mapped in > vector 1. And as current igb_uio only support only one vector, > i40e 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. > Also remove 2 unsed macro definitions. >=20 > Fixes: 4b90a3ff26c5 ("i40evf: support Rx interrupt") > Fixes: 975ffea6f671 ("net/i40e: remove DPDK PF version specific code") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wei Dai Acked-by: Jingjing Wu