[dpdk-stable] patch 'sched: fix 64-bit rate' has been queued to stable release 19.11.4

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Jul 24 13:58:06 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.11.4

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

Thanks.

Luca Boccassi

---
>From 02200584e02b86974f8fd126bf6d3b9c64d9225f Mon Sep 17 00:00:00 2001
From: Archit Pandey <architpandeynitk at gmail.com>
Date: Tue, 2 Jun 2020 14:25:28 +0530
Subject: [PATCH] sched: fix 64-bit rate

[ upstream commit 78621061f7f8d20544f81b391a62acb735275add ]

64-bit support was missing from the functions pipe_profile_check
and rte_sched_subport_config_pipe_profile_table.

Fixes: 68c1f26d4236 ("sched: support 64-bit values")

Signed-off-by: Archit Pandey <architpandeynitk at gmail.com>
Acked-by: Jasvinder Singh <jasvinder.singh at intel.com>
---
 lib/librte_sched/rte_sched.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c
index f15a3b515..68a171b50 100644
--- a/lib/librte_sched/rte_sched.c
+++ b/lib/librte_sched/rte_sched.c
@@ -304,7 +304,7 @@ rte_sched_port_tc_queue(struct rte_sched_port *port, uint32_t qindex)
 
 static int
 pipe_profile_check(struct rte_sched_pipe_params *params,
-	uint32_t rate, uint16_t *qsize)
+	uint64_t rate, uint16_t *qsize)
 {
 	uint32_t i;
 
@@ -624,7 +624,7 @@ rte_sched_pipe_profile_convert(struct rte_sched_subport *subport,
 
 static void
 rte_sched_subport_config_pipe_profile_table(struct rte_sched_subport *subport,
-	struct rte_sched_subport_params *params, uint32_t rate)
+	struct rte_sched_subport_params *params, uint64_t rate)
 {
 	uint32_t i;
 
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-07-24 12:53:50.463559270 +0100
+++ 0048-sched-fix-64-bit-rate.patch	2020-07-24 12:53:48.271006162 +0100
@@ -1,13 +1,14 @@
-From 78621061f7f8d20544f81b391a62acb735275add Mon Sep 17 00:00:00 2001
+From 02200584e02b86974f8fd126bf6d3b9c64d9225f Mon Sep 17 00:00:00 2001
 From: Archit Pandey <architpandeynitk at gmail.com>
 Date: Tue, 2 Jun 2020 14:25:28 +0530
 Subject: [PATCH] sched: fix 64-bit rate
 
+[ upstream commit 78621061f7f8d20544f81b391a62acb735275add ]
+
 64-bit support was missing from the functions pipe_profile_check
 and rte_sched_subport_config_pipe_profile_table.
 
 Fixes: 68c1f26d4236 ("sched: support 64-bit values")
-Cc: stable at dpdk.org
 
 Signed-off-by: Archit Pandey <architpandeynitk at gmail.com>
 Acked-by: Jasvinder Singh <jasvinder.singh at intel.com>


More information about the stable mailing list