Re: [dpdk-dev] [PATCH v3 03/11] bsdapp/eal_pci: get iommu class

2017-07-11 Thread Maxime Coquelin
On 07/11/2017 12:41 PM, santosh wrote: On Tuesday 11 July 2017 02:45 PM, Maxime Coquelin wrote: On 07/11/2017 08:16 AM, Santosh Shukla wrote: diff --git a/lib/librte_eal/common/include/rte_bus.h b/lib/librte_eal/common/include/rte_bus.h index af9f0e13f..7a0cfb165 100644 --- a/lib/librte

Re: [dpdk-dev] [PATCH v3 03/11] bsdapp/eal_pci: get iommu class

2017-07-11 Thread santosh
On Tuesday 11 July 2017 02:45 PM, Maxime Coquelin wrote: > > On 07/11/2017 08:16 AM, Santosh Shukla wrote: >> diff --git a/lib/librte_eal/common/include/rte_bus.h >> b/lib/librte_eal/common/include/rte_bus.h >> index af9f0e13f..7a0cfb165 100644 >> --- a/lib/librte_eal/common/include/rte_bus.h >

Re: [dpdk-dev] [PATCH v3 03/11] bsdapp/eal_pci: get iommu class

2017-07-11 Thread Maxime Coquelin
On 07/11/2017 08:16 AM, Santosh Shukla wrote: diff --git a/lib/librte_eal/common/include/rte_bus.h b/lib/librte_eal/common/include/rte_bus.h index af9f0e13f..7a0cfb165 100644 --- a/lib/librte_eal/common/include/rte_bus.h +++ b/lib/librte_eal/common/include/rte_bus.h @@ -55,6 +55,15 @@ extern

[dpdk-dev] [PATCH v3 03/11] bsdapp/eal_pci: get iommu class

2017-07-10 Thread Santosh Shukla
Introducing rte_pci_get_iommu_class API which helps to get iommu class of PCI device on the bus and returns preferred iova mapping mode for PCI bus. Bsdapp case returns default iova mode. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- lib/librte_eal/bsdapp/eal/eal_pci.c