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.
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 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