[dpdk-users] DPDK KNI:

SAKTHIVEL ANAND S anand.sa88 at gmail.com
Thu Jun 23 10:01:49 CEST 2016


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