DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1 0/1] Add service lcore attributes API
@ 2018-05-04 20:16 Erik Gabriel Carrillo
  2018-05-04 20:16 ` [dpdk-dev] [PATCH v1 1/1] service: Add service lcore attr APIs Erik Gabriel Carrillo
  2018-05-09 16:22 ` [dpdk-dev] [PATCH v2 " Erik Gabriel Carrillo
  0 siblings, 2 replies; 6+ messages in thread
From: Erik Gabriel Carrillo @ 2018-05-04 20:16 UTC (permalink / raw)
  To: harry.van.haaren; +Cc: jerin.jacob, narender.vangati, gage.eads, dev

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-07-11 21:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-04 20:16 [dpdk-dev] [PATCH v1 0/1] Add service lcore attributes API Erik Gabriel Carrillo
2018-05-04 20:16 ` [dpdk-dev] [PATCH v1 1/1] service: Add service lcore attr APIs Erik Gabriel Carrillo
2018-05-09 15:19   ` Van Haaren, Harry
2018-05-09 15:22     ` Carrillo, Erik G
2018-05-09 16:22 ` [dpdk-dev] [PATCH v2 " Erik Gabriel Carrillo
2018-07-11 21:44   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).