DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] sched: Fix subport profile id not set correctly.
@ 2022-08-18  6:03 Megha Ajmera
  2022-08-18  9:32 ` Singh, Jasvinder
  0 siblings, 1 reply; 2+ messages in thread
From: Megha Ajmera @ 2022-08-18  6:03 UTC (permalink / raw)
  To: dev, jasvinder.singh, cristian.dumitrescu

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

Signed-off-by: Megha Ajmera <megha.ajmera@intel.com>
---
 lib/sched/rte_sched.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 599c7e9536..09f855a04b 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -1263,8 +1263,6 @@ rte_sched_subport_config(struct rte_sched_port *port,
 
 		n_subports++;
 
-		subport_profile_id = 0;
-
 		/* Port */
 		port->subports[subport_id] = s;
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH] sched: Fix subport profile id not set correctly.
  2022-08-18  6:03 [PATCH] sched: Fix subport profile id not set correctly Megha Ajmera
@ 2022-08-18  9:32 ` Singh, Jasvinder
  0 siblings, 0 replies; 2+ messages in thread
From: Singh, Jasvinder @ 2022-08-18  9:32 UTC (permalink / raw)
  To: Ajmera, Megha, dev, Dumitrescu, Cristian



> -----Original Message-----
> From: Ajmera, Megha <megha.ajmera@intel.com>
> Sent: Thursday, August 18, 2022 7:03 AM
> To: dev@dpdk.org; Singh, Jasvinder <jasvinder.singh@intel.com>;
> Dumitrescu, Cristian <cristian.dumitrescu@intel.com>
> Subject: [PATCH] sched: Fix subport profile id not set correctly.
> 
> In rte_sched_subport_config() API, subport_profile_id is not set correctly.
> 
> Signed-off-by: Megha Ajmera <megha.ajmera@intel.com>
> ---
>  lib/sched/rte_sched.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index
> 599c7e9536..09f855a04b 100644
> --- a/lib/sched/rte_sched.c
> +++ b/lib/sched/rte_sched.c
> @@ -1263,8 +1263,6 @@ rte_sched_subport_config(struct rte_sched_port
> *port,
> 
>  		n_subports++;
> 
> -		subport_profile_id = 0;
> -
>  		/* Port */
>  		port->subports[subport_id] = s;
> 
> --
> 2.25.1

When fixing a bug, it is required to reference the id of the commit which introduced the bug, also CCed to the stable@dpdk.org. Guidelines on preparing and sending bug fix patch are available @ https://doc.dpdk.org/guides/contributing/patches.html

 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-18  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-18  6:03 [PATCH] sched: Fix subport profile id not set correctly Megha Ajmera
2022-08-18  9:32 ` Singh, Jasvinder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).