[dpdk-stable] Fwd: [dpdk-dev] [PATCH] kni: fix build with kernel 4.9

Yuanhan Liu yuanhan.liu at linux.intel.com
Tue Oct 18 15:15:45 CEST 2016


On Tue, Oct 18, 2016 at 07:42:02AM +0200, Christian Ehrhardt wrote:
> Hi,
> would you consider that as a stable patch as well?
> 
> It is not strictly a feature, but not strictly a fix either.
> Never the less I would expect it to be worth to be included in the stable
> release - so FYI to stable list.

Thanks. I think I could make it in 16.07.2 release.

	--yliu
> 
> 
> ---------- Forwarded message ----------
> From: Ferruh Yigit <ferruh.yigit at intel.com>
> Date: Mon, Oct 17, 2016 at 12:23 PM
> Subject: [dpdk-dev] [PATCH] kni: fix build with kernel 4.9
> To: dev at dpdk.org
> Cc: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> 
> compile error:
>   CC [M]  .../lib/librte_eal/linuxapp/kni/igb_main.o
> .../lib/librte_eal/linuxapp/kni/igb_main.c:2317:21:
> error: initialization from incompatible pointer type
>         [-Werror=incompatible-pointer-types]
>   .ndo_set_vf_vlan = igb_ndo_set_vf_vlan,
>                      ^~~~~~~~~~~~~~~~~~~
> 
> Linux kernel 4.9 updates API for ndo_set_vf_vlan:
> Linux: 79aab093a0b5 ("net: Update API for VF vlan protocol 802.1ad support")
> 
> Use new API for Linux kernels >= 4.9
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> [...]


More information about the stable mailing list