Re: [dpdk-dev] [PATCH v3 1/2] eal: add new rte color definition

2018-12-17 Thread Thomas Monjalon
13/12/2018 19:08, Reshma Pattan: > Added new rte_color definition in eal to > consolidate color definition which is currently replicated > in various places such as rte_meter.h, rte_tm.h and rte_mtr.h I don't think EAL is the right place for such definition. Why ethdev would not rely on definition

Re: [dpdk-dev] [PATCH v3 1/2] eal: add new rte color definition

2018-12-14 Thread Dumitrescu, Cristian
> -Original Message- > From: Pattan, Reshma > Sent: Thursday, December 13, 2018 6:09 PM > To: dev@dpdk.org; jerin.ja...@caviumnetworks.com; Rao, Nikhil > ; Singh, Jasvinder ; > Dumitrescu, Cristian > Cc: Pattan, Reshma > Subject: [PATCH v3 1/2] eal: add new rte color definition > > Ad

[dpdk-dev] [PATCH v3 1/2] eal: add new rte color definition

2018-12-13 Thread Reshma Pattan
Added new rte_color definition in eal 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_m