service: reset core call stats on dump
authorHarry van Haaren <harry.van.haaren@intel.com>
Mon, 21 Aug 2017 12:58:13 +0000 (13:58 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 15 Sep 2017 11:46:44 +0000 (13:46 +0200)
commit4977b84f99c67577d45eeb0f429bd7a882cd1627
tree4ab8988eeb82014ac42e26f3a46d6a9283b2662b
parent5ef9209891aa415463c2571a1655b7062635e2d5
service: reset core call stats on dump

This aligns with the service stats, which are currently
also reset on read. A generic statistics API would be
helpful for the service library in future.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
lib/librte_eal/common/rte_service.c