sched: make RED optional at runtime
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 16 Jul 2015 21:34:32 +0000 (14:34 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jul 2015 22:33:44 +0000 (00:33 +0200)
commit041f312da5c8aec4de13635b7677e5fa80fea46b
treec695b0e6b86877881c249361bd1319bc12994eb5
parent0198848a47f5216f3fe43782b90b2e2a4fb6bda4
sched: make RED optional at runtime

Want to be able to build with RTE_SCHED_RED enabled but
allow disabling RED on a per-queue basis at runtime.

RED is disabled unless min/max thresholds set.

Signed-off-by: Stephen Hemmminger <stephen@networkplumber.org>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/librte_sched/rte_sched.c