From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] liquidio: fix race condition in instruction completion processing Date: Wed, 29 Aug 2018 19:48:19 -0700 (PDT) Message-ID: <20180829.194819.1062030438074527824.davem@davemloft.net> References: <20180828183255.GA7536@felix-thinkpad.cavium.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, raghu.vatsavayi@cavium.com, derek.chickles@cavium.com, satananda.burla@cavium.com, ricardo.farrington@cavium.com To: felix.manlunas@cavium.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:40034 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbeH3GsN (ORCPT ); Thu, 30 Aug 2018 02:48:13 -0400 In-Reply-To: <20180828183255.GA7536@felix-thinkpad.cavium.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Felix Manlunas Date: Tue, 28 Aug 2018 11:32:55 -0700 > From: Rick Farrington > > In lio_enable_irq, the pkt_in_done count register was being cleared to > zero. However, there could be some completed instructions which were not > yet processed due to budget and limit constraints. > So, only write this register with the number of actual completions > that were processed. > > Signed-off-by: Rick Farrington > Signed-off-by: Felix Manlunas Applied.