[dpdk-dev] [PATCH 0/2] kni: fix build with kernel 4.1

Miguel Bernal Marin miguel.bernal.marin at linux.intel.com
Thu Jun 25 21:09:38 CEST 2015


Due to API changes in netdevice.h in 4.1 kernel release, KNI modules
would not build.  This patch set adds the properly checks to fix
compilation.

Miguel Bernal Marin (2):
  kni: fix igb_ndo_bridge_getlink in 4.1
  kni: fix header_ops in 4.1

 lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 10 ++++++++++
 lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h  |  5 +++++
 lib/librte_eal/linuxapp/kni/kni_net.c              |  4 ++++
 3 files changed, 19 insertions(+)

-- 
2.3.3



More information about the dev mailing list