Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-14 Thread santosh
On Friday 14 July 2017 02:16 PM, santosh wrote: > On Friday 14 July 2017 01:36 PM, Hemant Agrawal wrote: > >> On 7/14/2017 1:25 PM, santosh wrote: >>> On Friday 14 July 2017 01:09 PM, Hemant Agrawal wrote: >>> On 7/11/2017 11:46 AM, Santosh Shukla wrote: > Get iommu class of PCI device on

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-14 Thread santosh
On Friday 14 July 2017 01:36 PM, Hemant Agrawal wrote: > On 7/14/2017 1:25 PM, santosh wrote: >> On Friday 14 July 2017 01:09 PM, Hemant Agrawal wrote: >> >>> On 7/11/2017 11:46 AM, Santosh Shukla wrote: Get iommu class of PCI device on the bus and returns preferred iova mapping mode for

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-14 Thread santosh
Hi Sergio, On Friday 14 July 2017 01:13 PM, Sergio Gonzalez Monroy wrote: > On 13/07/2017 09:23, santosh wrote: >> Hi Sergio, >> >> On Wednesday 12 July 2017 01:50 PM, Sergio Gonzalez Monroy wrote: >> >>> On 11/07/2017 07:16, Santosh Shukla wrote: Get iommu class of PCI device on the bus and

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-14 Thread Hemant Agrawal
On 7/14/2017 1:25 PM, santosh wrote: On Friday 14 July 2017 01:09 PM, Hemant Agrawal wrote: On 7/11/2017 11:46 AM, Santosh Shukla wrote: Get iommu class of PCI device on the bus and returns preferred iova mapping mode for that bus. Algorithm for iova scheme selection for PCI bus: 0. Look for

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-14 Thread santosh
On Friday 14 July 2017 01:09 PM, Hemant Agrawal wrote: > On 7/11/2017 11:46 AM, Santosh Shukla wrote: >> Get iommu class of PCI device on the bus and returns preferred iova >> mapping mode for that bus. >> >> Algorithm for iova scheme selection for PCI bus: >> 0. Look for device attached to vfio k

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-14 Thread Sergio Gonzalez Monroy
On 13/07/2017 09:23, santosh wrote: Hi Sergio, On Wednesday 12 July 2017 01:50 PM, Sergio Gonzalez Monroy wrote: On 11/07/2017 07:16, Santosh Shukla wrote: Get iommu class of PCI device on the bus and returns preferred iova mapping mode for that bus. Algorithm for iova scheme selection for P

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-14 Thread Hemant Agrawal
On 7/11/2017 11:46 AM, Santosh Shukla wrote: Get iommu class of PCI device on the bus and returns preferred iova mapping mode for that bus. Algorithm for iova scheme selection for PCI bus: 0. Look for device attached to vfio kdrv and has .drv_flag set to RTE_PCI_DRV_NEED_IOVA_VA. 1. Look for any

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-13 Thread santosh
Hi Sergio, On Wednesday 12 July 2017 01:50 PM, Sergio Gonzalez Monroy wrote: > On 11/07/2017 07:16, Santosh Shukla wrote: >> Get iommu class of PCI device on the bus and returns preferred iova >> mapping mode for that bus. >> >> Algorithm for iova scheme selection for PCI bus: >> 0. Look for devi

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-12 Thread Sergio Gonzalez Monroy
On 11/07/2017 07:16, Santosh Shukla wrote: Get iommu class of PCI device on the bus and returns preferred iova mapping mode for that bus. Algorithm for iova scheme selection for PCI bus: 0. Look for device attached to vfio kdrv and has .drv_flag set to RTE_PCI_DRV_NEED_IOVA_VA. 1. Look for any d

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-11 Thread santosh
On Tuesday 11 July 2017 02:53 PM, Maxime Coquelin wrote: > > On 07/11/2017 08:16 AM, Santosh Shukla wrote: >> Get iommu class of PCI device on the bus and returns preferred iova >> mapping mode for that bus. >> >> Algorithm for iova scheme selection for PCI bus: >> 0. Look for device attached to v

Re: [dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-11 Thread Maxime Coquelin
On 07/11/2017 08:16 AM, Santosh Shukla wrote: Get iommu class of PCI device on the bus and returns preferred iova mapping mode for that bus. Algorithm for iova scheme selection for PCI bus: 0. Look for device attached to vfio kdrv and has .drv_flag set to RTE_PCI_DRV_NEED_IOVA_VA. 1. Look for

[dpdk-dev] [PATCH v3 04/11] linuxapp/eal_pci: get iommu class

2017-07-10 Thread Santosh Shukla
Get iommu class of PCI device on the bus and returns preferred iova mapping mode for that bus. Algorithm for iova scheme selection for PCI bus: 0. Look for device attached to vfio kdrv and has .drv_flag set to RTE_PCI_DRV_NEED_IOVA_VA. 1. Look for any device attached to UIO class of driver. 2. Che