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

Message ID 20220818054151.1453359-1-megha.ajmera@gmail.com (mailing list archive)
State Rejected, archived
Delegated to: Thomas Monjalon
Headers
Series sched:In rte_sched_subport_config() API, subport_profile_id is not set correctly. |

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing fail Testing issues
ci/iol-x86_64-compile-testing fail Testing issues
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS

Commit Message

Megha Ajmera Aug. 18, 2022, 5:41 a.m. UTC
  ---
 lib/sched/rte_sched.c | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Stephen Hemminger Oct. 31, 2023, 6:59 p.m. UTC | #1
On Thu, 18 Aug 2022 05:41:51 +0000
Megha Ajmera <megha.ajmera@gmail.com> wrote:

> ---
>  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;
>  

The patch does not apply, either already fixed or you are looking a a different tree.
  

Patch

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;