sched: cleanup defined constants
authorStephen Hemminger <shemming@brocade.com>
Fri, 13 Nov 2015 17:58:33 +0000 (09:58 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 23:59:58 +0000 (00:59 +0100)
commit47865a03e18ca9d9f75f8d6187ba71915096166f
treeb1869b429c9a5c47b8fd865c075958566eadedd1
parenta3d0ca4eea9aa3993644b374b8dd3050c91f2584
sched: cleanup defined constants

Only use RTE_SCHED_PORT_N_GRINDERS from config.
Use RTE_BUILD_BUG_ON for errors.
The remaining implementation constants can be put together.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_sched/rte_sched.c