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 2901EA04DB; Fri, 11 Dec 2020 03:24:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD60CAC9A; Fri, 11 Dec 2020 03:24:07 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 489D837B7; Fri, 11 Dec 2020 03:24:05 +0100 (CET) IronPort-SDR: KdsZ6xbhGD/WANLoL4VRwlHOyZ04P2IL4/KqzWvj1sBXnm6JMmffo8ROGT8cGpUj1zCksjIIiB +IeOh/e9ZuPQ== X-IronPort-AV: E=McAfee;i="6000,8403,9831"; a="161417833" X-IronPort-AV: E=Sophos;i="5.78,409,1599548400"; d="scan'208";a="161417833" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 18:24:04 -0800 IronPort-SDR: Tx9LUcTHcKw+IrgTpUhANV9abBGBi11wscT2lrT0AM7piPn51Ob5JslgODhrJQgvikw7Y7P0wI GM8rsj3i6N3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,409,1599548400"; d="scan'208";a="408901381" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 10 Dec 2020 18:24:03 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 10 Dec 2020 18:23:58 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 11 Dec 2020 10:23:56 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Fri, 11 Dec 2020 10:23:56 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Xing, Beilei" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v2] net/i40e: fix global register recovery Thread-Index: AQHWwiahbYj47tqapE2OelDZbQcegqnxRPTA Date: Fri, 11 Dec 2020 02:23:56 +0000 Message-ID: References: <20201119061616.37482-1-beilei.xing@intel.com> <20201120084947.40064-1-beilei.xing@intel.com> <46dc7f84914d48c3b4fdb257cc9762e7@intel.com> In-Reply-To: <46dc7f84914d48c3b4fdb257cc9762e7@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix global register recovery 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 On Behalf Of Guo, Jia > Sent: Tuesday, November 24, 2020 1:56 PM > To: Xing, Beilei ; dev@dpdk.org > Cc: stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix global register recovery >=20 > Acked-by: Jeff Guo >=20 > > -----Original Message----- > > From: Xing, Beilei > > Sent: Friday, November 20, 2020 4:50 PM > > To: dev@dpdk.org > > Cc: Guo, Jia ; Xing, Beilei > > ; stable@dpdk.org > > Subject: [PATCH v2] net/i40e: fix global register recovery > > > > From: Beilei Xing > > > > PMD configures the global register I40E_GLINT_CTL during device > > initialization to work around the Rx write back issue. But when a > > device is bound from DPDK to kernel, the global register is not > > recovered to the original state, it will cause kernel driver performanc= e drop > issue. > > This patch fixes this issue. > > > > Fixes: be6c228d4da3 ("i40e: support Rx interrupt") > > Fixes: 4ab831449a1c ("net/i40e: fix interrupt conflict with > > multi-driver") > > Cc: stable@dpdk.org > > > > Signed-off-by: Beilei Xing Applied to dpdk-next-net-intel. Thanks Qi