From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id AF4A41B299 for ; Mon, 30 Oct 2017 20:07:34 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2017 12:07:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,320,1505804400"; d="scan'208";a="169099300" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.241.225.254]) ([10.241.225.254]) by fmsmga005.fm.intel.com with ESMTP; 30 Oct 2017 12:07:06 -0700 From: Ferruh Yigit To: Gaetan Rivet , dev@dpdk.org Cc: Jerin Jacob References: <3195804eda227dde6bb6d80122b2af25e071e1c1.1509367736.git.gaetan.rivet@6wind.com> <8492fe4cf1a8d6f15d389c9148e4942f1d060a40.1509381300.git.gaetan.rivet@6wind.com> Message-ID: <938aa760-f957-62a7-792c-a97fece0a36c@intel.com> Date: Mon, 30 Oct 2017 12:07:05 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v3 1/2] bus/pci: fix vfio mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 19:07:35 -0000 On 10/30/2017 10:26 AM, Ferruh Yigit wrote: > On 10/30/2017 9:36 AM, Gaetan Rivet wrote: >> From: Jerin Jacob >> >> Revert back to using VFIO_PRESENT as a marker to enable compilation >> of VFIO-related segments. >> >> Fixes: 279b581c897d ("vfio: expose functions") >> >> Signed-off-by: Jerin Jacob >> Signed-off-by: Gaetan Rivet > > Tested-by: Ferruh Yigit Opps, this still will break the build with kernel < 3.6 Because rte_vfio.h includes "linux/vfio.h" unconditionally, I am still for adding a version check in it to fix build for old kernels.