meter: unify packet color definition
authorReshma Pattan <reshma.pattan@intel.com>
Thu, 20 Dec 2018 12:16:08 +0000 (12:16 +0000)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Thu, 20 Dec 2018 18:00:10 +0000 (19:00 +0100)
commitc712b0132645eff71bbc11fb18659c5775c1d3d7
tree993ffdcf4371ce6d2acc486dcd0a50dcf72c0353
parentfff6df7bf58e8907c710832738a26d8d67c8256c
meter: unify packet color definition

Added new rte_color definition in librte_meter to
consolidate color definition which is currently replicated
in various places such as rte_meter.h, rte_tm.h and rte_mtr.h

Created aliases for rte_tm_color, rte_mtr_color and rte_meter_color
to use new rte_color values.

The definitions of rte_tm_color, rte_mtr_color and rte_meter_color
will be deprecated in future.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/Makefile
lib/librte_ethdev/Makefile
lib/librte_ethdev/meson.build
lib/librte_ethdev/rte_mtr.h
lib/librte_ethdev/rte_tm.h
lib/librte_meter/rte_meter.h
lib/meson.build