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 6C65AA046B for ; Wed, 24 Jul 2019 02:33:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 860511C0D6; Wed, 24 Jul 2019 02:33:53 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 8C8AB1C029; Wed, 24 Jul 2019 02:33:51 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2019 17:33:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,300,1559545200"; d="scan'208";a="197317618" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 23 Jul 2019 17:33:50 -0700 Received: from fmsmsx162.amr.corp.intel.com (10.18.125.71) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 23 Jul 2019 17:33:45 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx162.amr.corp.intel.com (10.18.125.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 23 Jul 2019 17:33:45 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.232]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.162]) with mapi id 14.03.0439.000; Wed, 24 Jul 2019 08:33:43 +0800 From: "Zhang, Qi Z" To: "Zhang, Xiao" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Zhao1, Wei" , "Ye, Xiaolong" , "Zhang, Xiao" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [v8] net/e1000: fix i219 hang on reset/close Thread-Index: AQHVQFVLWdQKeoBk4E+Bo6/fQokNS6bY7f2g Date: Wed, 24 Jul 2019 00:33:42 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153D6BECC@SHSMSX105.ccr.corp.intel.com> References: <1563797960-58560-1-git-send-email-xiao.zhang@intel.com> <1563808312-64145-1-git-send-email-xiao.zhang@intel.com> In-Reply-To: <1563808312-64145-1-git-send-email-xiao.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDg3NzE1MTYtMWYzNy00MzgyLWIwMWEtMWRmOGIyOGU4YzFjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiU1lrc1J4WmFHVWsycGFqcENPeWRVdGhEcmVYcFJcL2dwK045SkJySzFtXC9FRXlrZFwvZFRrUUtuWHpTdEo2VzJtRCJ9 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] [v8] net/e1000: fix i219 hang on reset/close 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 Xiao Zhang > Sent: Monday, July 22, 2019 11:12 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Zhao1, Wei > ; Ye, Xiaolong ; Zhang, Xiao > ; stable@dpdk.org > Subject: [dpdk-dev] [v8] net/e1000: fix i219 hang on reset/close >=20 > Unit hang may occur if multiple descriptors are available in the rings du= ring > reset or close. This state can be detected by configure status by bit 8 i= n > register. If the bit is set and there are pending descriptors in one of t= he rings, > we must flush them before reset or close. >=20 > Fixes: 80580344("e1000: support EM devices (also known as e1000/e1000e)") > Cc: stable@dpdk.org >=20 > Signed-off-by: Xiao Zhang Reviewed-by: Xiaolong Ye Applied to dpdk-next-net-intel Thanks Qi