[dpdk-dev] [PATCH 4/6] rte_sched: allow reading without clearing

2015-05-11 Thread Thomas Monjalon
2015-04-29 10:04, Stephen Hemminger: > The rte_sched statistics API should allow reading statistics without > clearing. Make auto-clear optional. > > Signed-off-by: Stephen Hemminger > --- > app/test/test_sched.c| 4 ++-- > examples/qos_sched/stats.c | 16 +++- > lib/librt

[dpdk-dev] [PATCH 4/6] rte_sched: allow reading without clearing

2015-05-11 Thread Stephen Hemminger
The rte_sched statistics API should allow reading statistics without clearing. Make auto-clear optional. Signed-off-by: Stephen Hemminger --- app/test/test_sched.c| 4 ++-- examples/qos_sched/stats.c | 22 +++--- lib/librte_sched/rte_sched.c | 44 ++

[dpdk-dev] [PATCH 4/6] rte_sched: allow reading without clearing

2015-04-29 Thread Stephen Hemminger
The rte_sched statistics API should allow reading statistics without clearing. Make auto-clear optional. Signed-off-by: Stephen Hemminger --- app/test/test_sched.c| 4 ++-- examples/qos_sched/stats.c | 16 +++- lib/librte_sched/rte_sched.c | 44 ++--