From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] mlx4: use dummy rxqs when a non-pow2 number is requested Date: Fri, 25 Mar 2016 15:18:58 +0000 Message-ID: <20160325151858.GD7916@bricha3-MOBL3> References: <1458576484-28211-1-git-send-email-olivier.matz@6wind.com> <1458901481-21227-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, adrien.mazarguil@6wind.com To: Olivier Matz Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 32C22374F for ; Fri, 25 Mar 2016 16:23:00 +0100 (CET) Content-Disposition: inline In-Reply-To: <1458901481-21227-1-git-send-email-olivier.matz@6wind.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 25, 2016 at 11:24:41AM +0100, Olivier Matz wrote: > When using RSS, the number of rxqs has to be a power of two. > This is a problem because there is no API in DPDK that makes > the application aware of that. > > A good compromise is to allow the application to request a > number of rxqs that is not a power of 2, but having inactive > queues that will never receive packets. In this configuration, > a warning will be issued to users to let them know that > this is not an optimal configuration. > > Signed-off-by: Olivier Matz > Acked-by: Adrien Mazarguil Applied to dpdk-next-net/rel_16_04 /Bruce