From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=v9Zbls2YfKNBDOi4AGPCEzMal/gnBSyDRZox2pB4lY0=; b=XfQtOGSAY0o4Og6kekIm8IrVHY1HGoVtRxLacaX9AQdAoaG2tp2G+lOHDb97weeaKu scCdsAx9L/8GFSTN92RpYdv2GqBAQYksbnzK19ZS4jLlAAtPgUGkX1nje2WKsF7KmvMT /wznmEem1LZ482FZRzWlXCOXwZM5dkWCiTF1sMF4CqhVxDva5enN2zP6G9boT248vbxQ o42fg4w1pzfLF878HxNzvC+hRfGUjTA2KD331dPcMerZBPEQCJMJh9u9iLR/gIcuMnPw T6W3Nk8tmNIXecmVa5uITQoCptwiX3ehJqvJtmPjHKZIFXWfbogts/g1VLji5w74jOTt EmZw== X-Gm-Message-State: ALoCoQmDTLP22iSKTmWpsd/UxjSV9drjSr9pnFZXMknfPv6fBo+I8KJgUdw5RM2t/j5BacI1PlBJ X-Received: by 10.70.130.3 with SMTP id oa3mr36071367pdb.51.1436484378222; Thu, 09 Jul 2015 16:26:18 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id ky17sm583659pab.31.2015.07.09.16.26.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 16:26:17 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Thu, 9 Jul 2015 16:26:25 -0700 Message-Id: <1436484387-29273-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH v2 0/2] vfio: build cleanups X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 23:26:19 -0000 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