[dpdk-dev] [PATCH 0/3] service: add attribute get and reset

Harry van Haaren harry.van.haaren at intel.com
Wed Oct 4 12:54:48 CEST 2017

This patchset adds two new functions to the service cores API, allowing
the service library to expose generic attributes about the services,
and to reset them. These attributes can be the cycle counts that cores
have spent in the service-function. The 3rd patch in the series adds a
new attribute, enabling the application to retrieve the number of calls
to any service.

Harry van Haaren (3):
  service: add attribute get function
  service: add reset all attributes for service
  service: add attribute for number of invokations

 lib/librte_eal/bsdapp/eal/rte_eal_version.map   |  2 +
 lib/librte_eal/common/include/rte_service.h     | 32 +++++++++
 lib/librte_eal/common/rte_service.c             | 45 +++++++++++--
 lib/librte_eal/linuxapp/eal/rte_eal_version.map |  2 +
 test/test/test_service_cores.c                  | 88 +++++++++++++++++++++++++
 5 files changed, 163 insertions(+), 6 deletions(-)


More information about the dev mailing list