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:
parent
9f81548430
commit
25eae0f790
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user