[dpdk-dev] [PATCH] kni: fix compilation issue on kernel 4.0.0

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed Apr 29 17:05:26 CEST 2015


Hi Thomas,

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, April 29, 2015 2:20 PM
> To: De Lara Guarch, Pablo
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation issue on kernel 4.0.0
> 
> 2015-04-28 18:37, Pablo de Lara:
> > Due to API changes in function pointer ndo_bridge_setlink
> > (commit ad41faa8) and the rename of functions vlan_tx_*
> > (commit df8a39de) in kernel 4.0, DPDK would not build.
> >
> > This patch adds the properly checks to fix the compilation.
> >
> > Reported-by: Stephen Hemminger <stephen at networkplumber.org>
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> 
> Pablo, I have another error with Linux 3.19 when KNI vhost is enabled:
> 
> lib/librte_eal/linuxapp/kni/kni_vhost.c:365:35: error:
> ‘struct msghdr’ has no member named ‘msg_iov’

Thanks for reporting, I didn't see that. I will send a patch for that as soon as I can.

Pablo



More information about the dev mailing list