Re: [PATCH] usertools: add check for IOMMU support in dpdk-devbind

2022-03-09 Thread Fidaullah Noonari
I agree with your suggestion. I would add new flag for noiommu and submit v2 for the patch. On Tue, Mar 8, 2022 at 5:57 PM Bruce Richardson wrote: > > On Tue, Mar 08, 2022 at 05:49:01PM +0500, Fidaullah Noonari wrote: > > binding with vfio driver, when IOMMU is disabled, causes program to crash.

Re: [PATCH] usertools: add check for IOMMU support in dpdk-devbind

2022-03-08 Thread Bruce Richardson
On Tue, Mar 08, 2022 at 05:49:01PM +0500, Fidaullah Noonari wrote: > binding with vfio driver, when IOMMU is disabled, causes program to crash. > this patch checks for IOMMU support, if it is disabled, changes vfio > into unsafe noiommu mode and prints a warning message. > > Signed-off-by: Fidaull

[PATCH] usertools: add check for IOMMU support in dpdk-devbind

2022-03-08 Thread Fidaullah Noonari
binding with vfio driver, when IOMMU is disabled, causes program to crash. this patch checks for IOMMU support, if it is disabled, changes vfio into unsafe noiommu mode and prints a warning message. Signed-off-by: Fidaullah Noonari --- usertools/dpdk-devbind.py | 25 + 1