service: add attribute get function
authorHarry van Haaren <harry.van.haaren@intel.com>
Fri, 12 Jan 2018 10:27:16 +0000 (10:27 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 12 Jan 2018 11:49:39 +0000 (12:49 +0100)
commit4d55194d76a4cf23f95e700c6911f62cc625fb45
tree9394ea41b682c2743feb9ad3e31203cac96c68fa
parent6e9a6625e6d9046b9264ab53bae6071d2f7f6b49
service: add attribute get function

This commit adds a new function to the service API to allow
the application to retrieve items about each individual service
in the system. A unit test checks the return values of a variety
of invalid and valid calls.

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
lib/librte_eal/rte_eal_version.map
test/test/test_service_cores.c