Re: [lng-odp] [NEXT PATCHv3] api: define pktio statistics api

2015-10-13 Thread Maxim Uvarov
On 09/22/2015 20:18, Ivan Khoronzhuk wrote: Hi, Maxim What about to extend API a little. Why API doesn't support work with statistic counter, I mean not only read. What if I want to reset a statistic counter and only one? In my case I have h/w support to reset concrete counter by writing

Re: [lng-odp] [NEXT PATCHv3] api: define pktio statistics api

2015-09-22 Thread Ivan Khoronzhuk
Hi, Maxim What about to extend API a little. Why API doesn't support work with statistic counter, I mean not only read. What if I want to reset a statistic counter and only one? In my case I have h/w support to reset concrete counter by writing 0x to it in runtime. Also there is

Re: [lng-odp] [NEXT PATCHv3] api: define pktio statistics api

2015-09-10 Thread Maxim Uvarov
Hello Petri, is v3 good for you? Maxim. On 09/07/15 15:43, Maxim Uvarov wrote: Signed-off-by: Maxim Uvarov --- v3: - reduce number of counters; v2: - add function to check supported cnts; - add optional functio to reset cnts;

[lng-odp] [NEXT PATCHv3] api: define pktio statistics api

2015-09-07 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- v3: - reduce number of counters; v2: - add function to check supported cnts; - add optional functio to reset cnts; include/odp/api/packet_io_stats.h | 94 ++