[dpdk-dev] [PATCH v2 0/4] build fixes for recent distros

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Sep 13 16:14:26 CEST 2013


KNI is an out-of-tree kernel driver, so it needs some updates
to follow recent API changes in Linux.

There is also a patch to build with latest GCC.

v2 changes:
* for kernel 3.8
  - undef HAVE_HW_TIME_STAMP instead of removing code
* for gcc 4.8
  - use strncmp instead of strncmp

---

Thomas Monjalon (4):
  kni: fix build with kernel 3.8
  kni: fix build with kernel 3.9
  kni: fix build with kernel 3.10
  app: fix build with gcc 4.8

 app/test/test_cmdline_string.c                     |    3 +-
 lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h      |    5 +-
 lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c |   47 ++++++++++++------
 lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h  |   49 ++++++++++++++++++-
 lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h  |    6 +--
 .../linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c     |   14 +++---
 .../linuxapp/kni/ethtool/ixgbe/ixgbe_main.c        |   16 +++---
 .../linuxapp/kni/ethtool/ixgbe/kcompat.h           |   51 ++++++++++++++------
 8 files changed, 137 insertions(+), 54 deletions(-)


More information about the dev mailing list