[dpdk-dev] [PATCH v3 3/3] keepalive: add rte_keepalive_xstats_get()

2016-02-29 Thread Thomas Monjalon
Hi, There is a compilation error for 32-bit arch: 2016-02-22 11:26, Harry van Haaren: > + for (i = 0; i < nstats; i++) > + printf("%s\t%lu\n", xstats[i].name, xstats[i].value); examples/l2fwd-keepalive/main.c:206:10: error: format ?%lu? expects argument of type ?long

[dpdk-dev] [PATCH v3 3/3] keepalive: add rte_keepalive_xstats_get()

2016-02-22 Thread Harry van Haaren
This patch adds a function that exposes keepalive statistics using a rte_keepalive_xstats struct. The function provides the client API the opportunity to read last-seen and status of each core. Signed-off-by: Harry van Haaren --- doc/guides/rel_notes/release_16_04.rst | 7