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

-- 
2.1.4

Reply via email to