]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_private.h
pci: do not expose IOVA mode getter
[dpdk.git] / lib / librte_eal / common / eal_private.h
index ea1a5be245ec45e8dde07feee355c14243a39ef0..4eb1bd21f2285df15d30b2d796f203af2854ab0c 100644 (file)
@@ -305,6 +305,16 @@ int
 rte_pci_match(const struct rte_pci_driver *pci_drv,
              const struct rte_pci_device *pci_dev);
 
+/**
+ * Get iommu class of PCI devices on the bus.
+ * And return their preferred iova mapping mode.
+ *
+ * @return
+ *   - enum rte_iova_mode.
+ */
+enum rte_iova_mode
+rte_pci_get_iommu_class(void);
+
 /**
  * Init tail queues for non-EAL library structures. This is to allow
  * the rings, mempools, etc. lists to be shared among multiple processes