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 71A8D45E7C;
Thu, 12 Dec 2024 00:48:42 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 13CDF40263;
Thu, 12 Dec 2024 00:48:42 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 69F12400D7
for ; Thu, 12 Dec 2024 00:48:40 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 4306245E7D; Thu, 12 Dec 2024 00:48:40 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/core Bug 1596] devbind no longer works unless VFIO_UNSAFE is
enabled
Date: Wed, 11 Dec 2024 23:48:40 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: core
X-Bugzilla-Version: 24.11
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: stephen@networkplumber.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=17339609200.bB5B.3006037
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
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
--17339609200.bB5B.3006037
Date: Thu, 12 Dec 2024 00:48:40 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1596
Bug ID: 1596
Summary: devbind no longer works unless VFIO_UNSAFE is enabled
Product: DPDK
Version: 24.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: stephen@networkplumber.org
Target Milestone: ---
Debian (and probably lots of other distributions), do not enable unsafe VFIO
option (CONFIG_VFIO_NOIOMMU). If that is true, then the module parameter do=
es
not exist.
This causes DPDK devbind to fail:
Error: failed to check unsafe noiommu mode - Cannot open
/sys/module/vfio/parameters/enable_unsafe_noiommu_mode: [Errno 2] No such f=
ile
or directory: '/sys/module/vfio/parameters/enable_unsafe_noiommu_mode'
This regression is caused by the commit.
commit 6ca0f1c8450d6e28926cad33c6500ad487f4cfdb
Author: Fidaullah Noonari
Date: Wed Oct 2 11:13:12 2024 -0700
usertools/devbind: support VFIO non-IOMMU mode
This patch adds noiommu option to dpdk-devbind.
If the no IOMMU is detected, then if noiommu flag is set
the vfio-pci unsafe_noiommu_mode flag is set.
Signed-off-by: Fidaullah Noonari
Signed-off-by: Stephen Hemminger
Acked-by: Bruce Richardson
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17339609200.bB5B.3006037
Date: Thu, 12 Dec 2024 00:48:40 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
devbind no longer works unless VFIO_UNSAFE is enabled
Product
DPDK
Version
24.11
Hardware
All
OS
All
Status
UNCONFIRMED
Severity
major
Priority
Normal
Component
core
Assignee
dev@dpdk.org
Reporter
stephen@networkplumber.org
Target Milestone
---
Debian (and probably lots of other=
distributions), do not enable unsafe VFIO
option (CONFIG_VFIO_NOIOMMU). If that is true, then the module parameter do=
es
not exist.
This causes DPDK devbind to fail:
Error: failed to check unsafe noiommu mode - Cannot open
/sys/module/vfio/parameters/enable_unsafe_noiommu_mode: [Errno 2] No such f=
ile
or directory: '/sys/module/vfio/parameters/enable_unsafe_noiommu_mode'
This regression is caused by the commit.
commit 6ca0f1c8450d6e28926cad33c6500ad487f4cfdb
Author: Fidaullah Noonari <fidaullah.noonari@emumba.com>
Date: Wed Oct 2 11:13:12 2024 -0700
usertools/devbind: support VFIO non-IOMMU mode
This patch adds noiommu option to dpdk-devbind.
If the no IOMMU is detected, then if noiommu flag is set
the vfio-pci unsafe_noiommu_mode flag is set.
Signed-off-by: Fidaullah Noonari <fidaullah.noonari@emumba.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>