Re: [dpdk-dev] [PATCH v2 02/44] bus/vdev: add driver IOVA VA mode requirement

2021-01-20 Thread Maxime Coquelin
On 1/20/21 4:32 PM, David Marchand wrote: > On Tue, Jan 19, 2021 at 10:25 PM Maxime Coquelin > wrote: >> >> This patch adds driver flag in vdev bus driver so that >> vdev drivers can require VA IOVA mode to be used, which >> for example the case of Virtio-user PMD. >> >> The patch implements th

Re: [dpdk-dev] [PATCH v2 02/44] bus/vdev: add driver IOVA VA mode requirement

2021-01-20 Thread David Marchand
On Tue, Jan 19, 2021 at 10:25 PM Maxime Coquelin wrote: > > This patch adds driver flag in vdev bus driver so that > vdev drivers can require VA IOVA mode to be used, which > for example the case of Virtio-user PMD. > > The patch implements the .get_iommu_class() callback, that > is called before

[dpdk-dev] [PATCH v2 02/44] bus/vdev: add driver IOVA VA mode requirement

2021-01-19 Thread Maxime Coquelin
This patch adds driver flag in vdev bus driver so that vdev drivers can require VA IOVA mode to be used, which for example the case of Virtio-user PMD. The patch implements the .get_iommu_class() callback, that is called before devices probing to determine the IOVA mode to be used. It also adds a