[dpdk-users] DPDK KNI:

Cliff Burdick shaklee3 at gmail.com
Thu Jun 23 15:59:20 CEST 2016


Are you including the .mk files? I believe this value is passed in as a
compiled -D flag or defined in rte_memory.h. Do the examples compile
correctly?

On Thu, Jun 23, 2016 at 1:01 AM, SAKTHIVEL ANAND S <anand.sa88 at gmail.com>
wrote:

> hello
>
> I am getting the below error , while compiling my code.. can you pls point
> the root cause of this.
>
>
> == Build lib/librte_eal/linuxapp/kni
>   CC [M]
> /root/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_misc.o
> In file included from
> /root/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_misc.c:36:0:
>
> /usr/src/kernels/3.10.0-327.el7.x86_64/include/exec-env/rte_kni_common.h:113:2:
> error: requested alignment is not an integer constant
>   void *buf_addr __attribute__((__aligned__(RTE_CACHE_LINE_SIZE)));
>
>
> --
> Thanks
> Sakthivel S OM
>


More information about the users mailing list