[dpdk-dev] [PATCH] kni: fix compile issue on different kernel versions

2015-11-19 Thread Thomas Monjalon
> > It fixes the compile issue on kernel version 2.6.32 or old ones. > > > > Error logs: > > lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: unknown field id > > specified in initializer > > lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: excess elements in struct > > initializer > > lib/lib

[dpdk-dev] [PATCH] kni: fix compile issue on different kernel versions

2015-11-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Helin Zhang > Sent: Monday, November 09, 2015 6:26 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] kni: fix compile issue on different kernel > versions > > It fixes the compile

[dpdk-dev] [PATCH] kni: fix compile issue on different kernel versions

2015-11-09 Thread Helin Zhang
It fixes the compile issue on kernel version 2.6.32 or old ones. Error logs: lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: unknown field id specified in initializer lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: excess elements in struct initializer lib/librte_eal/linuxapp/kni/kni_misc.

[dpdk-dev] [PATCH] kni: fix compile issue on different kernel versions

2015-11-09 Thread Cao, Waterman
Hi Haifeng, Can you verify helin's patch and acknowledge it if it works fine? Thanks Waterman -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Helin Zhang Sent: Monday, November 9, 2015 2:26 PM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH] kni: fix co