All of lore.kernel.org
 help / color / mirror / Atom feed
From: Remy Horton <remy.horton@intel.com>
To: dev@dpdk.org, John McNamara <john.mcnamara@intel.com>
Subject: [PATCH v2 0/3] Keep-alive enhancements
Date: Wed, 18 May 2016 10:30:15 +0100	[thread overview]
Message-ID: <1463563818-2249-1-git-send-email-remy.horton@intel.com> (raw)
In-Reply-To: <1461908467-1815-1-git-send-email-remy.horton@intel.com>

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 l2fed-keepalive example.

--

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: add new keepalive states & callback hooks
  examples/l2fwd-keepalive: add IPC liveness reporting
  doc: add keepalive enhancement documentation

 doc/guides/rel_notes/release_16_07.rst          |   5 +
 examples/Makefile                               |   3 +-
 examples/l2fwd-keepalive/Makefile               |   4 +-
 examples/l2fwd-keepalive/ka-agent/Makefile      |  51 ++++++++
 examples/l2fwd-keepalive/ka-agent/main.c        | 150 ++++++++++++++++++++++++
 examples/l2fwd-keepalive/main.c                 |  22 +++-
 examples/l2fwd-keepalive/shm.c                  | 128 ++++++++++++++++++++
 examples/l2fwd-keepalive/shm.h                  |  89 ++++++++++++++
 lib/librte_eal/bsdapp/eal/rte_eal_version.map   |   7 ++
 lib/librte_eal/common/include/rte_keepalive.h   |  55 ++++++++-
 lib/librte_eal/common/rte_keepalive.c           |  48 ++++++--
 lib/librte_eal/linuxapp/eal/rte_eal_version.map |   7 ++
 12 files changed, 556 insertions(+), 13 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

-- 
2.5.5

  parent reply	other threads:[~2016-05-18  9:30 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-29  5:41 [PATCH v1 0/3] Keep-alive enhancements Remy Horton
2016-04-29  5:41 ` [PATCH v1 1/3] eal: add new keepalive state & callback hook Remy Horton
2016-04-29  5:41 ` [PATCH v1 2/3] examples/l2fwd-keepalive: add IPC liveness reporting Remy Horton
2016-04-29  5:41 ` [PATCH v1 3/3] doc: add keepalive enhancement documentation Remy Horton
2016-05-17  7:30 ` FW: [PATCH v1 0/3] Keep-alive enhancements Liu, Shucong
2016-05-18  9:30 ` Remy Horton [this message]
2016-05-18  9:30   ` [PATCH v2 1/3] eal: add new keepalive states & callback hooks Remy Horton
2016-06-08  9:53     ` Thomas Monjalon
2016-05-18  9:30   ` [PATCH v2 2/3] examples/l2fwd-keepalive: add IPC liveness reporting Remy Horton
2016-05-18  9:30   ` [PATCH v2 3/3] doc: add keepalive enhancement documentation Remy Horton
2016-06-08  9:52     ` Thomas Monjalon
2016-06-14 10:03       ` Remy Horton
2016-06-02 13:57   ` [PATCH v2 0/3] Keep-alive enhancements Tahhan, Maryam
2016-06-15  9:17   ` [PATCH v3 " Remy Horton
2016-06-15  9:17     ` [PATCH v3 1/3] eal: export keepalive state enumerations Remy Horton
2016-06-15  9:27       ` Thomas Monjalon
2016-06-15  9:32         ` Remy Horton
2016-06-15  9:17     ` [PATCH v3 2/3] eal: add additional keepalive callbacks Remy Horton
2016-06-15  9:17     ` [PATCH v3 3/3] examples/l2fwd-keepalive: add IPC liveness reporting Remy Horton
2016-06-15 15:25     ` [PATCH v4 0/3] Keep-alive enhancements Remy Horton
2016-06-15 15:25       ` [PATCH v4 1/3] eal: export keepalive state enumerations Remy Horton
2016-06-15 15:25       ` [PATCH v4 2/3] eal: add additional keepalive callbacks Remy Horton
2016-06-15 15:25       ` [PATCH v4 3/3] examples/l2fwd-keepalive: add IPC liveness reporting Remy Horton
2016-06-16 16:30       ` [PATCH v4 0/3] Keep-alive enhancements Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1463563818-2249-1-git-send-email-remy.horton@intel.com \
    --to=remy.horton@intel.com \
    --cc=dev@dpdk.org \
    --cc=john.mcnamara@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.