From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 5E89D591A for ; Thu, 27 Aug 2015 19:45:11 +0200 (CEST) Received: from uucp by smtp.tuxdriver.com with local-rmail (Exim 4.63) (envelope-from ) id 1ZV1Ec-0007Hd-0Z; Thu, 27 Aug 2015 13:45:10 -0400 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.1/8.14.6) with ESMTP id t7RHhwMl005286; Thu, 27 Aug 2015 13:43:58 -0400 Received: (from linville@localhost) by localhost.localdomain (8.15.1/8.15.1/Submit) id t7RHhvQE005283; Thu, 27 Aug 2015 13:43:57 -0400 Date: Thu, 27 Aug 2015 13:43:57 -0400 From: "John W. Linville" To: Bernard Iremonger Message-ID: <20150827174357.GC8113@tuxdriver.com> References: <1440690041-32391-1-git-send-email-bernard.iremonger@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1440690041-32391-1-git-send-email-bernard.iremonger@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [RFC PATCH 0/6] remove pci driver from vdevs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 17:45:11 -0000 On Thu, Aug 27, 2015 at 04:40:35PM +0100, Bernard Iremonger wrote: > There is a dummy pci driver in the vdev PMD's at present. > This RFC proposes to remove the pci driver from the vdev PMD's. > Changes have been made to librte_ether to handle vdevs which do not have a pci driver. > > The pdev PMD's should work as before with the changes to librte_ether > The vdev PMD's which still have a pci driver should work as before with the librte_ether changes. > > The following vdev PMD's have had the pci driver removed > > bonding PMD > null PMD > pcap PMD > ring PMD Any reason there is no patch for the af_packet driver? John > Bernard Iremonger (6): > librte_ether: add fields from rte_pci_driver to rte_eth_dev and > rte_eth_dev_data. > librte_ether: handle RTE_ETH_DEV_INTR_LSC for vdevs > null: remove pci device driver > ring: remove pci device driver > bonding: remove pci device driver > pcap: remove pci device driver > > drivers/net/bonding/rte_eth_bond_alb.c | 2 +- > drivers/net/bonding/rte_eth_bond_api.c | 49 ++++++++-------------------------- > drivers/net/bonding/rte_eth_bond_pmd.c | 22 ++++++++++----- > drivers/net/null/rte_eth_null.c | 28 +++++-------------- > drivers/net/pcap/rte_eth_pcap.c | 31 +++++++-------------- > drivers/net/ring/rte_eth_ring.c | 35 +++++------------------- > lib/librte_ether/rte_ethdev.c | 34 ++++++++++++++++------- > lib/librte_ether/rte_ethdev.h | 10 ++++++- > 8 files changed, 83 insertions(+), 128 deletions(-) > > -- > 1.9.1 > > -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.