From: David Miller Subject: Re: [PATCH net-next] liquidio: avoided acquiring post_lock for data only queues Date: Tue, 07 Aug 2018 12:41:05 -0700 (PDT) Message-ID: <20180807.124105.687808391822233780.davem@davemloft.net> References: <20180806200940.GA2501@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, intiyaz.basha@cavium.com To: felix.manlunas@cavium.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:49448 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389263AbeHGV5B (ORCPT ); Tue, 7 Aug 2018 17:57:01 -0400 In-Reply-To: <20180806200940.GA2501@felix-thinkpad.cavium.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Felix Manlunas Date: Mon, 6 Aug 2018 13:09:40 -0700 > From: Intiyaz Basha > > All control commands (soft commands) goes through only Queue 0 > (control and data queue). So only queue-0 needs post_lock, > other queues are only data queues and does not need post_lock > > Added a flag to indicate the queue can be used for soft commands. > > If this flag is set, post_lock must be acquired before posting > a command to the queue. > If this flag is clear, post_lock is invalid for the queue. > > Signed-off-by: Intiyaz Basha > Signed-off-by: Felix Manlunas Applied, thank you.