From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v4 0/3] Fix incorrect max TX queue numbers for ixgbe Date: Thu, 24 Mar 2016 17:44:58 +0000 Message-ID: <20160324174458.GH13728@bricha3-MOBL3> References: <1458832675-666-1-git-send-email-pablo.de.lara.guarch@intel.com> <1458832924-1489-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, wenzhuo.lu@intel.com To: Pablo de Lara Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 121B52904 for ; Thu, 24 Mar 2016 18:45:01 +0100 (CET) Content-Disposition: inline In-Reply-To: <1458832924-1489-1-git-send-email-pablo.de.lara.guarch@intel.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 Thu, Mar 24, 2016 at 03:22:01PM +0000, Pablo de Lara wrote: > IXGBE supports 128 TX queues. However, the full 128 queues > are only available in VT and DCB mode. > In normal default "none" mode (VT/DCB off) the maximum number > of available queues is only 64. > IXGBE doesn't check the mode when reporting the available > number of queues. If a queue larger than 64 is used in default mode, > the TX packets will be dropped silently. > > This patchset: > > - Modifies the device info to show the correct maximum number of available TX queues, > depending on the mode. > > - Adds a check to forbid using a queue number larger than 64 > during device configuration (in default mode), so that the problem is > reported as early as possible. > > - It also changes the order of where the dev_conf parameters are copied > into the dev structure so that the correct maximum number of queues > is reported for the correct mode. > > Changes in v4: > - Split the patch in three smaller patches > - Updated release notes document > > Changes in v3: > - Fixed wrong set of TX queues for 82596EB > > Changes in v2: > > - Reorder memcpy of device configuration in rte_eth_dev_configure(), > so function gets the correct maximum number of queues > (depending on the operation mode), before checking the > requested number of queues. > - Renamed new macro > - Reworded/wrapped commit message > > Pablo de Lara (1): > ethdev: copy device configuration earlier > > Wenzhuo Lu (2): > ixgbe: fix incorrect tx queue number assignment > ixgbe: fix incorrect max tx queue number > All three patches are fixes, so all three should have "Fixes" lines in them. Please remember for next time! Thanks, /Bruce