From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id E6A5B2BA1 for ; Thu, 8 Jun 2017 22:58:03 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 641AA20AAA; Thu, 8 Jun 2017 16:58:03 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 08 Jun 2017 16:58:03 -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=3xwNa0shThCYuCb +e+P91EZSiyecPCVEyxa6a/PAz8I=; b=ZdBoe+xGJfE7t+VJVDLD8VsFmczhUPg xDAmkUhAftN0KaKHgOyiKxeEFTkfChqIitXEGpQD8i/RVsoYFJJV3ZM4ioo+LbtI /CvlMQ8IcnQv8Vpxm+ydUv7BbBJfcUnENpxYZXry1WrXG6ijP5nHRXpLkeL2GGlD LJFfAnE04xkE= 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=3xwNa0shThCYuCb+e+P91EZSiyecPCVEyxa6a/PAz8I=; b=mvCPB/x/ WNybg6gqtzpHZEfNRwgcuMX7yhopPHsCoLGbddUSBQp0MYcV5kqRZ4cuzYHzxD+a 6fgF9YB7YZgHu5cIuJ25Elex2YxZv58+SoSq/9ER2qzYnf4WWTO121HGjNMK6NVi DqPfQRuyKznIVPPmoxvuf/spRTfV93VzWwV6+tfG3Zl/Q3PSTJZy/5Blbs4NY2F6 KoIYpgOckBbbrUXtY5R2DP16nzwcqIujlR2hqZCAd2UBKQKrc5bdDglA1k+BJbj1 Q81k0hQporlKw0OoODANbMGZLQfYAugG/oZ3gqIMB1McNIWGxBeSdEFeEgV31cj/ c7L4mh8mVO8UWw== X-ME-Sender: X-Sasl-enc: +kx2cjChsiIIdUoFobQXOLGEbuV/YaZ7weK0FRFIKu/M 1496955483 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 205A07E6E5; Thu, 8 Jun 2017 16:58:03 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Stephen Hurd , Ajit Khaparde , Declan Doherty , Rahul Lakkireddy , Hemant Agrawal , Shreyansh Jain , Helin Zhang , Jingjing Wu , Wenzhuo Lu , Konstantin Ananyev , Bruce Richardson , Pascal Mazon , Shrikrishna Khare , Jianfeng Tan , Gaetan Rivet , Jan Blunck Date: Thu, 08 Jun 2017 22:58:02 +0200 Message-ID: <20233845.fUV38rRMBa@xps> In-Reply-To: <20170606151008.62680-1-ferruh.yigit@intel.com> References: <20170526111502.92063-1-ferruh.yigit@intel.com> <20170606151008.62680-1-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] ethdev: remove driver name from device private data 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: Thu, 08 Jun 2017 20:58:04 -0000 06/06/2017 17:10, Ferruh Yigit: > rte_driver->name has the driver name and all physical and virtual > devices has access to it. > > Previously it was not possible for virtual ethernet devices to access > rte_driver->name field (because eth_dev used to keep only pci_dev), > and it was required to save driver name in the device private struct. > > After re-works on bus and vdev, it is possible for all bus types to > access rte_driver. > > It is able to remove the driver name from ethdev device private data and > use eth_dev->device->driver->name. > > Signed-off-by: Ferruh Yigit > --- > Cc: Gaetan Rivet > Cc: Jan Blunck > > v2: > * rebase on latest next-net This patch must be applied after merging next-net. Do you plan a pull request soon?