sched: add config flexibility to TC queue sizes
authorJasvinder Singh <jasvinder.singh@intel.com>
Mon, 22 Jul 2019 11:01:39 +0000 (12:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Jul 2019 13:41:04 +0000 (15:41 +0200)
commitca4d5915b877d1fa251e9d68e9980c1e042b5280
treec37c73bf2cf446655724f4b780020de051c6cf27
parente16b06da090820ed41bda7884b93955412d7eff1
sched: add config flexibility to TC queue sizes

Add support for zero queue sizes of the traffic classes. The queues
which are not used can be set to zero size. This helps in reducing
memory footprint of the hierarchical scheduler.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Signed-off-by: Abraham Tovar <abrahamx.tovar@intel.com>
Signed-off-by: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>
lib/librte_sched/rte_sched.c
lib/librte_sched/rte_sched.h