[dpdk-dev] [PATCH v5 08/12] eal/pci: generalize args of PCI scan/match towards RTE device/driver

Shreyansh Jain shreyansh.jain at nxp.com
Fri Jan 6 13:03:56 CET 2017


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.


More information about the dev mailing list