numam-dpdk/lib/librte_eal/linuxapp
Ferruh Yigit 6445198f80 kni: fix build with kernel 4.9
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@intel.com>
Tested-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2016-10-25 16:20:43 +02:00
..
eal log: respect logger configured before EAL init 2016-10-13 22:13:18 +02:00
igb_uio igb_uio: fix possible mmap failure with Linux 4.5 2016-07-10 15:56:54 +02:00
kni kni: fix build with kernel 4.9 2016-10-25 16:20:43 +02:00
xen_dom0 config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
Makefile config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00