sched: add missing 64-bit rate values
PATCH 1/1 sched: add missing 64-bit rate values
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 <[email protected]>
--- lib/librte_sched/rte_sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/librte_sched/rte_sched.c +2 -2
@@ -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;
Signature · 1 line
2.25.1
Quoted 46 lines
-----Original Message-----
From: Archit Pandey <[email protected]>
Sent: Tuesday, June 2, 2020 9:55 AM
To: [email protected]
Cc: Archit Pandey <[email protected]>; Singh, Jasvinder <[email protected]>
Subject: [PATCH] sched: add missing 64-bit rate values64-bit support was missing from the functions
pipe_profile_checkandrte_sched_subport_config_pipe_profile_table.Fixes 68c1f26d4236 ("sched: support 64-bit values")Signed-off-by Archit Pandey <[email protected]>--- lib/librte_sched/rte_sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)lib/librte_sched/rte_sched.c index renamed from lib/librte_sched/rte_sched.c +0
-0
c0983ddda..be822057b100644lib/librte_sched/rte_sched.c +2
-2@@ -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_ti;
Quoted 2 lines
--
2.25.1
+ CC [email protected]
Acked-by Jasvinder Singh <[email protected]>
Thomas Monjalon
AppliedQuoted 11 lines
Quoted 7 lines
64-bit support was missing from the functions
pipe_profile_checkandrte_sched_subport_config_pipe_profile_table.Fixes 68c1f26d4236 ("sched: support 64-bit values")Signed-off-by Archit Pandey <[email protected]>+ CC [email protected]
Acked-by Jasvinder Singh <[email protected]>
Applied, thanks