From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: Re: [PATCH v5 08/12] eal/pci: generalize args of PCI scan/match towards RTE device/driver Date: Fri, 6 Jan 2017 17:33:56 +0530 Message-ID: <12001366-5c91-5b89-e9c5-e85236f7de78@nxp.com> References: <1482756644-13726-1-git-send-email-shreyansh.jain@nxp.com> <1482758645-23057-1-git-send-email-shreyansh.jain@nxp.com> <1482758645-23057-9-git-send-email-shreyansh.jain@nxp.com> <32257536.1rHviD2EUb@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: , To: Thomas Monjalon Return-path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0071.outbound.protection.outlook.com [104.47.32.71]) by dpdk.org (Postfix) with ESMTP id 779232C36 for ; Fri, 6 Jan 2017 13:00:28 +0100 (CET) In-Reply-To: <32257536.1rHviD2EUb@xps13> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wednesday 04 January 2017 03:43 AM, Thomas Monjalon wrote: > 2016-12-26 18:54, Shreyansh Jain: >> PCI scan and match now work on rte_device/rte_driver rather than PCI >> specific objects. These functions can now be plugged to the generic >> bus callbacks for scanning and matching devices/drivers. > > These sentences looks weird :) > PCI functions must work with PCI objects, it's simpler. > However I agree to register PCI scan, match, init and remove functions > with the generic rte_bus. Then the rte_device object is casted into > rte_pci_device inside these functions. > Ok. I will rephrase.