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 C24FDA2F for ; Wed, 11 Nov 2015 07:52:21 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 10 Nov 2015 22:52:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,274,1444719600"; d="scan'208";a="682760155" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 10 Nov 2015 22:52:21 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 10 Nov 2015 22:52:20 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.138]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.83]) with mapi id 14.03.0248.002; Wed, 11 Nov 2015 14:52:18 +0800 From: "Cao, Min" To: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 0/3] Keepalive monitoring & reporting Thread-Index: AQHRF73TVHS95hn6oUSXQsj2uxD2h56WaZbA Date: Wed, 11 Nov 2015 06:52:18 +0000 Message-ID: References: <1446022328-28675-1-git-send-email-remy.horton@intel.com> <1446723178-14876-1-git-send-email-remy.horton@intel.com> In-Reply-To: <1446723178-14876-1-git-send-email-remy.horton@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 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, 11 Nov 2015 06:52:22 -0000 Tested-by: Min Cao - OS/Kernel: Fedora 21/ 3.17.4-301 - GCC: gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6) - CPU: Intel(R) Xeon(R) CPU E5-2658 0 @ 2.10GHz - NIC: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (re= v 01) - Total 3 cases, 3 passed, 0 failed.=20 Test Case 1: Disable/Enable parameter T PERIOD Test case 2: Maximum value with parameter K and T Test case 3: Keep Alive=20 -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Remy Horton Sent: Thursday, November 05, 2015 7:33 PM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH v4 0/3] Keepalive monitoring & reporting This patch-set adds functions for detecting and reporting live-ness of LCor= es, the primary requirement of which is minimal overheads for the core(s) being checked. Core failures are notified via an application define= d callback. As an example l2fwd with random failures is used. 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/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 | 124 ++++ lib/librte_eal/linuxapp/eal/Makefile | 1 + lib/librte_eal/linuxapp/eal/rte_eal_version.map | 6 +- 13 files changed, 1338 insertions(+), 3 deletions(-) create mode 100644 d= oc/guides/sample_app_ug/keep_alive.rst create mode 100644 examples/l2fwd-keepalive/Makefile create mode 100644 e= xamples/l2fwd-keepalive/main.c create mode 100644 lib/librte_eal/common/in= clude/rte_keepalive.h create mode 100644 lib/librte_eal/common/rte_keepalive.c -- 1.9.3