From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3] net/mlx5: fix link status is always inconsist Date: Wed, 1 Feb 2017 10:57:45 +0000 Message-ID: <1e95843d-36d2-40d7-1334-2ee08b0167eb@intel.com> References: <1485678163-17737-1-git-send-email-shahafs@mellanox.com> <1485868418-44506-1-git-send-email-shahafs@mellanox.com> <20170131154000.GB16389@autoinstall.dev.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, stable@dpdk.org To: =?UTF-8?Q?N=c3=a9lio_Laranjeiro?= , Shahaf Shuler Return-path: In-Reply-To: <20170131154000.GB16389@autoinstall.dev.6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/31/2017 3:40 PM, Nélio Laranjeiro wrote: > On Tue, Jan 31, 2017 at 03:13:38PM +0200, Shahaf Shuler wrote: >> Query the link status can end up in an inconsist state where the port is >> down but it is reporting speed. For that another query is scheduled for a >> later time. >> A race condition is possible between the scheduled call and other link >> status interrupt handlers. When the scheduled query by-pass those handlers, >> the link status will be stuck in an in-consist state. >> This patch addresses the race condition by not blocking link status >> queries in case delayed query is on the flight. >> >> Fixes: 198a3c339a8f ("mlx5: handle link status interrupts") >> CC: stable@dpdk.org >> >> Signed-off-by: Shahaf Shuler > Acked-by: Nelio Laranjeiro Applied to dpdk-next-net/master, thanks.