Skip to content

Keep-alive enhancements

Remy Horton dpdk-dev 4 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyApplied
  2. v33 patches 2 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Changes in v4 from the cover letter

* Use RTE_KA_STATE_ prefix instead of RTE_ (namespace issues)

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3eal: export keepalive state enumerationslib/librte_eal/common/include/rte_keepalive.h lib/librte_eal/common/rte_keepalive.c+30 -160 replies
2/3eal: add additional keepalive callbacksdoc/guides/rel_notes/release_16_07.rst examples/Makefile lib/librte_eal/bsdapp/eal/rte_eal_version.map +3 more+91 -10 replies
3/3examples/l2fwd-keepalive: add IPC liveness reportingexamples/Makefile examples/l2fwd-keepalive/Makefile examples/l2fwd-keepalive/ka-agent/Makefile +4 more+441 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] Keep-alive enhancements

This patchset adds enhancements to the keepalive core monitoring and reporting sub-system. The first is support for idled (sleeping and frequency-stepped) CPU cores, and the second is support for applications to be notified of active as well as faulted cores. The latter is to allow core state to be relayed to external (secondary) processes, which is demonstrated by changes to the l2fwd-keepalive example.

--

v4 changes
* Use RTE_KA_STATE_ prefix instead of RTE_ (namespace issues)

v3 changes
* Rebased to master
* Exposed keepalive state enumerations
* Changed keepalive state enumerations to use RTE_ prefix
* Added missing parameter documentation
* Doc changes squashed

v2 changes:
* Some date & typos fixups
* State enum made public and extended with new states
* Generalised 'alive' callback to all states
* Last-alive shows gone-to-sleep time for idle cores
* Removed some redundant sanity checks
* Last-alive time exposed to application
* #define'd semaphore timeout
* Agent checks for dead keepalive

Remy Horton (3):
eal: export keepalive state enumerations
eal: add additional keepalive callbacks examples/l2fwd-keepalive: add IPC liveness reporting

 doc/guides/rel_notes/release_16_07.rst          |   6 +
 examples/Makefile                               |   3 +-
 examples/l2fwd-keepalive/Makefile               |   5 +-
 examples/l2fwd-keepalive/ka-agent/Makefile      |  49 ++++++++
 examples/l2fwd-keepalive/ka-agent/main.c        | 150 ++++++++++++++++++++++++
 examples/l2fwd-keepalive/main.c                 |  22 +++-
 examples/l2fwd-keepalive/shm.c                  | 129 ++++++++++++++++++++
 examples/l2fwd-keepalive/shm.h                  |  89 ++++++++++++++
 lib/librte_eal/bsdapp/eal/rte_eal_version.map   |   1 +
 lib/librte_eal/common/include/rte_keepalive.h   |  63 +++++++++-
 lib/librte_eal/common/rte_keepalive.c           |  64 +++++++---
 lib/librte_eal/linuxapp/eal/rte_eal_version.map |   2 +
 12 files changed, 562 insertions(+), 21 deletions(-)
 create mode 100644 examples/l2fwd-keepalive/ka-agent/Makefile
 create mode 100644 examples/l2fwd-keepalive/ka-agent/main.c
 create mode 100644 examples/l2fwd-keepalive/shm.c
 create mode 100644 examples/l2fwd-keepalive/shm.h
Signature · 1 line
2.5.5