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 C3C4AA046B for ; Wed, 24 Jul 2019 14:54:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 937A01C1D9; Wed, 24 Jul 2019 14:54:15 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C50411C1D0; Wed, 24 Jul 2019 14:54:13 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2019 05:54:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,302,1559545200"; d="scan'208";a="181086827" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 24 Jul 2019 05:54:12 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 24 Jul 2019 05:54:11 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 24 Jul 2019 05:54:11 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.232]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.60]) with mapi id 14.03.0439.000; Wed, 24 Jul 2019 20:54:09 +0800 From: "Zhang, Qi Z" To: "Zhu, TaoX" , "Xing, Beilei" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v3] net/i40e: fix request queue fail in VF Thread-Index: AQHVQfrVAf542q7IaECEkeDTDjpibqbZtxrA Date: Wed, 24 Jul 2019 12:54:08 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153D6C2FA@SHSMSX105.ccr.corp.intel.com> References: <20190719031804.7392-1-taox.zhu@intel.com> <20190724083254.33867-1-taox.zhu@intel.com> In-Reply-To: <20190724083254.33867-1-taox.zhu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGM2YjA3NzMtMGUwZS00ZTdkLWEwYjMtM2QzZjEzYmE3MTg4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieTVNVGdkendETndGQ1o2OEZBQWRnQ2NIVHVzVmhtMFRMajYzUmJ4Ym5md3ZRRHlLalNYa21mMGJ6TU0rRU5hNCJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 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 v3] net/i40e: fix request queue fail 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Zhu, TaoX > Sent: Wednesday, July 24, 2019 4:33 PM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org; Zhu, TaoX ; stable@dpdk.org > Subject: [PATCH v3] net/i40e: fix request queue fail in VF >=20 > From: Zhu Tao >=20 > When the VF configuration is larger than the number of queues reserved by= PF, > VF sends the request queue command through admin queue. When PF received > this command, it may reset the VF and send a notification before resettin= g. If > this notification is read by the timed task alarm, Task request queue wil= l lost > notification. This patch prevents two tasks from running simultaneously. >=20 > Fixes: 864a800d70 ("net/i40e: remove VF interrupt handler") This fix line can be removed since it does not bring the trouble. > Fixes: ee653bd800 ("net/i40e: determine number of queues per VF at run > time") > Cc: stable@dpdk.org >=20 > Signed-off-by: Zhu Tao > --- Please remind to add change log next time. Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi