30/07/2019 12:19, Konstantin Ananyev:
> Example BPF programs t1.c, t2.c, t3.c in folder examples/bpf are
> failing to compile with latest dpdk.org master.
> The reason is changes in some core DPDK header files, that causes
> now inclusion of x86 specific headers.
> To overcome the issue, minimize inclusion of DPDK header files
> into BPF source code.
> 
> Bugzilla ID: 321
> 
> Fixes: 9dfc06c26a8b ("test/bpf: add samples")
> Cc: sta...@dpdk.org
> 
> Reported-by: Michel Machado <mic...@digirati.com.br>
> Suggested-by: Michel Machado <mic...@digirati.com.br>
> Signed-off-by: Konstantin Ananyev <konstantin.anan...@intel.com>
> ---
>  examples/bpf/mbuf.h | 24 ++++++++++++++++++++++--
>  1 file changed, 22 insertions(+), 2 deletions(-)

I think that's really a bad idea to have this file.
The BPF applications are supposed to update their own copy of mbuf?
Please could you try to include rte_mbuf.h
instead of duplicating the mbuf layout?



Reply via email to