]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_pci.h
eal/pci: introduce a PCI driver flag
[dpdk.git] / lib / librte_eal / common / include / rte_pci.h
index b82ab9e79d308e6b290ddadb682ee06824fd2325..0284a6208aa568b613093d88e07c43a7c4fcc4f9 100644 (file)
@@ -212,6 +212,8 @@ struct rte_pci_bus {
 #define RTE_PCI_DRV_INTR_LSC   0x0008
 /** Device driver supports device removal interrupt */
 #define RTE_PCI_DRV_INTR_RMV 0x0010
+/** Device driver needs to keep mapped resources if unsupported dev detected */
+#define RTE_PCI_DRV_KEEP_MAPPED_RES 0x0020
 
 /**
  * A structure describing a PCI mapping.