From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] eventdev: remove PCI dependency Date: Tue, 6 Jun 2017 14:31:18 +0530 Message-ID: <20170606090117.GA25773@jerin> References: <20170601164146.13501-1-jerin.jacob@caviumnetworks.com> <20170605125555.GJ18840@bidouze.vm.6wind.com> <20170606030547.GA20006@jerin> <20170606080921.GK18840@bidouze.vm.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com To: =?iso-8859-1?Q?Ga=EBtan?= Rivet Return-path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0079.outbound.protection.outlook.com [104.47.40.79]) by dpdk.org (Postfix) with ESMTP id 103245699 for ; Tue, 6 Jun 2017 11:01:39 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20170606080921.GK18840@bidouze.vm.6wind.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" -----Original Message----- > Date: Tue, 6 Jun 2017 10:09:21 +0200 > From: Gaëtan Rivet > To: Jerin Jacob > Cc: dev@dpdk.org, bruce.richardson@intel.com, harry.van.haaren@intel.com, > hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com > Subject: Re: [dpdk-dev] [PATCH] eventdev: remove PCI dependency > User-Agent: Mutt/1.5.23 (2014-03-12) > > On Tue, Jun 06, 2017 at 08:35:48AM +0530, Jerin Jacob wrote: > > -----Original Message----- > > > Date: Mon, 5 Jun 2017 14:55:55 +0200 > > > From: Gaëtan Rivet > > > To: Jerin Jacob > > > Cc: dev@dpdk.org, bruce.richardson@intel.com, harry.van.haaren@intel.com, > > > hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com > > > Subject: Re: [dpdk-dev] [PATCH] eventdev: remove PCI dependency > > > User-Agent: Mutt/1.5.23 (2014-03-12) > > > > > > Hi Jerin, > > > > Hi Gaëtan, > > > > > > > > On Thu, Jun 01, 2017 at 10:11:46PM +0530, Jerin Jacob wrote: > > > > Remove the PCI dependency from generic data structures > > > > and moved the PCI specific code to rte_event_pmd_pci* > > > > > > > > > > Thanks for working on this. > > > > > > Do you plan on removing rte_pci.h in rte_eventdev_pmd.h? Do you think it > > > would be feasible? > > > > That is for PCI PMD specific probe(rte_event_pmd_pci_probe() and rte_event_pmd_pci_remove()), > > More like, lib/librte_ether/rte_ethdev_pci.h functions in ethdev. > > So, I think, It is OK to keep rte_pci.h for PMD specific functions. > > > > > > Ok, sure. However rte_eventdev.c includes both rte_pci.h and > rte_eventdev_pmd.h. Can it be made independent from the PMD specific > include? Sure. I will remove rte_pci.h from rte_eventdev.c and send the v2.