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

2021-01-27 Thread Maxime Coquelin
On 1/27/21 9:23 AM, David Marchand wrote: > On Tue, Jan 26, 2021 at 11:16 AM 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 v4 02/44] bus/vdev: add driver IOVA VA mode requirement

2021-01-27 Thread David Marchand
On Tue, Jan 26, 2021 at 11:16 AM 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

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

2021-01-26 Thread Kinsella, Ray
On 26/01/2021 14:40, David Marchand wrote: > On Tue, Jan 26, 2021 at 2:23 PM Kinsella, Ray wrote: diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index 1dc84fa74b..170304c876 100644 --- a/devtools/libabigail.abignore +++ b/devtools/libabigail.abignor

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

2021-01-26 Thread David Marchand
On Tue, Jan 26, 2021 at 2:23 PM Kinsella, Ray wrote: > >> diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore > >> index 1dc84fa74b..170304c876 100644 > >> --- a/devtools/libabigail.abignore > >> +++ b/devtools/libabigail.abignore > >> @@ -11,6 +11,8 @@ > >> ; Explicit ignore

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

2021-01-26 Thread Kinsella, Ray
On 26/01/2021 12:50, David Marchand wrote: > On Tue, Jan 26, 2021 at 11:16 AM 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 t

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

2021-01-26 Thread David Marchand
On Tue, Jan 26, 2021 at 11:16 AM 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

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

2021-01-26 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, January 26, 2021 6:16 PM > To: dev@dpdk.org; Xia, Chenbo ; olivier.m...@6wind.com; > amore...@redhat.com; david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v4 02/44] bus/vdev: add driver IOVA VA mode requirement

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

2021-01-26 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, and adds a chec