Home
last modified time | relevance | path

Searched refs:RTE_IOVA_PA (Results 1 – 16 of 16) sorted by relevance

/dpdk/lib/eal/common/
H A Deal_common_bus.c218 (bus_iova_mode == RTE_IOVA_PA ? "PA" : "VA")); in rte_bus_get_iommu_class()
219 if (bus_iova_mode == RTE_IOVA_PA) in rte_bus_get_iommu_class()
227 mode = RTE_IOVA_PA; in rte_bus_get_iommu_class()
H A Deal_common_options.c1460 mode = RTE_IOVA_PA; in eal_parse_iova_mode()
/dpdk/drivers/bus/pci/
H A Dpci_common.c219 dev_iova_mode == RTE_IOVA_PA ? "PA" : "VA", in rte_pci_probe_one_driver()
220 iova_mode == RTE_IOVA_PA ? "PA" : "VA"); in rte_pci_probe_one_driver()
714 (dev_iova_mode == RTE_IOVA_PA ? "PA" : "VA")); in rte_pci_get_iommu_class()
715 if (dev_iova_mode == RTE_IOVA_PA) in rte_pci_get_iommu_class()
722 iova_mode = RTE_IOVA_PA; in rte_pci_get_iommu_class()
730 iova_mode = RTE_IOVA_PA; in rte_pci_get_iommu_class()
/dpdk/drivers/bus/fslmc/
H A Dfslmc_bus.c451 if (rte_eal_iova_mode() == RTE_IOVA_PA) in rte_fslmc_probe()
548 if (rte_eal_iova_mode() == RTE_IOVA_PA) in rte_fslmc_driver_unregister()
592 return RTE_IOVA_PA; in rte_dpaa2_get_iommu_class()
606 return RTE_IOVA_PA; in rte_dpaa2_get_iommu_class()
/dpdk/lib/eal/windows/
H A Deal.c361 if (iova_mode == RTE_IOVA_PA && !has_phys_addr) { in rte_eal_init()
372 iova_mode = RTE_IOVA_PA; in rte_eal_init()
378 iova_mode == RTE_IOVA_PA ? "PA" : "VA"); in rte_eal_init()
/dpdk/lib/eal/linux/
H A Deal.c992 iova_mode = RTE_IOVA_PA; in rte_eal_init()
1003 iova_mode = RTE_IOVA_PA; in rte_eal_init()
1014 iova_mode = RTE_IOVA_PA; in rte_eal_init()
1027 if (rte_eal_iova_mode() == RTE_IOVA_PA && !phys_addrs) { in rte_eal_init()
1034 rte_eal_iova_mode() == RTE_IOVA_PA ? "PA" : "VA"); in rte_eal_init()
H A Deal_vfio.c1616 if (rte_eal_iova_mode() == RTE_IOVA_PA) { in find_highest_mem_addr()
/dpdk/lib/eal/include/
H A Drte_bus.h40 RTE_IOVA_PA = (1 << 0), /* DMA using physical address */ enumerator
/dpdk/lib/eal/freebsd/
H A Deal.c696 if (iova_mode == RTE_IOVA_PA && !has_phys_addr) { in rte_eal_init()
707 iova_mode = RTE_IOVA_PA; in rte_eal_init()
714 rte_eal_iova_mode() == RTE_IOVA_PA ? "PA" : "VA"); in rte_eal_init()
/dpdk/drivers/bus/pci/linux/
H A Dpci.c623 iova_mode = RTE_IOVA_PA; in pci_device_iova_mode()
632 iova_mode = RTE_IOVA_PA; in pci_device_iova_mode()
/dpdk/doc/guides/prog_guide/
H A Denv_abstraction_layer.rst517 On FreeBSD, RTE_IOVA_PA is always the default. On Linux, the IOVA mode is
523 - if all buses report RTE_IOVA_PA, then the preferred IOVA mode is RTE_IOVA_PA,
527 - if the buses disagree (at least one wants RTE_IOVA_PA and at least one wants
536 - otherwise, RTE_IOVA_PA mode is used
543 kernels. Namely, if the preferred mode is RTE_IOVA_PA but there is no access to
555 ``RTE_MEMZONE_IOVA_CONTIG``. This is slow in RTE_IOVA_PA mode and it may
560 It is expected that all PCI drivers work in both RTE_IOVA_PA and
563 If a PCI driver does not support RTE_IOVA_PA mode, the
567 When the KNI kernel module is detected, RTE_IOVA_PA mode is preferred as a
/dpdk/drivers/net/enetc/
H A Denetc_ethdev.c593 if (rte_eal_iova_mode() == RTE_IOVA_PA) in enetc_dev_close()
916 if (rte_eal_iova_mode() == RTE_IOVA_PA) in enetc_dev_init()
/dpdk/drivers/bus/pci/bsd/
H A Dpci.c400 return RTE_IOVA_PA; in pci_device_iova_mode()
/dpdk/drivers/bus/vdev/
H A Dvdev.c206 if ((driver->drv_flags & RTE_VDEV_DRV_NEED_IOVA_AS_VA) && (iova_mode == RTE_IOVA_PA)) { in vdev_probe_all_drivers()
/dpdk/drivers/bus/dpaa/
H A Ddpaa_bus.c755 return RTE_IOVA_PA; in rte_dpaa_get_iommu_class()
/dpdk/lib/kni/
H A Drte_kni.c100 if (rte_eal_iova_mode() != RTE_IOVA_PA) { in rte_kni_init()