From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH v2 0/2] vfio: build cleanups Date: Thu, 9 Jul 2015 16:26:25 -0700 Message-ID: <1436484387-29273-1-git-send-email-stephen@networkplumber.org> To: dev@dpdk.org Return-path: Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by dpdk.org (Postfix) with ESMTP id DFAA25A6D for ; Fri, 10 Jul 2015 01:26:18 +0200 (CEST) Received: by pdjr16 with SMTP id r16so11789106pdj.3 for ; Thu, 09 Jul 2015 16:26:18 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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