From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 89C602C13 for ; Thu, 6 Jul 2017 00:11:23 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1D6E5206C7; Wed, 5 Jul 2017 18:11:23 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 05 Jul 2017 18:11:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=z9/0G0kFyBmK7f6 NdM0tPLwsLzbZXEhf0l+9xMIRKC4=; b=cHNDGhZNtLJy4/xgsS3L28TLgIRWK0J lIMm6NoU4L8U+JUnB0MaxT5b5CDSvYOEfyOUXmmhhi/+i17au8mqkh0j/1jkr6TG 4IZT8pmBkFv3V73u1xQWIDhSah59fIovi89oqTeQn9JB9qRuSSkXZoDMEzHJ1AVB wqbDeJGfV+qQ= 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-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=z9/0G0kFyBmK7f6NdM0tPLwsLzbZXEhf0l+9xMIRKC4=; b=TlvySAf8 Q1nRvwVjLiMYyWbxQaPGinQ1/ub+sOi4AiuHm5Ad9b2GLQwJyGoT3Eeb6bTBfp1n gTwpbw5z7vot8HUDwwvoMVKjtC+JfKSYZABm8nyENqU1gN0wTm6+gSpeaUcQkv5L Pwq1GhGjApHdCH9oED/UPUBXLYNeHGPgnBmUhWY42XQMlOi4Tx6ADT66zZb7nkPP pJhSV4wD2bVKj7cMm85C6kDNGTBFt43+DgQ9pF7PQvJkAOabuPbx2bo9vfuShPKK ukyNvF5c7+jXeaqMDKokEzR1RraULw2vkbjsJVvSfGeTf6amZpP3K4e5WaWO7Twt BqHl50PVI4TvDQ== X-ME-Sender: X-Sasl-enc: OIQzqArZU2Iq6X+ZA5KzBqK2d4DGTFo2DIhrUEfnfWvj 1499292682 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C343324251; Wed, 5 Jul 2017 18:11:22 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Gaetan Rivet , Jan Blunck Date: Thu, 06 Jul 2017 00:11:21 +0200 Message-ID: <3994424.RAXfEQKQeg@xps> In-Reply-To: <20170609183606.34596-3-ferruh.yigit@intel.com> References: <20170526161141.4746-1-ferruh.yigit@intel.com> <20170609183606.34596-1-ferruh.yigit@intel.com> <20170609183606.34596-3-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 3/3] ethdev: use device name from device structure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 22:11:23 -0000 09/06/2017 20:36, Ferruh Yigit: > Device name resides in two different locations, in rte_device->name and > in ethernet device private data. > > For now, the copy in the ethernet device private data is required for > multi process support, the name is the how secondary process finds about > primary process device. > > But in the ethdev library some eth_dev->data->name usage can be > converted to rte_device->name. > > This patch updates ethdev to use rte_device->name when possible. > > Signed-off-by: Ferruh Yigit Series applied, thanks