From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ethdev: add a missing sanity check for nb_tx_desc during txq setup Date: Mon, 23 Nov 2015 23:38:28 +0100 Message-ID: <1626309.OAnRDG3yg6@xps13> References: <1448015197-30094-1-git-send-email-rahul.lakkireddy@chelsio.com> <2601191342CEEE43887BDE71AB97725836ACA797@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Felix Marti , Nirranjan Kirubaharan To: Rahul Lakkireddy , Kumar Sanghvi Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 272378E9B for ; Mon, 23 Nov 2015 23:39:46 +0100 (CET) Received: by wmec201 with SMTP id c201so2561588wme.1 for ; Mon, 23 Nov 2015 14:39:46 -0800 (PST) In-Reply-To: <2601191342CEEE43887BDE71AB97725836ACA797@irsmsx105.ger.corp.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" > > Add a sanity check for number of tx descriptors requested during tx > > queue setup. Return -EINVAL if the number requested does not meet > > the tx descriptor requirements of the device. > > > > Fixes: 80a1deb4c77a ("ethdev: add API to retrieve queue information") > > > > Signed-off-by: Rahul Lakkireddy > > Signed-off-by: Kumar Sanghvi > > --- > > Acked-by: Konstantin Ananyev > Thanks for catching it. Applied, thanks