From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 8ED1247CD; Wed, 30 May 2018 12:25:30 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 246DD21D3A; Wed, 30 May 2018 06:25:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 30 May 2018 06:25:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=WwWc2fmKVwmsPcx9Dd1o60jjAp E6bP1u94ceGxwtXi8=; b=dIQf7aOAL9kndYdTvxCmffpTt/4cCGdXUyGQTXs3iR AshNHQNF6hPZKwMK32f/gWKbVmStDG/xJnFp4QxKWOWpTbR+lgdSdgnJ+1A5gCd+ x++zs0kEbyB0BRhhl9V3JrgEe1IXrvKZphB8AAZ7sVGy3rksEfjjlJJWYOTmrrF7 4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=WwWc2f mKVwmsPcx9Dd1o60jjApE6bP1u94ceGxwtXi8=; b=D+mZvBby1IjIPvY/cMqHu4 MxO6qmoDQgwcW0sclm7M+CB42GLLpsRnR+NdQ2CjBxCop/N9reZfgOkmmpuvF2lD pRri37K7kd2qtsNgKrYU/cye0kG7/1PIpcDY7yfh2bLBdLk8mdmUwmgA7yDSQWSE lSx3ivd+EDdFJeS96KfthwfT7au9xRIxbwzvzOsgaGna2twEPQeVcN+OFoznAxXc JiQeD8H8qMgv/Zn67WVA2zfwnR0lfh1PxZdlsl4YOLhDwkZEID3uhPdBbIRM47/z HeTUfKo9gDcU6ZVtGH3FBwHaKw0MVG90oNvtABR5LY8w6Zl066czUObKlWO65ODQ == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 26639E4EAC; Wed, 30 May 2018 06:25:29 -0400 (EDT) From: Thomas Monjalon To: "Zhang, Roy Fan" Cc: dev@dpdk.org, "De Lara Guarch, Pablo" , "Zhang, Helin" , "Zhang, Qi Z" , "stable@dpdk.org" Date: Wed, 30 May 2018 12:25:27 +0200 Message-ID: <10397704.dxBWFqvgLZ@xps> In-Reply-To: References: <20180530082634.33843-1-roy.fan.zhang@intel.com> <20180530083047.33991-1-roy.fan.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 10:25:30 -0000 > > This patch fixes link status update problem in interrupt mode. > > Previously, directly reading link status register instead of accessing via admin > > queue command may cause the link status change interrupt callback inactive. > > This patch fixes the problem by making the driver only read the register in "no > > wait" and polling mode. > > > > Bugzilla ID: 54 > > Fixes: eef2daf2e199 ("net/i40e: fix link update no wait") > > Cc: stable@dpdk.org > > > > Signed-off-by: Fan Zhang > > Tested-by: Pablo de Lara Applied, thanks