[v6,1/3] sched: fix subport profile ID
Checks
Commit Message
In rte_sched_subport_config() API, subport_profile_id is not set correctly.
Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")
Cc: cristian.dumitrescu@intel.com
Signed-off-by: Megha Ajmera <megha.ajmera@intel.com>
Acked-by: Dumitrescu, Cristian <cristian.dumitrescu@intel.com>
---
lib/sched/rte_sched.c | 2 --
1 file changed, 2 deletions(-)
Comments
On Fri, Oct 28, 2022 at 11:58 AM Megha Ajmera <megha.ajmera@intel.com> wrote:
>
> In rte_sched_subport_config() API, subport_profile_id is not set correctly.
>
> Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")
> Cc: cristian.dumitrescu@intel.com
Cc: stable@dpdk.org
>
> Signed-off-by: Megha Ajmera <megha.ajmera@intel.com>
> Acked-by: Dumitrescu, Cristian <cristian.dumitrescu@intel.com>
It should be Cristian Dumitrescu.
And there is no "Dumitrescu@dpdk.org".
I removed it before replying.
@@ -1257,8 +1257,6 @@ rte_sched_subport_config(struct rte_sched_port *port,
n_subports++;
- subport_profile_id = 0;
-
/* Port */
port->subports[subport_id] = s;