From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A5CB85424 for ; Wed, 18 Nov 2015 15:06:41 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 18 Nov 2015 06:05:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,313,1444719600"; d="scan'208";a="853872341" Received: from rhorton-mobl.ger.corp.intel.com (HELO localhost.ir.intel.com) ([163.33.230.15]) by fmsmga002.fm.intel.com with ESMTP; 18 Nov 2015 06:05:17 -0800 From: Remy Horton To: dev@dpdk.org Date: Wed, 18 Nov 2015 14:05:13 +0000 Message-Id: <1447855516-7862-1-git-send-email-remy.horton@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1446723178-14876-1-git-send-email-remy.horton@intel.com> Subject: [dpdk-dev] [PATCH v5 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, 18 Nov 2015 14:06:42 -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. v5 * Consistant use of ENUMs rather than integer literals * Use RTE_INFO for logging * Removed #ifdef's * Missing Doxygen description & index entries * Use rte_zmalloc rather than stock malloc * Use __rte_unused rather than __attribute__((unused)) * Corrected .map function order * Rebased to latest origin/master Remy Horton (3): rte: add keep alive functionality docs: add keep alive sample app guide & release notes example: add keep alive sample application MAINTAINERS | 4 + doc/api/doxy-api-index.md | 1 + doc/guides/rel_notes/release_2_2.rst | 3 + doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/keep_alive.rst | 191 ++++++ examples/l2fwd-keepalive/Makefile | 50 ++ examples/l2fwd-keepalive/main.c | 806 ++++++++++++++++++++++++ lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/bsdapp/eal/rte_eal_version.map | 6 +- lib/librte_eal/common/Makefile | 2 +- lib/librte_eal/common/include/rte_keepalive.h | 146 +++++ lib/librte_eal/common/rte_keepalive.c | 113 ++++ lib/librte_eal/linuxapp/eal/Makefile | 1 + lib/librte_eal/linuxapp/eal/rte_eal_version.map | 6 +- 14 files changed, 1328 insertions(+), 3 deletions(-) create mode 100644 doc/guides/sample_app_ug/keep_alive.rst create mode 100644 examples/l2fwd-keepalive/Makefile create mode 100644 examples/l2fwd-keepalive/main.c create mode 100644 lib/librte_eal/common/include/rte_keepalive.h create mode 100644 lib/librte_eal/common/rte_keepalive.c -- 1.9.3