]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_pci.h
pci: reference driver structure for each device
[dpdk.git] / lib / librte_eal / common / include / rte_pci.h
index acd43a55bb17994e85c8d0b676cf3cbd7c53b648..4be38d22c8623e69254a11f733c7a30a31e8f774 100644 (file)
@@ -110,6 +110,8 @@ struct rte_pci_device {
        struct rte_pci_id id;                   /**< PCI ID. */
        struct rte_pci_resource mem_resource;   /**< PCI Memory Resource */
        struct rte_intr_handle intr_handle;     /**< Interrupt handle */
+       const struct rte_pci_driver *driver;    /**< Associated driver */
+       unsigned int blacklisted:1;             /**< Device is blacklisted */
 };
 
 /** Any PCI device identifier (vendor, device, ...) */