Skip to content

build fixes for recent distros

Thomas Monjalon dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesIn review
  2. v14 patches 6 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kni: fix build with kernel 3.8lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h+25 -32 replies
2/4kni: fix build with kernel 3.9lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h+32 -190 replies
3/4kni: fix build with kernel 3.10lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h +3 more+79 -300 replies
4/4app: fix build with gcc 4.8app/test/test_cmdline_string.c+1 -22 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDavid NyströmNicolas Dichtel
1/4T-b A-b
2/4T-b A-b
3/4T-b A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] build fixes for recent distros

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(-)