numam-dpdk/lib/sched
Huisong Li c6ccd1e392 sched: rework configuration failure handling
Currently, rte_sched_free_memory() is called multiple times by the
exception handling code in rte_sched_subport_config() and
rte_sched_pipe_config().

This patch optimizes them into a unified outlet to free memory.

Fixes: ac6fcb841b ("sched: update subport rate dynamically")
Fixes: 34a90f8665 ("sched: modify pipe functions for config flexibility")
Fixes: ce7c4fd7c2 ("sched: add pipe config to subport level")
Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2021-07-24 10:58:58 +02:00
..
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_approx.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_approx.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_red.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_red.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_sched_common.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_sched.c sched: rework configuration failure handling 2021-07-24 10:58:58 +02:00
rte_sched.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
version.map lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00