[dpdk-dev] [PATCH] remove unused ring includes

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Sep 16 10:08:58 CEST 2016


2016-08-31 10:34, Amine Kherbouche:
> This patch removes all unused <rte_ring.h> headers.
> 
> Signed-off-by: Amine Kherbouche <amine.kherbouche at 6wind.com>
[...]
> --- a/examples/performance-thread/common/lthread_int.h
> +++ b/examples/performance-thread/common/lthread_int.h
> @@ -72,7 +72,6 @@
>  #include <rte_cycles.h>
>  #include <rte_per_lcore.h>
>  #include <rte_timer.h>
> -#include <rte_ring.h>

It must be replaced by rte_memory.h for __rte_cache_aligned definition.
You didn't see it because this example is not built by default.

Applied with above fix, thanks




More information about the dev mailing list