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

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Apr 29 15:19:51 CEST 2015


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’


More information about the dev mailing list