patch 'sched: fix subport profile configuration' has been queued to stable release 20.11.7

luca.boccassi at gmail.com luca.boccassi at gmail.com
Sat Nov 5 18:11:26 CET 2022


Hi,

FYI, your patch has been queued to stable release 20.11.7

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/07/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/afa3c4b8eef4c493e0fe5ad70cfa2507606682e4

Thanks.

Luca Boccassi

---
>From afa3c4b8eef4c493e0fe5ad70cfa2507606682e4 Mon Sep 17 00:00:00 2001
From: Megha Ajmera <megha.ajmera at intel.com>
Date: Fri, 28 Oct 2022 09:55:29 +0000
Subject: [PATCH] sched: fix subport profile configuration

[ upstream commit 25eae0f790af150e7e783cc81436920656e9f06a ]

In rte_sched_subport_config() API, subport_profile_id is not set correctly.

Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")

Signed-off-by: Megha Ajmera <megha.ajmera at intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
---
 lib/librte_sched/rte_sched.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c
index 4ba95bc414..e941a4b5c3 100644
--- a/lib/librte_sched/rte_sched.c
+++ b/lib/librte_sched/rte_sched.c
@@ -1148,8 +1148,6 @@ rte_sched_subport_config(struct rte_sched_port *port,
 
 		n_subports++;
 
-		subport_profile_id = 0;
-
 		/* Port */
 		port->subports[subport_id] = s;
 
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-11-05 17:11:11.072647223 +0000
+++ 0027-sched-fix-subport-profile-configuration.patch	2022-11-05 17:11:08.730943843 +0000
@@ -1 +1 @@
-From 25eae0f790af150e7e783cc81436920656e9f06a Mon Sep 17 00:00:00 2001
+From afa3c4b8eef4c493e0fe5ad70cfa2507606682e4 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 25eae0f790af150e7e783cc81436920656e9f06a ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -14 +15 @@
- lib/sched/rte_sched.c | 2 --
+ lib/librte_sched/rte_sched.c | 2 --
@@ -17,5 +18,5 @@
-diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
-index c5fa9e4582..c91697131d 100644
---- a/lib/sched/rte_sched.c
-+++ b/lib/sched/rte_sched.c
-@@ -1257,8 +1257,6 @@ rte_sched_subport_config(struct rte_sched_port *port,
+diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c
+index 4ba95bc414..e941a4b5c3 100644
+--- a/lib/librte_sched/rte_sched.c
++++ b/lib/librte_sched/rte_sched.c
+@@ -1148,8 +1148,6 @@ rte_sched_subport_config(struct rte_sched_port *port,


More information about the stable mailing list