patch 'net/bnxt: restore dependency on kernel modules' has been queued to stable release 21.11.1

Kevin Traynor ktraynor at redhat.com
Mon Feb 21 16:34:26 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.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 02/26/22. 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/70211750cc7912d2760568fedfea82bb2ec5651f

Thanks.

Kevin

---
>From 70211750cc7912d2760568fedfea82bb2ec5651f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Geoffrey=20Le=20Gourri=C3=A9rec?=
 <geoffrey.le_gourrierec at 6wind.com>
Date: Wed, 12 Jan 2022 14:41:52 +0100
Subject: [PATCH] net/bnxt: restore dependency on kernel modules
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[ upstream commit 4d47569cc191b77c40c74e644c67549f18e9edf3 ]

During a large refactoring sweep for 21.11, a previous commit
removed the dependency the bnxt driver had on Linux virtual
bus drivers, such as vfio-pci. This breaks port detection.

This patch adds the kmod dependency back as it was.

Fixes: 295968d17407 ("ethdev: add namespace")

Signed-off-by: Geoffrey Le Gourriérec <geoffrey.le_gourrierec at 6wind.com>
Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
---
 drivers/net/bnxt/bnxt_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 4dc9cd9598..1d51865aac 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -6360,3 +6360,3 @@ RTE_LOG_REGISTER_SUFFIX(bnxt_logtype_driver, driver, NOTICE);
 RTE_PMD_REGISTER_PCI(net_bnxt, bnxt_rte_pmd);
 RTE_PMD_REGISTER_PCI_TABLE(net_bnxt, bnxt_pci_id_map);
-
+RTE_PMD_REGISTER_KMOD_DEP(net_bnxt, "* igb_uio | uio_pci_generic | vfio-pci");
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-02-21 15:22:46.317283957 +0000
+++ 0077-net-bnxt-restore-dependency-on-kernel-modules.patch	2022-02-21 15:22:44.170704303 +0000
@@ -1 +1 @@
-From 4d47569cc191b77c40c74e644c67549f18e9edf3 Mon Sep 17 00:00:00 2001
+From 70211750cc7912d2760568fedfea82bb2ec5651f Mon Sep 17 00:00:00 2001
@@ -9,0 +10,2 @@
+[ upstream commit 4d47569cc191b77c40c74e644c67549f18e9edf3 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index 999a9a5103..22e015d5aa 100644
+index 4dc9cd9598..1d51865aac 100644
@@ -29 +30 @@
-@@ -6361,3 +6361,3 @@ RTE_LOG_REGISTER_SUFFIX(bnxt_logtype_driver, driver, NOTICE);
+@@ -6360,3 +6360,3 @@ RTE_LOG_REGISTER_SUFFIX(bnxt_logtype_driver, driver, NOTICE);



More information about the stable mailing list