numam-dpdk/kernel/linux
Dan Gora 4005ad2556 kni: fix build on CentOS 7.4
Fix compilation errors on Centos 7.4 when CONFIG_RTE_KNI_KMOD_ETHTOOL
is set to 'y'.

Centos 7.4 needs HAVE_NDO_BRIDGE_GETLINK_FILTER_MASK_VLAN_FILL:

igb_main.c: In function ‘igb_ndo_bridge_getlink’:
igb_main.c:2289:2: error: too few arguments to function
                   ‘ndo_dflt_bridge_getlink’
  return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode, 0, 0, nlflags);
  ^

Centos 7.4 needs HAVE_VF_VLAN_PROTO and needs to redefine
ndo_set_vf_vlan to .extended.ndo_set_vf_vlan:

igb_main.c:2318:2: error: unknown field ‘ndo_set_vf_vlan’ specified
                   in initializer
  .ndo_set_vf_vlan = igb_ndo_set_vf_vlan,
  ^

Signed-off-by: Dan Gora <dg@adax.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-05-22 22:28:48 +02:00
..
igb_uio kernel: fix cross-build of Linux modules with meson 2018-05-08 22:21:38 +02:00
kni kni: fix build on CentOS 7.4 2018-05-22 22:28:48 +02:00
Makefile move kernel modules directories 2018-03-21 23:04:21 +01:00
meson.build kernel: fix cross-build of Linux modules with meson 2018-05-08 22:21:38 +02:00