From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: [PATCH v5 0/3] Keepalive monitoring & reporting Date: Wed, 18 Nov 2015 14:05:13 +0000 Message-ID: <1447855516-7862-1-git-send-email-remy.horton@intel.com> References: <1446723178-14876-1-git-send-email-remy.horton@intel.com> To: dev@dpdk.org 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) In-Reply-To: <1446723178-14876-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. 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