Re: [dpdk-dev] [PATCH v4 06/12] bus: get iommu class

2017-07-18 Thread santosh
Hi Hemant, On Tuesday 18 July 2017 04:35 PM, Hemant Agrawal wrote: > On 7/18/2017 11:29 AM, Santosh Shukla wrote: >> API(rte_bus_get_iommu_class) helps to automatically detect and select >> appropriate iova mapping scheme for iommu capable device on that bus. >> >> Algorithm for iova scheme selec

Re: [dpdk-dev] [PATCH v4 06/12] bus: get iommu class

2017-07-18 Thread Hemant Agrawal
On 7/18/2017 11:29 AM, Santosh Shukla wrote: API(rte_bus_get_iommu_class) helps to automatically detect and select appropriate iova mapping scheme for iommu capable device on that bus. Algorithm for iova scheme selection for bus: 0. Iterate through bus_list. 1. Collect each bus iova mode value a

[dpdk-dev] [PATCH v4 06/12] bus: get iommu class

2017-07-17 Thread Santosh Shukla
API(rte_bus_get_iommu_class) helps to automatically detect and select appropriate iova mapping scheme for iommu capable device on that bus. Algorithm for iova scheme selection for bus: 0. Iterate through bus_list. 1. Collect each bus iova mode value and update into 'mode' var. 2. Mode selection sc