From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 3918E49E1; Wed, 30 May 2018 11:54:50 +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 fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 May 2018 02:54:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,460,1520924400"; d="scan'208";a="62840973" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga002.jf.intel.com with ESMTP; 30 May 2018 02:54:49 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.139]) by IRSMSX102.ger.corp.intel.com ([169.254.2.146]) with mapi id 14.03.0319.002; Wed, 30 May 2018 10:54:48 +0100 From: "De Lara Guarch, Pablo" To: dev , "dev@dpdk.org" CC: "Zhang, Helin" , "Zhang, Roy Fan" , "Zhang, Qi Z" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3] net/i40e: fix link status update Thread-Index: AQHT9/HmbpUCFliDSEKoMVeWH3B54aRICDfg Date: Wed, 30 May 2018 09:54:47 +0000 Message-ID: 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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODM3N2ZhMGEtZmI1Ni00NDQ0LWIwNGEtMmFmNDljZTdiNDliIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiN2I1VTdnWVEweGhtR05yN2lTXC9OQ0pXTXBQNGQza1FrZkZ0Q2NkV1RLMjVCVzFpb1VKNmR2ZWVScFpwQUZHOEYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.180] 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 09:54:52 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] > Sent: Wednesday, May 30, 2018 9:31 AM > To: dev@dpdk.org > Cc: Zhang, Helin ; Zhang, Roy Fan > ; Zhang, Qi Z ; > stable@dpdk.org > Subject: [dpdk-dev] [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 Tested-by: Pablo de Lara