From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] nfp: avoiding concurrency when hardware reconfig Date: Tue, 3 May 2016 13:58:50 +0100 Message-ID: <20160503125850.GA20188@bricha3-MOBL3> References: <1461675781-24023-1-git-send-email-alejandro.lucero@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Alejandro Lucero Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 2BC6558CB for ; Tue, 3 May 2016 14:58:55 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1461675781-24023-1-git-send-email-alejandro.lucero@netronome.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Apr 26, 2016 at 02:03:01PM +0100, Alejandro Lucero wrote: > Some apps calling some functions from different threads at the > same time could lead to reconfig problems. Reconfig mechanism is > based on a hardware queue where incrementing a counter signals the > firmware to do the reconfig. If there are two increments before the > first one has been processed the firmware will stop and a device > reset is necessary. > > - v2: header file to the right place > > Signed-off-by: Alejandro Lucero Applied to dpdk-next-net/rel_16_07 /Bruce