From: Stephen Hemminger <stephen@networkplumber.org>
To: Fidaullah Noonari <fidaullah.noonari@emumba.com>
Cc: dev@dpdk.org
Subject: Re: [PATCH v3] usertools: add check for IOMMU support in dpdk-devbind
Date: Tue, 31 Oct 2023 11:34:03 -0700 [thread overview]
Message-ID: <20231031113403.479faabd@fedora> (raw)
In-Reply-To: <20220321122727.614290-1-fidaullah.noonari@emumba.com>
On Mon, 21 Mar 2022 17:27:27 +0500
Fidaullah Noonari <fidaullah.noonari@emumba.com> 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(filename,"r") as f:
> + if f.read(1) == "1":
> + return
Note: flake8 reports missing comma after filename in the open() statement.
Overall
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
prev parent reply other threads:[~2023-10-31 18:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-15 6:26 [PATCH v2] " Fidaullah Noonari
2022-03-15 9:17 ` Bruce Richardson
2022-03-21 12:27 ` [PATCH v3] " Fidaullah Noonari
2022-03-31 14:37 ` Burakov, Anatoly
2022-03-31 14:44 ` Bruce Richardson
2022-10-10 23:02 ` Thomas Monjalon
2022-10-12 12:38 ` [PATCH v4] " Fidaullah Noonari
2024-07-01 17:51 ` Stephen Hemminger
2024-10-02 18:13 ` [PATCH] usertools/devbind: add support for non-IOMMU mode Stephen Hemminger
2024-10-03 9:27 ` Bruce Richardson
2024-10-17 15:34 ` Thomas Monjalon
2023-07-06 18:22 ` [PATCH v3] usertools: add check for IOMMU support in dpdk-devbind Stephen Hemminger
2023-10-31 18:34 ` Stephen Hemminger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231031113403.479faabd@fedora \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=fidaullah.noonari@emumba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).