sched: hide structure of port hierarchy
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 16 Jul 2015 21:34:35 +0000 (14:34 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jul 2015 22:35:49 +0000 (00:35 +0200)
commit320d0b6ea00b1b1e42bb67aa98685205bf5576c0
tree3f451133735f1a3849f5d06be7798f51803816cb
parent63111f7d4d100b237b5c0a076fdda122d82daa33
sched: hide structure of port hierarchy

Right now the scheduler hierarchy is encoded as a bitfield
that is visible as part of the ABI. This creates an barrier
limiting future expansion of the hierarchy.

As a transistional step. hide the actual layout of the hierarchy
and mark the exposed structure as deprecated. This will allow for
expansion in later release.

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