From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 25 Mar 2016 08:19:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,391,1455004800"; d="scan'208";a="675556813" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.58]) by FMSMGA003.fm.intel.com with SMTP; 25 Mar 2016 08:19:01 -0700 Received: by (sSMTP sendmail emulation); Fri, 25 Mar 2016 15:18:58 +0025 Date: Fri, 25 Mar 2016 15:18:58 +0000 From: Bruce Richardson To: Olivier Matz Cc: dev@dpdk.org, adrien.mazarguil@6wind.com 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 Content-Disposition: inline In-Reply-To: <1458901481-21227-1-git-send-email-olivier.matz@6wind.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2] mlx4: use dummy rxqs when a non-pow2 number is requested X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2016 15:23:00 -0000 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