patch 'net/txgbe: fix max number of queues for SR-IOV' has been queued to stable release 20.11.6
Xueming Li
xuemingl at nvidia.com
Tue Jun 21 10:02:30 CEST 2022
Hi,
FYI, your patch has been queued to stable release 20.11.6
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/23/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/steevenlee/dpdk
This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/ef9b30142146ea6ae21b050ffe1ba8fcd0e85812
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From ef9b30142146ea6ae21b050ffe1ba8fcd0e85812 Mon Sep 17 00:00:00 2001
From: Jiawen Wu <jiawenwu at trustnetic.com>
Date: Mon, 30 May 2022 17:30:16 +0800
Subject: [PATCH] net/txgbe: fix max number of queues for SR-IOV
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 09b010da8ec6388edae44ff55e1feab5c08191ab ]
Hardware restrictions require a maximum of 4 queues for every pool.
Fixes: a6712cd029a4 ("net/txgbe: add PF module init and uninit for SRIOV")
Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>
---
drivers/net/txgbe/txgbe_pf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/txgbe/txgbe_pf.c b/drivers/net/txgbe/txgbe_pf.c
index a910f51048..20e19b47d8 100644
--- a/drivers/net/txgbe/txgbe_pf.c
+++ b/drivers/net/txgbe/txgbe_pf.c
@@ -109,7 +109,7 @@ int txgbe_pf_host_init(struct rte_eth_dev *eth_dev)
nb_queue = 4;
RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_32_POOLS;
} else {
- nb_queue = 8;
+ nb_queue = 4;
RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_16_POOLS;
}
--
2.35.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-06-21 15:37:53.046253912 +0800
+++ 0084-net-txgbe-fix-max-number-of-queues-for-SR-IOV.patch 2022-06-21 15:37:49.174451737 +0800
@@ -1 +1 @@
-From 09b010da8ec6388edae44ff55e1feab5c08191ab Mon Sep 17 00:00:00 2001
+From ef9b30142146ea6ae21b050ffe1ba8fcd0e85812 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 09b010da8ec6388edae44ff55e1feab5c08191ab ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -17 +19 @@
-index 67d92bfa56..0b82fb1a88 100644
+index a910f51048..20e19b47d8 100644
@@ -20 +22 @@
-@@ -108,7 +108,7 @@ int txgbe_pf_host_init(struct rte_eth_dev *eth_dev)
+@@ -109,7 +109,7 @@ int txgbe_pf_host_init(struct rte_eth_dev *eth_dev)
@@ -22 +24 @@
- RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_32_POOLS;
+ RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_32_POOLS;
@@ -26 +28 @@
- RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_16_POOLS;
+ RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_16_POOLS;
More information about the stable
mailing list