From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com
 [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id D6E611B453
 for <dev@dpdk.org>; Mon,  7 Jan 2019 15:50:21 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 3CFED20FDC;
 Mon,  7 Jan 2019 09:50:21 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Mon, 07 Jan 2019 09:50:21 -0500
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=UL+whgMFk08jBaP/Bj07poJ3W7NuEMqj8fzeFRgA2dI=; b=KYxUlV84nbg4
 2NMc1wjfn+C2gj345jgxLAki3/a/qpd/HolCujgk2DnXxX97A5Usw3eNHFYnI7Tn
 C8/EDXcayeFnLn02J82kFYIJkbd5AUeDlSX+ZFeKTCOp79Wbemezq7YqZJo1TKye
 XqHdthaoCr1Xz6P366PLiuAsxsiIquo=
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=fm1; bh=UL+whgMFk08jBaP/Bj07poJ3W7NuEMqj8fzeFRgA2
 dI=; b=DOgntzp5xtahykX+e+I7GAhjAMSZMsU9DhuukFXZErRgUnqTbUf7q2lBs
 4m/cf6W+ydvjqwsY/n8rSstW3MXV0vqgB1adCNAy70N0mytd/M8giCsTSRI2LTiZ
 WoiED20YCf1aCTOz4fYiRFHZNheJGmahm7WG8t4sDV1yyZk8ZAdlX5lf9gdcVLA9
 5w3s01HeXi0fhR5HUoVE/I4RI9saeeDOR0QnUYCIAwgGnHTcB/lr3oiZSIKYg941
 hh5Jl1ma2dblqoCR2+DbW7GshGTW4PJUhYyiGkNnZrP/E2JPVQMEDR/3cS+YTeMX
 LATK8Ws5PcyRXs2x7XecxJuGET3oQ==
X-ME-Sender: <xms:LGczXINJSgY0nMf0lpphL1J-JyjJpYIhX5N6t1bxA9vlnefCkS5d_A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrvdejgdeijeculddtuddrgedtkedrtddtmd
 cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuff
 homhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrddvtdefrddukeegnecu
 rfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtne
 cuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:LGczXDP0lWtXVS8_Qf_V3DFs3BCc4apxxopYERKdQEKT5O-3T6oPeg>
 <xmx:LGczXKS47aJUMW-eLZnO7CM2Unv3hBv6OhB8GhI-OjPsbeJLzGBsiw>
 <xmx:LGczXFD_SXG1O2dJqE8IF8IJw7bXwKnxklf5QmmvJezinb4OB5x8JQ>
 <xmx:LWczXE-TKYT2DDToD_DmR0GKWKGulgiuWJX4nB6vP-9ZFv8CDkuEQQ>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id F33D1E4597;
 Mon,  7 Jan 2019 09:50:19 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Nithin Kumar Dabilpuram <ndabilpuram@marvell.com>
Cc: Ferruh Yigit <ferruh.yigit@intel.com>,
 Andrew Rybchenko <arybchenko@solarflare.com>, "dev@dpdk.org" <dev@dpdk.org>,
 Jerin Jacob Kollanukkaran <jerinj@marvell.com>
Date: Mon, 07 Jan 2019 15:50:16 +0100
Message-ID: <4204389.yEGWC8VWic@xps>
In-Reply-To: <20190107143951.30076-1-ndabilpuram@marvell.com>
References: <20190107143951.30076-1-ndabilpuram@marvell.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH] ethdev: report error on name truncation
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>
X-List-Received-Date: Mon, 07 Jan 2019 14:50:22 -0000

Hi,

Please provide an explanation of the current behaviour.

07/01/2019 15:40, Nithin Kumar Dabilpuram:
> -	snprintf(z_name, sizeof(z_name), "eth_p%d_q%d_%s",
> -		 dev->data->port_id, queue_id, ring_name);
> +	rc = snprintf(z_name, sizeof(z_name), "%s_%s_%d_%d",
> +		      dev->device->driver->name, ring_name,
> +		      dev->data->port_id, queue_id);

You should keep the same name format.
Please check this commit:
	http://git.dpdk.org/dpdk/commit/?id=5e046832