]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/linuxapp/eal/eal_pci.c
pci: get IOMMU class
[dpdk.git] / lib / librte_eal / linuxapp / eal / eal_pci.c
index 8951ce74207d62c91dbaffd2c9481c3c20f751d0..b1d6fbdce0cdd12fcb53125ac0dc9ab6a715d04d 100644 (file)
@@ -487,6 +487,15 @@ error:
        return -1;
 }
 
+/*
+ * Get iommu class of PCI devices on the bus.
+ */
+enum rte_iova_mode
+rte_pci_get_iommu_class(void)
+{
+       return RTE_IOVA_PA;
+}
+
 /* Read PCI config space. */
 int rte_pci_read_config(const struct rte_pci_device *device,
                void *buf, size_t len, off_t offset)