From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 3/3] ethdev: use device name from device structure Date: Thu, 06 Jul 2017 00:11:21 +0200 Message-ID: <3994424.RAXfEQKQeg@xps> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Gaetan Rivet , Jan Blunck To: Ferruh Yigit 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) In-Reply-To: <20170609183606.34596-3-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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