[dpdk-users] KNI on 32 bit

Thomas Monjalon thomas.monjalon at 6wind.com
Sat Oct 8 01:15:05 CEST 2016


2016-10-07 17:46, Nishant Verma:
> Hi All,
> 
> My machine is 64 bit.
> I am trying to compile DPDK 16.07 with i686. It's giving me error :
> *"/cm_data/onewebcommon/data_fw/hfdp/script/intel-dpdk/lib/librte_port/rte_port_kni.c:38:21:
> fatal error: rte_kni.h: No such file or directory"*
> 
> Little bit of reading of previous question indicated  that in .config i
> need to set the *CONFIG_RTE_LIBRTE_KNI=y* manually.
> 
> I tried that too, but still getting same error.
> 
> Any clue??????? to resolve the issue.

See this config template:
	http://dpdk.org/browse/dpdk/tree/config/defconfig_i686-native-linuxapp-gcc#n45
"KNI is not supported on 32-bit"

You should not see this error. See the makefile:
	http://dpdk.org/browse/dpdk/tree/lib/librte_port/Makefile#n59
ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
SRCS-$(CONFIG_RTE_LIBRTE_PORT) += rte_port_kni.c
endif

And CONFIG_RTE_LIBRTE_KNI must be disabled for 32-bit.


More information about the users mailing list