From: Remy Horton <remy.horton@intel.com>
To: dev@dpdk.org
Subject: Re: [PATCH 3/3] keepalive: add rte_keepalive_xstats() and example
Date: Thu, 21 Jan 2016 09:57:00 +0000 [thread overview]
Message-ID: <56A0AB6C.5080704@intel.com> (raw)
In-Reply-To: <1453305221-11125-4-git-send-email-harry.van.haaren@intel.com>
Morning,
On 20/01/2016 15:53, Harry van Haaren wrote:
> This patch adds a function that exposes keepalive statistics
> re-using the existing rte_eth_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 <harry.van.haaren@intel.com>
...
> #include <rte_keepalive.h>
> #include <rte_malloc.h>
> #include <rte_cycles.h>
> +#include <rte_ethdev.h>
> +
> +#define RTE_KEEPALIVE_NSTATS 2
Tried building this and am getting the following error:
== Build lib/librte_eal/linuxapp/eal
CC rte_keepalive.o
/local/rhorton/dpdk-test/lib/librte_eal/common/rte_keepalive.c:42:24:
fatal error: rte_ethdev.h: No such file or directory
compilation terminated.
If I remember correctly, there are limitations on the libs using each
others' header files..
..Remy
next prev parent reply other threads:[~2016-01-21 9:57 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-20 15:53 [PATCH 0/3] Keep-alive stats and doc fixes Harry van Haaren
2016-01-20 15:53 ` [PATCH 1/3] doc: fix keepalive sample app guide Harry van Haaren
2016-01-20 15:53 ` [PATCH 2/3] eal: add keepalive core register timestamp Harry van Haaren
2016-01-20 15:53 ` [PATCH 3/3] keepalive: add rte_keepalive_xstats() and example Harry van Haaren
2016-01-21 9:57 ` Remy Horton [this message]
2016-01-21 11:05 ` [PATCH v2 0/3] Keep-alive stats and doc fixes Harry van Haaren
2016-01-21 11:05 ` [PATCH v2 1/3] doc: fix keepalive sample app guide Harry van Haaren
2016-02-19 17:28 ` Mcnamara, John
2016-01-21 11:05 ` [PATCH v2 2/3] eal: add keepalive core register timestamp Harry van Haaren
2016-01-21 11:05 ` [PATCH v2 3/3] keepalive: add rte_keepalive_xstats_get() and example Harry van Haaren
2016-01-21 12:12 ` [PATCH v2 0/3] Keep-alive stats and doc fixes Remy Horton
2016-02-22 11:25 ` [PATCH v3 0/3] Keepalive stats function " Harry van Haaren
2016-02-22 11:26 ` [PATCH v3 1/3] doc: fix keepalive sample app guide Harry van Haaren
2016-02-22 16:54 ` Mcnamara, John
2016-02-22 11:26 ` [PATCH v3 2/3] eal: add keepalive core register timestamp Harry van Haaren
2016-02-22 11:26 ` [PATCH v3 3/3] keepalive: add rte_keepalive_xstats_get() Harry van Haaren
2016-02-29 9:19 ` Thomas Monjalon
2016-02-22 13:12 ` [PATCH v3 0/3] Keepalive stats function and doc fixes Remy Horton
2016-03-08 10:50 ` [PATCH v4 0/3] Keepalive register timestamp and doc update Harry van Haaren
2016-03-08 10:50 ` [PATCH v4 1/3] doc: fix keepalive sample app guide Harry van Haaren
2016-03-08 10:50 ` [PATCH v4 2/3] eal: add keepalive core register timestamp Harry van Haaren
2016-03-08 10:50 ` [PATCH v4 3/3] keepalive: fix whitespace, removes double newlines Harry van Haaren
2016-03-08 10:58 ` [PATCH v4 0/3] Keepalive register timestamp and doc update Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A0AB6C.5080704@intel.com \
--to=remy.horton@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.