From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B6D3C44C3; Wed, 30 May 2018 10:48:38 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 May 2018 01:48:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,459,1520924400"; d="scan'208";a="233090087" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 30 May 2018 01:48:37 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 30 May 2018 01:48:36 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 30 May 2018 01:48:35 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.51]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.87]) with mapi id 14.03.0319.002; Wed, 30 May 2018 16:47:52 +0800 From: "Zhang, Qi Z" To: "Zhang, Roy Fan" , "dev@dpdk.org" CC: "Zhang, Helin" , "stable@dpdk.org" Thread-Topic: [PATCH v3] net/i40e: fix link status update Thread-Index: AQHT9/HkeLJhmpHWo0+94412o++p2KRH9YCQ Date: Wed, 30 May 2018 08:47:52 +0000 Message-ID: <039ED4275CED7440929022BC67E706115322ECE6@SHSMSX103.ccr.corp.intel.com> References: <20180530082634.33843-1-roy.fan.zhang@intel.com> <20180530083047.33991-1-roy.fan.zhang@intel.com> In-Reply-To: <20180530083047.33991-1-roy.fan.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODJmMWQwYTEtNDNkZC00Yjc5LTkyYzEtMWY2ZTMzMmQxNWM5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR0FnUkJCNEdnMlhFT2Nva1U1U0pNZVpHTWtIektMaVdaVEtkd3hRWTFGQjRaK2FJRUpuN2RsdWxcLzJIYlwvc2JjIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 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 link status update 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: , X-List-Received-Date: Wed, 30 May 2018 08:48:39 -0000 > -----Original Message----- > From: Zhang, Roy Fan > Sent: Wednesday, May 30, 2018 4:31 PM > To: dev@dpdk.org > Cc: Zhang, Helin ; Zhang, Roy Fan > ; Zhang, Qi Z ; > stable@dpdk.org > Subject: [PATCH v3] net/i40e: fix link status update >=20 > This patch fixes link status update problem in interrupt mode. > Previously, directly reading link status register instead of accessing vi= a admin > queue command may cause the link status change interrupt callback inactiv= e. > This patch fixes the problem by making the driver only read the register = in > "no wait" and polling mode. >=20 > Bugzilla ID: 54 > Fixes: eef2daf2e199 ("net/i40e: fix link update no wait") > Cc: stable@dpdk.org >=20 > Signed-off-by: Fan Zhang Acked-by: Qi Zhang