From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3CCC442DEC; Thu, 6 Jul 2023 20:22:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCD2D41101; Thu, 6 Jul 2023 20:22:49 +0200 (CEST) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id EE71940A79 for ; Thu, 6 Jul 2023 20:22:47 +0200 (CEST) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1b8ad356f03so6951665ad.1 for ; Thu, 06 Jul 2023 11:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688667767; x=1691259767; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=UB/4+jRJ9v9qXRiCz8m+4iJeRwlJVHhOcHdYNCvXBqI=; b=tf9ubbgMx6jTmaBDA7/daHTED7IQNpD9MG4Vytu4QmJonste+H0ga3S6rU4Ke+lSte utkJ6aIvdL5a5hj3hFeTTpFYBlDtFdjES9NkVAPv5q4YPSTfNomSmnYcMgcjhv2paaOu udpJh46OiofJjr0uMUWiq3gtRfMH7fG7hd47qw0mCVjp5T32F9709cBkkDs3cB4Ib3VO dgeaS5aAkho1JX15HQezyu6cMj5zwnmIxRyutxFyJbYlu/fd5mZOJklEDRYeY7bhYiwy jjKNDyoLG8Du6JhoQAF4VE+w1yoD+GSI7T1Rl1+kuk+AkXahWM8WWY3WUlm1bV3kzYCX 7CkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688667767; x=1691259767; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UB/4+jRJ9v9qXRiCz8m+4iJeRwlJVHhOcHdYNCvXBqI=; b=KXD6zGZNp395zbUZBs1CsT1ZkECZMr2cV8VFEEvLonfrxeUYjXn0sMhC3QkOrYQvvy Mhkj6ZN4fx6AUuqW8II1sS2Pxshsmy43aEdubGIm0EUeh4/+ufeKYeArhQyxTCf/NaPJ 3ENp53uPYGF+917kvt9OeNAobyTjRh1ue8O3OOLh5U1G+MUsK92TozMIU2Rbp3arHA3e 8Br3wZ4h82nKbLMIffsHCMeOivxaUAOv87Vnxt1jVI6XnqGel52x6bZuzStHGxGCbG7Y yGAMZWY3GQN5j1n/n/Ns5UYWStWKNc6/1mK1f23HErpH7ZWc0hYnbPMeAYHbsNjhPpGg 9ecw== X-Gm-Message-State: ABy/qLa48Olz/IReaYOb2Hg0go4wQWYJoUq2cC3hwqKllcVVbjR0BT3w MaU8sLUrnKZ4diTQwp3fjPspcQ== X-Google-Smtp-Source: APBJJlFJosr1P6wyKIJ1oaZBAIu7nn6soLhD+gTDqbtlrZfhORQLayS7mhVX0syDhhS666D1DreWFg== X-Received: by 2002:a17:902:cece:b0:1b5:5bf2:b7e2 with SMTP id d14-20020a170902cece00b001b55bf2b7e2mr2348351plg.6.1688667767081; Thu, 06 Jul 2023 11:22:47 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id ix10-20020a170902f80a00b001b3d8ac1b6bsm1711344plb.212.2023.07.06.11.22.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 11:22:46 -0700 (PDT) Date: Thu, 6 Jul 2023 11:22:45 -0700 From: Stephen Hemminger To: Fidaullah Noonari Cc: dev@dpdk.org Subject: Re: [PATCH v3] usertools: add check for IOMMU support in dpdk-devbind Message-ID: <20230706112245.77fb253d@hermes.local> In-Reply-To: <20220321122727.614290-1-fidaullah.noonari@emumba.com> References: <20220315062652.78332-1-fidaullah.noonari@emumba.com> <20220321122727.614290-1-fidaullah.noonari@emumba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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. > > Signed-off-by: Fidaullah Noonari > --- Minor indentation issues reported by flake8 python checker: ./usertools/dpdk-devbind.py:489:27: E231 missing whitespace after ',' ./usertools/dpdk-devbind.py:494:17: E128 continuation line under-indented for visual indent ./usertools/dpdk-devbind.py:507:17: E128 continuation line under-indented for visual indent