[dpdk-dev] [PATCH 3/3] keepalive: add rte_keepalive_xstats() and example

Remy Horton remy.horton at intel.com
Thu Jan 21 10:57:00 CET 2016


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 at intel.com>
>   #include <rte_keepalive.h>
>   #include <rte_malloc.h>
>   #include <rte_cycles.h>
> +#include <rte_ethdev.h>
> +

Tried building this and am getting the following error:

== Build lib/librte_eal/linuxapp/eal
   CC rte_keepalive.o
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..


More information about the dev mailing list