From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=IkR1vfdT9GvBApxU66vOL4PFtb6w4IyW0MWeTBC0tjQ=; b=t8eyD40JHXtj81SaCCMRicDAqucz2R5VKjxd9+JIlydXUVfhmrDj26Fn6Ye307XCTJ nZZg1psaRAQNjKbBMqhZhXJPmkjSfmy7IKiXmHw775erb6KfKPKLnIIGMoonNr10FOge ghVpcQ4hg1W6oxHvOvW5T6cB/dcNWbNxxnYf0HHD8k/e8y6GTOhzGq6gLl6oIhA2JUhV RPDF1+ltKjQ8xlw/E+8ziCfEBPzGESTWp0TuMcMVTTWEYCnWxBPk60CFz3E12LCIyh0N oVlY//ulDxLzjFdr+kBFw6skweFB+fEr03SZORmgd/eu8GuskeGJ57a9o/e4NVtneeqQ YlcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=IkR1vfdT9GvBApxU66vOL4PFtb6w4IyW0MWeTBC0tjQ=; b=j2Eyhz9qF1oC1K1N87kb7rY7kgrKPMKJObIYphBDgjqZtaMs1Ohz1yvzUK5nhsNVnY mivU7AIixrt0jvAdk945XLLVNvqVlqKjcSDpaiCFn6r+aHgTFNHhOKtEVxvU0A0oHEnU kYkMyPOuzbqI3cmA7x6refAjaXQpoD8fsYMzzWNMeBIjeV2T0rP0Bx98GjhgDLi2rRZJ JfIzgTwfocVAPlrPrVP/biCHDuSy4MD9gJUehcZ/IoqSId9B4yvdfHnASxUA2F0cu/1v NPqD5UmB0vGOXQujIQqhdUOonzIXlu53CJrfJhzfFjXbphxTjpqSJZfdX1Otd35oCxxp v2tw== X-Gm-Message-State: ALoCoQnI5CDDgij+YtKtPnXdwyLcVE/8ENeUenFbktCqL9IabLuSKAGCG0bWeWduh8pVRx0R5md5 X-Received: by 10.194.123.162 with SMTP id mb2mr37895746wjb.32.1448318385995; Mon, 23 Nov 2015 14:39:45 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id e83sm15247437wmc.23.2015.11.23.14.39.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Nov 2015 14:39:45 -0800 (PST) From: Thomas Monjalon To: Rahul Lakkireddy , Kumar Sanghvi Date: Mon, 23 Nov 2015 23:38:28 +0100 Message-ID: <1626309.OAnRDG3yg6@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <2601191342CEEE43887BDE71AB97725836ACA797@irsmsx105.ger.corp.intel.com> References: <1448015197-30094-1-git-send-email-rahul.lakkireddy@chelsio.com> <2601191342CEEE43887BDE71AB97725836ACA797@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Felix Marti , Nirranjan Kirubaharan Subject: Re: [dpdk-dev] [PATCH] ethdev: add a missing sanity check for nb_tx_desc during txq setup 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: Mon, 23 Nov 2015 22:39:46 -0000 > > 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