[dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats

2015-05-28 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, May 26, 2015 10:58 PM > To: Dumitrescu, Cristian > Cc: Gajdzica, MaciejX T; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 01/10] table: added structure for sto

[dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats

2015-05-28 Thread Stephen Hemminger
On Thu, 28 May 2015 19:32:32 + "Dumitrescu, Cristian" wrote: > This is just adding a new field at the end of an API data structure. Based > on input from multiple people and after reviewing the rules listed on > http://dpdk.org/doc/guides/rel_notes/abi.html , I think this is an acceptable

[dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats

2015-05-26 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Tuesday, May 26, 2015 3:58 PM > To: Gajdzica, MaciejX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 01/10] table: added structure for storing >

[dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats

2015-05-26 Thread Chris Wright
* Maciej Gajdzica (maciejx.t.gajdzica at intel.com) wrote: > @@ -187,6 +193,24 @@ typedef int (*rte_table_op_lookup)( > uint64_t *lookup_hit_mask, > void **entries); > > +/** > + * Lookup table stats read > + * > + * @param port Parameter is actually called table > + * Handle to l

[dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats

2015-05-26 Thread Stephen Hemminger
iejX T > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v3 01/10] table: added structure for storing > > table stats > > > > On Tue, 26 May 2015 14:39:38 +0200 > > Maciej Gajdzica wrote: > > > > > + > > > /** Lookup table interface

[dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats

2015-05-26 Thread Maciej Gajdzica
Added common structure for table statistics. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table.h | 25 + 1 file changed, 25 insertions(+) diff --git a/lib/librte_table/rte_table.h b/lib/librte_table/rte_table.h index 6e51fe6..1732fbf 100644 --- a/lib/librte

[dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 14:39:38 +0200 Maciej Gajdzica wrote: > + > /** Lookup table interface defining the lookup table operation */ > struct rte_table_ops { > rte_table_op_create f_create; /**< Create */ > @@ -194,6 +218,7 @@ struct rte_table_ops { > rte_table_op_entry_add f_add