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

2023-10-31 Thread Stephen Hemminger
On Mon, 21 Mar 2022 17:27:27 +0500 Fidaullah Noonari wrote: > + > +def check_noiommu_mode(): > +"""checks and enables the noiommu mode for vfio drivers""" > +global noiommu_flag > +filename = "/sys/module/vfio/parameters/enable_unsafe_noiommu_mode" > + > +try: > +with open

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

2023-07-06 Thread Stephen Hemminger
On Mon, 21 Mar 2022 17:27:27 +0500 Fidaullah Noonari wrote: > binding with vfio driver, when IOMMU is disabled, causes program to crash. > this patch adds a flag for noiommmu-mode. when this is set, if IOMMU is > disabled, it changes vfio into unsafe noiommu mode and prints warning > message. >

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

2022-10-10 Thread Thomas Monjalon
31/03/2022 16:44, Bruce Richardson: > On Thu, Mar 31, 2022 at 03:37:40PM +0100, Burakov, Anatoly wrote: > > On 21-Mar-22 12:27 PM, Fidaullah Noonari wrote: > > > binding with vfio driver, when IOMMU is disabled, causes program to crash. > > > this patch adds a flag for noiommmu-mode. when this is s

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

2022-03-31 Thread Bruce Richardson
On Thu, Mar 31, 2022 at 03:37:40PM +0100, Burakov, Anatoly wrote: > On 21-Mar-22 12:27 PM, Fidaullah Noonari wrote: > > binding with vfio driver, when IOMMU is disabled, causes program to crash. > > this patch adds a flag for noiommmu-mode. when this is set, if IOMMU is > > disabled, it changes vfi

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

2022-03-31 Thread Burakov, Anatoly
On 21-Mar-22 12:27 PM, Fidaullah Noonari wrote: binding with vfio driver, when IOMMU is disabled, causes program to crash. this patch adds a flag for noiommmu-mode. when this is set, if IOMMU is disabled, it changes vfio into unsafe noiommu mode and prints warning message. Signed-off-by: Fidaull

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

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