From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 9F35FA0096
	for <public@inbox.dpdk.org>; Tue,  4 Jun 2019 12:42:54 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 74EA61BC18;
	Tue,  4 Jun 2019 12:42:54 +0200 (CEST)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id DD13C1BBFF;
 Tue,  4 Jun 2019 12:42:53 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 3669E21540;
 Tue,  4 Jun 2019 06:42:53 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Tue, 04 Jun 2019 06:42:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=mesmtp;
 bh=jYDNS8eDAW7firB3TyQSj+o4I2Txnldr/xTKgII36nE=; b=b9qN/DDiMauC
 NhReGXEEC3QVrIpShk53QGb/jAn8HAulg/myB+mlQdcnEOGakq0Q4JxXWk692DIr
 kAxZogchIu76+f8Wgo5KWpy1iEuCSAf7TMHiuGok2EBSJKFtksSp93sO3KfIDbc7
 YK+fF9PpfzW/NQeYO1O1xTpzCiNZqzo=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=jYDNS8eDAW7firB3TyQSj+o4I2Txnldr/xTKgII36
 nE=; b=Ef2J+9r+dMdBKiNWrgvmGOQFbZwUiwA3VWhVhH575h+GOKKdmXMx9gWBo
 gnyTXI9rMZtKdS4n/DtP0vxcg7/uZ6N+6MwbLLh8YfK+3awaecHGsVqFU2nj/0zm
 Kr1SOfmZk82LE0qS663LAKlGTCRmZ9+BuMCZTjqCURhr63YLYzF/qeNzIAVOCYbw
 SiRfLM9LSYyXRFxetrAIdKs2kJWucyeJfPWmIENaphh28Rkc/rbMNTU1WShngk5+
 EFr0uavamYW4T48FFN8Sd8Jm5ooO6l58BmkvDA/ZeCSK9Ix/tdyMSTSR9N5cSQqh
 yjtTU5W+ytXlIncy0CJsychY9PJsw==
X-ME-Sender: <xms:LEv2XCbEKsyh0dEJUa8i2KNl2Kbgly9QMxfCprNWoCFxcqAtXUBE_g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudefledgfedvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf
 hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh
 ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:LEv2XPpaNy6Gccq4eI04ptyc3faEA0BjgwrduRPpeHisPlMaDkjvYw>
 <xmx:LEv2XCb07rAJzh68ulp6VyZ1fcMBsCzT5iBP6gx_h_f1CQjbSsJVeg>
 <xmx:LEv2XK43v1bInPC33JRyjex4Z0QXh9NfyRC9myk6gQbg_rsWi0uvMw>
 <xmx:LUv2XLmaJ82jkJewA6MUg8ygivo9E_ZsuCesUjEIEkJA5EyfC38SDw>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id EC65F80061;
 Tue,  4 Jun 2019 06:42:51 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Ali Alnubani <alialnu@mellanox.com>
Cc: stable@dpdk.org,
 "konstantin.ananyev@intel.com" <konstantin.ananyev@intel.com>,
 "dev@dpdk.org" <dev@dpdk.org>
Date: Tue, 04 Jun 2019 12:42:49 +0200
Message-ID: <1862449.XiZpO5FNKu@xps>
In-Reply-To: <20190506094857.14248-1-alialnu@mellanox.com>
References: <20190506094857.14248-1-alialnu@mellanox.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] examples/ip_fragmentation: fix
	Tx queues init
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

06/05/2019 11:49, Ali Alnubani:
> The application tries to configure queue ids larger
> than the maximum allowed by MAX_TX_QUEUE_PER_PORT. This
> causes the startup error:
> 
> "
>   ...
>   Initializing port 0 on lcore 0... Address:7C:FE:90:12:23:0D
>   txq=0,0 txq=1,1 txq=2,2 txq=3,3 txq=4,4 txq=5,5 txq=6,6 txq=7,7 txq=8,8
>   txq=9,9 txq=10,10 txq=11,11 txq=12,12 txq=13,13 txq=14,14 txq=15,15
>   txq=16,16 Invalid TX queue_id=16
> 
>   EAL: Error - exiting with code: 1
>     Cause: rte_eth_tx_queue_setup: err=-22, port=0
> "
> 
> The error reproduces when lcores aren't set, and when the
> machine has more than 16 cores.
> 
> Fixes: af75078fece3 ("first public release")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Ali Alnubani <alialnu@mellanox.com>

Applied, thanks