Skip to content

vfio: build cleanups

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 7 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfio: fix build if build envrionment is on old kernellib/librte_eal/linuxapp/eal/compat_vfio.h lib/librte_eal/linuxapp/eal/eal_vfio.h+188 -67 replies
2/2vfio: don't build unnecessary fileslib/librte_eal/linuxapp/eal/Makefile lib/librte_eal/linuxapp/eal/eal_pci_vfio.c lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c+2 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] vfio: build cleanups

In our environment we build on old system (2.6.32) but want to have VFIO enabled. This was the best solution after many different experiments. There was an earlier discussion and the solution proposed then was significantly different.

Stephen Hemminger (2):
vfio: fix build if build envrionment is on old kernel
vfio: don't build unnecessary files

 lib/librte_eal/linuxapp/eal/Makefile               |   4 +-
 lib/librte_eal/linuxapp/eal/compat_vfio.h          | 181 +++++++++++++++++++++
 lib/librte_eal/linuxapp/eal/eal_pci_vfio.c         |   3 -
 lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c |   3 -
 lib/librte_eal/linuxapp/eal/eal_vfio.h             |  13 +-
 5 files changed, 190 insertions(+), 14 deletions(-)
 create mode 100644 lib/librte_eal/linuxapp/eal/compat_vfio.h
Signature · 1 line
2.1.4