]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_pci.h
ethdev: remove assumption that port will not be detached
[dpdk.git] / lib / librte_eal / common / include / rte_pci.h
index 1550d49d858be8d72c959aced1087d451b57f4ab..ac30925b8fb45c586c4e6ba82d9b2b965590595f 100644 (file)
@@ -216,6 +216,8 @@ struct rte_pci_driver {
 #define RTE_PCI_DRV_FORCE_UNBIND 0x0004
 /** Device driver supports link state interrupt */
 #define RTE_PCI_DRV_INTR_LSC   0x0008
+/** Device driver supports detaching capability */
+#define RTE_PCI_DRV_DETACHABLE 0x0010
 
 /**< Internal use only - Macro used by pci addr parsing functions **/
 #define GET_PCIADDR_FIELD(in, fd, lim, dlm)                   \