Re: [dpdk-dev] [PATCH v2 3/6] bus/pci: check iommu addressing limitation just once

2018-10-05 Thread Burakov, Anatoly
On 05-Oct-18 1:06 PM, Alejandro Lucero wrote: Current code checks if IOMMU hardware reports enough addressing bits for using IOVA mode but it repeats the same check for any PCI device present. This is not necessary because the IOMMU hardware is the same for all of them. This patch only checks th

[dpdk-dev] [PATCH v2 3/6] bus/pci: check iommu addressing limitation just once

2018-10-05 Thread Alejandro Lucero
Current code checks if IOMMU hardware reports enough addressing bits for using IOVA mode but it repeats the same check for any PCI device present. This is not necessary because the IOMMU hardware is the same for all of them. This patch only checks the IOMMU using first PCI device found. Signed-of