From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5593A2EEB for ; Wed, 11 Sep 2019 04:53:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D7A4A1EB71; Wed, 11 Sep 2019 04:53:46 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A25151EB66; Wed, 11 Sep 2019 04:53:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2019 19:53:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,491,1559545200"; d="scan'208";a="178882217" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga008.jf.intel.com with ESMTP; 10 Sep 2019 19:53:44 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 10 Sep 2019 19:53:44 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.89]) with mapi id 14.03.0439.000; Wed, 11 Sep 2019 10:53:42 +0800 From: "Yang, Qiming" To: "Cui, LunyuanX" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Cui, LunyuanX" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/iavf: fix multi-queue Rx interrupt for VF Thread-Index: AQHVZGYrTI8SlPTmK0+f9AFtW0OYfaclzw4w Date: Wed, 11 Sep 2019 02:53:42 +0000 Message-ID: References: <20190905032240.23239-1-lunyuanx.cui@intel.com> <20190906114730.27261-1-lunyuanx.cui@intel.com> In-Reply-To: <20190906114730.27261-1-lunyuanx.cui@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDU3NzE3ZjctODJkNS00MTdjLTk2OTAtYjFmMmUxZGZlZmViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieEZUcFFWMjdsKytGM2NrSzN6Y2RTUjhSajVqZGpmcStaR3Bab1hkQlVralM2bXQrcDZYdlo2Uys2N3k4YkJwWiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 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-dev] [PATCH v2] net/iavf: fix multi-queue Rx interrupt for 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of lunyuan.cui > Sent: Friday, September 6, 2019 7:48 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Cui, LunyuanX > ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/iavf: fix multi-queue Rx interrupt for= VF >=20 > The original issue was that the last queue could not be mapped to the > interrupt vector, so the last queue could not receive the package in the > interrupt mode. > This patch fixes the issue. >=20 > Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt") > Cc: stable@dpdk.org >=20 > Signed-off-by: Lunyuan Cui > --- > drivers/net/iavf/iavf_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethde= v.c > index 8f3907378..6559bfa1f 100644 > --- a/drivers/net/iavf/iavf_ethdev.c > +++ b/drivers/net/iavf/iavf_ethdev.c > @@ -360,7 +360,7 @@ static int iavf_config_rx_queues_irqs(struct > rte_eth_dev *dev, > for (i =3D 0; i < dev->data->nb_rx_queues; i++) { > vf->rxq_map[vec] |=3D 1 << i; > intr_handle->intr_vec[i] =3D vec++; > - if (vec >=3D vf->nb_msix) > + if (vec > vf->nb_msix) > vec =3D IAVF_RX_VEC_START; > } > PMD_DRV_LOG(DEBUG, > -- > 2.17.1 Acked-by: Qiming Yang