From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] enic: fix incorrect setting of rx descriptor limit Date: Tue, 22 Mar 2016 17:32:41 +0000 Message-ID: <20160322173241.GK20448@bricha3-MOBL3> References: <1458254810-32283-1-git-send-email-johndale@cisco.com> <1458326014-30910-1-git-send-email-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Nelson Escobar To: John Daley Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 619D72B9D for ; Tue, 22 Mar 2016 18:32:45 +0100 (CET) Content-Disposition: inline In-Reply-To: <1458326014-30910-1-git-send-email-johndale@cisco.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 Fri, Mar 18, 2016 at 11:33:34AM -0700, John Daley wrote: > From: Nelson Escobar > > On initialization, the rq descriptor count was set to the limit > of the vic. When the requested number of rx descriptors was > less than this count, enic_alloc_rq() was incorrectly setting > the count to the lower value. This results in later calls to > enic_alloc_rq() incorrectly using the lower value as the adapter > limit. > > Signed-off-by: Nelson Escobar > Fixes: fefed3d1e62c ("enic: new driver") > Reviewed-by: John Daley Please put the fixes line above the signoffs, not in the middle of them. It just makes it easier to read. I'll fix this for this patch when applying it. /Bruce