sched: fix subport profile configuration

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

Fixes: ac6fcb841b ("sched: update subport rate dynamically")
Cc: stable@dpdk.org

Signed-off-by: Megha Ajmera <megha.ajmera@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
This commit is contained in:
Megha Ajmera 2022-10-28 09:55:29 +00:00 committed by David Marchand
parent 9f81548430
commit 25eae0f790

View File

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