From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: [PATCH v2 0/3] Keepalive monitoring & reporting Date: Wed, 30 Sep 2015 10:04:38 +0100 Message-ID: <1443603881-4700-1-git-send-email-remy.horton@intel.com> References: <1442319413-3614-1-git-send-email-remy.horton@intel.com> To: dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 148A28D36 for ; Wed, 30 Sep 2015 11:05:01 +0200 (CEST) In-Reply-To: <1442319413-3614-1-git-send-email-remy.horton@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch-set adds functions for detecting and reporting live-ness of LCores, the primary requirement of which is minimal overheads for the core(s) being checked. Core failures are notified via an application defined callback. As an example l2fwd with random failures is used. Due to its size, the keepalive functions are built directly into the EAL, rather than being in their own library - this point needs discussing, as does the integration into l2fwd as opposed to being a new application. Remy Horton (3): rte: add keep alive functionality l2fwd: keep alive sample application docs: add keep alive sample app guide doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/keep_alive.rst | 191 ++++++++++++++++++++++++++ examples/l2fwd/Makefile | 2 +- examples/l2fwd/main.c | 125 +++++++++++++++-- lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/common/Makefile | 2 +- lib/librte_eal/common/include/rte_keepalive.h | 140 +++++++++++++++++++ lib/librte_eal/common/rte_keepalive.c | 122 ++++++++++++++++ lib/librte_eal/linuxapp/eal/Makefile | 1 + 9 files changed, 575 insertions(+), 10 deletions(-) create mode 100644 doc/guides/sample_app_ug/keep_alive.rst create mode 100644 lib/librte_eal/common/include/rte_keepalive.h create mode 100644 lib/librte_eal/common/rte_keepalive.c -- 1.9.3