From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 30 Sep 2015 02:04:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,611,1437462000"; d="scan'208";a="816043123" Received: from rhorton-mobl.ger.corp.intel.com (HELO localhost.ir.intel.com) ([163.33.229.80]) by fmsmga002.fm.intel.com with ESMTP; 30 Sep 2015 02:04:42 -0700 From: Remy Horton To: dev@dpdk.org Date: Wed, 30 Sep 2015 10:04:38 +0100 Message-Id: <1443603881-4700-1-git-send-email-remy.horton@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1442319413-3614-1-git-send-email-remy.horton@intel.com> Subject: [dpdk-dev] [PATCH v2 0/3] Keepalive monitoring & reporting 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: Wed, 30 Sep 2015 09:05:02 -0000 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