From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 671405693 for ; Fri, 29 Apr 2016 07:41:12 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 28 Apr 2016 22:41:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,550,1455004800"; d="scan'208";a="794786653" Received: from rhorton-mobl.ger.corp.intel.com (HELO VM.ir.intel.com) ([163.33.228.53]) by orsmga003.jf.intel.com with ESMTP; 28 Apr 2016 22:41:10 -0700 From: Remy Horton To: dev@dpdk.org Date: Fri, 29 Apr 2016 06:41:04 +0100 Message-Id: <1461908467-1815-1-git-send-email-remy.horton@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH v1 0/3] Keep-alive enhancements X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2016 05:41:13 -0000 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. Remy Horton (3): eal: add new keepalive state & callback hook examples/l2fwd-keepalive: add IPC liveness reporting doc: add keepalive enhancement documentation doc/guides/rel_notes/release_16_07.rst | 5 + examples/Makefile | 1 + examples/l2fwd-keepalive/Makefile | 4 +- examples/l2fwd-keepalive/ka-agent/Makefile | 51 ++++++++++ examples/l2fwd-keepalive/ka-agent/main.c | 128 +++++++++++++++++++++++ examples/l2fwd-keepalive/main.c | 22 +++- examples/l2fwd-keepalive/shm.c | 130 ++++++++++++++++++++++++ examples/l2fwd-keepalive/shm.h | 102 +++++++++++++++++++ lib/librte_eal/bsdapp/eal/rte_eal_version.map | 7 ++ lib/librte_eal/common/include/rte_keepalive.h | 40 ++++++++ lib/librte_eal/common/rte_keepalive.c | 35 ++++++- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 7 ++ 12 files changed, 526 insertions(+), 6 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