[dpdk-dev] [PATCH v3] meter: replace color definitions with rte_color values

Thomas Monjalon thomas at monjalon.net
Wed Apr 10 23:19:43 CEST 2019


> > 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 at intel.com>
> 
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

There is a compilation failure:

examples/qos_sched/cfg_file.c:67:20: error:
use of undeclared identifier 'e_RTE_METER_COLORS'
         for (k = 0; k < e_RTE_METER_COLORS; k++) {






More information about the dev mailing list