patch 'net/nbl: checks for unsupported UIO drivers' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Mar 19 11:02:57 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/23/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/75ce7ca86c3c74782f6ea7a9c072905c0343a293
Thanks.
Kevin
---
>From 75ce7ca86c3c74782f6ea7a9c072905c0343a293 Mon Sep 17 00:00:00 2001
From: Dimon Zhao <dimon.zhao at nebula-matrix.com>
Date: Thu, 26 Feb 2026 18:57:33 -0800
Subject: [PATCH] net/nbl: checks for unsupported UIO drivers
[ upstream commit 4ca3851a472cb1b47d2fcbe6ac76a7decbe90fe8 ]
The NBL PMD does not support igb_uio (deprecated) or uio_pci_generic
(lacks MSI-X support). Add explicit checks in probe to reject devices
bound to these drivers with clear error messages.
Update documentation to reflect these limitations.
Fixes: a12f1acc7bc4 ("net/nbl: check IOVA mode in Linux coexistence")
Signed-off-by: Dimon Zhao <dimon.zhao at nebula-matrix.com>
---
doc/guides/nics/nbl.rst | 13 +++++++++++++
drivers/net/nbl/nbl_core.c | 2 ++
drivers/net/nbl/nbl_ethdev.c | 11 +++++++++++
3 files changed, 26 insertions(+)
diff --git a/doc/guides/nics/nbl.rst b/doc/guides/nics/nbl.rst
index ba0a119dfd..d3658d1f0c 100644
--- a/doc/guides/nics/nbl.rst
+++ b/doc/guides/nics/nbl.rst
@@ -79,4 +79,6 @@ to be mapped to physical address (PA)
with the EAL command line option ``--iova-mode=pa``.
+Only PF supports Coexistence Between DPDK And Kernel Driver, VF does not.
+
Prerequisites
@@ -102,2 +104,13 @@ Limitations or Known Issues
Windows and BSD are not supported yet.
+
+**igb_uio Driver Support**
+
+The ``igb_uio`` driver is not supported.
+
+**uio_pci_generic Driver Support**
+
+The ``uio_pci_generic`` driver is not supported.
+
+**VFIO no-IOMMU mode**
+If there is no IOMMU available on the system, VF must use ``vfio`` driver in ``noiommu`` mode.
diff --git a/drivers/net/nbl/nbl_core.c b/drivers/net/nbl/nbl_core.c
index 313f8c5bd6..df8c0c76ed 100644
--- a/drivers/net/nbl/nbl_core.c
+++ b/drivers/net/nbl/nbl_core.c
@@ -42,4 +42,6 @@ int nbl_core_init(struct nbl_adapter *adapter, struct rte_eth_dev *eth_dev)
nbl_init_func_caps(pci_dev, &adapter->caps);
+ common->is_vf = (pci_dev->id.device_id == NBL_DEVICE_ID_M18100_VF);
+
product_base_ops = nbl_core_get_product_ops(adapter->caps.product_type);
diff --git a/drivers/net/nbl/nbl_ethdev.c b/drivers/net/nbl/nbl_ethdev.c
index d269ea8058..5a7d8266a4 100644
--- a/drivers/net/nbl/nbl_ethdev.c
+++ b/drivers/net/nbl/nbl_ethdev.c
@@ -89,4 +89,15 @@ static int nbl_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
return -ENOTSUP;
}
+
+ if (pci_dev->kdrv == RTE_PCI_KDRV_UIO_GENERIC) {
+ NBL_LOG(ERR, "uio_pci_generic is not supported.");
+ return -ENOTSUP;
+ }
+
+ if (pci_dev->kdrv == RTE_PCI_KDRV_IGB_UIO) {
+ NBL_LOG(ERR, "igb_uio is not supported.");
+ return -ENOTSUP;
+ }
+
return rte_eth_dev_pci_generic_probe(pci_dev, sizeof(struct nbl_adapter),
nbl_eth_dev_init);
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 10:01:08.815032309 +0000
+++ 0059-net-nbl-checks-for-unsupported-UIO-drivers.patch 2026-03-19 10:01:07.122248360 +0000
@@ -1 +1 @@
-From 4ca3851a472cb1b47d2fcbe6ac76a7decbe90fe8 Mon Sep 17 00:00:00 2001
+From 75ce7ca86c3c74782f6ea7a9c072905c0343a293 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4ca3851a472cb1b47d2fcbe6ac76a7decbe90fe8 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list