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.