meter: replace color definitions
authorJasvinder Singh <jasvinder.singh@intel.com>
Thu, 11 Apr 2019 09:15:14 +0000 (10:15 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Apr 2019 12:27:32 +0000 (14:27 +0200)
commitc1656328dbc20420b7ba87b1abee7b699c8e84f4
treef675aee2cb241b21e1d88e474339e11485de666b
parente3eb65cab308508883139b2b79c8348ec0682eec
meter: replace color definitions

This patch implements the changes proposed in the deprecation
note[1]. Replace multiple color definitions in various places such as
rte_meter.h, rte_tm.h and rte_mtr.h with single rte_color defined
in rte_meter.h.

This is simple search and replace exercise without any implementation
change.

[1] https://mails.dpdk.org/archives/dev/2019-January/123861.html

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
28 files changed:
app/proc-info/main.c
app/test-pmd/cmdline_mtr.c
app/test-pmd/cmdline_tm.c
app/test/test_meter.c
app/test/test_sched.c
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_19_05.rst
drivers/net/softnic/rte_eth_softnic_cli.c
drivers/net/softnic/rte_eth_softnic_flow.c
drivers/net/softnic/rte_eth_softnic_meter.c
drivers/net/softnic/rte_eth_softnic_tm.c
examples/ip_pipeline/cli.c
examples/qos_meter/main.h
examples/qos_meter/rte_policer.c
examples/qos_meter/rte_policer.h
examples/qos_sched/app_thread.c
examples/qos_sched/cfg_file.c
lib/librte_ethdev/rte_mtr.c
lib/librte_ethdev/rte_mtr.h
lib/librte_ethdev/rte_mtr_driver.h
lib/librte_ethdev/rte_tm.h
lib/librte_meter/Makefile
lib/librte_meter/meson.build
lib/librte_meter/rte_meter.h
lib/librte_pipeline/rte_table_action.c
lib/librte_pipeline/rte_table_action.h
lib/librte_sched/rte_sched.c
lib/librte_sched/rte_sched.h