service: add attribute for number of invocations
authorHarry van Haaren <harry.van.haaren@intel.com>
Fri, 12 Jan 2018 10:27:18 +0000 (10:27 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 12 Jan 2018 11:49:40 +0000 (12:49 +0100)
commitfb033aceaf81bee4fcbd77d016bb590d9a27146f
treeb7865285305ce32a4f5eaeaf40e22c4ee9f40763
parent1fa2c9e1080f09e2b1a07697b6949ed7a30001e0
service: add attribute for number of invocations

This commit adds a new attribute to the service cores attributes
API, which allows the application to retrieve the number of times
that a service-core called the service to perform its action.

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