service: use id in service stats functions
authorHarry van Haaren <harry.van.haaren@intel.com>
Mon, 21 Aug 2017 12:58:06 +0000 (13:58 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 15 Sep 2017 11:45:48 +0000 (13:45 +0200)
commit5a6f6e0d52abd553e529c4bcbdd763b9f1667d54
treee35d5487d7c3b7059d06520ef9f9075030c2e0fa
parent330b341b885909008957f68318c044da170da905
service: use id in service stats functions

This commit reworks the statistics functions to use integer ids
for services instead of pointers. Passing UINT32_MAX to the dump
function prints all info, similar to passing NULL previously.

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