[dpdk-dev] [PATCH v1 0/1] Add service lcore attributes API
Erik Gabriel Carrillo
erik.g.carrillo at intel.com
Fri May 4 22:16:03 CEST 2018
This patch proposes the addition of an API which allows an application to
query the attributes of a service lcore. It adds one such new attribute,
named "loops", which is a counter that tracks the number of times the service
core has looped in the service runner function (the driver function that
invokes services mapped to a service core). This is useful to applications
that desire a "liveness" check to make sure a service core is not stuck.
Erik Gabriel Carrillo (1):
service: Add service lcore attr APIs
lib/librte_eal/common/include/rte_service.h | 30 ++++++++++++
lib/librte_eal/common/rte_service.c | 43 ++++++++++++++++-
lib/librte_eal/rte_eal_version.map | 2 +
test/test/test_service_cores.c | 73 +++++++++++++++++++++++++++++
4 files changed, 147 insertions(+), 1 deletion(-)
--
2.6.4
More information about the dev
mailing list