From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0060.outbound.protection.outlook.com [104.47.42.60]) by dpdk.org (Postfix) with ESMTP id 882DE1BB16 for ; Sat, 28 Oct 2017 08:21:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=aMsA3eNtNIM7KTcPVfqmOs+UbB8lr8ogeV00hOqS6dU=; b=Tg2kifQoYD3UmoPl4FpfH0SFI2gLiZCt3kqI0oiLUDydH004hRZUxX5oOH4t6+kPGw/UkAXtSRNrBznMXgj4RyMFenNfX8gn14nzOf+r5+58Zw2xQ6/Y5+l1srlszRqE4gH2BxKQYF8jSJ+oCPwCDWTGF21HO5S3ogNOTUNlUhg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin.domain.name (111.93.218.67) by BN3PR07MB2514.namprd07.prod.outlook.com (10.167.4.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Sat, 28 Oct 2017 06:21:22 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, Jerin Jacob , Gaetan Rivet Date: Sat, 28 Oct 2017 11:50:52 +0530 Message-Id: <20171028062053.6615-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0023.INDPRD01.PROD.OUTLOOK.COM (10.174.214.161) To BN3PR07MB2514.namprd07.prod.outlook.com (10.167.4.139) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fc5d60bd-1e6a-4ec2-5a38-08d51dcc1d47 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(2017052603238); SRVR:BN3PR07MB2514; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 3:bmAuEkWDV7g3aXQdzKHfAdP2lzMPYysy9zBhhmKQbBnRu28qtHRQggpYrdkA3deCutiN3bJEoi51S4BIqZqn89+kjO3MmjYcKo4zTh8bJWqwwL+Y0IX04XW79PsVYwrZDuuLpCE0Sf6tHiYe02bEHCFDkIY1aExTUBXyFtFUU0Rf779nqzXq1OB2MlGzBHk/bMqpHSI+mKUSfoDbL3UXhrwnlp7y+DOFb4TanLbUgWFV1PtMd2LQQVo33P2uQoXl; 25:K0LV5R/SfPI//jkOp1pRgMhx158ESa+efTaJGyYFxjjWzNocI15tFMg4ws7nKJBiSLdA+zxtk23301Rgyx76lVL4407DBcUVctGAflQoUIWTFjLPWduZaoCYV0ViKpJvISsfdHmFW3qGToQ4bTU86dBRQpawLUX0xkTOdy5hc3kxoVX72w3w8JQvT5JX3STA/m3Q56Z/oKosuxyNK4uXNHkOBaQi0hO+5ll0bA9t9GYYDjrr5qym/ny5dxdBakBfzTRlnXWJQhraup2ThN90bnVAYIiZ2NhzDgfSXdTf2NEwPBVVzatOOpe+RLvLD7cnDLnHcJCs8nSzVMW9fO5ivQ==; 31:mT8pF0MrH0Os6dKrGhAxyTUWcFmLye8FtPO8HQz7wxmr5xa3UxSxW6ab0rUpMmwO91h4H443A8KYu0Q2dWaYCYbATl7i2zVSYif1+m30w9A/Y8bzqDomIdif2Gz/6Q6CSSI2Uw4Hxq0k6NgMJYr/GVm2dPA15AJKrYSPR7YzYx0HA9lGQhDPK62Zz19Ofp3sHxeK0WXaPsl0ZlSnMgHJigUQwFf7EL7ZH6yfZ1DR9e0= X-MS-TrafficTypeDiagnostic: BN3PR07MB2514: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 20:rt2krGuBusMLAoGm+/KcMdhT9ncMHsKWqnYouUxtFA79NPiUG5gCsW8m61ERDYnzs+2SJcG9WIJcO9xClIHY2XkPyvz1vo4CxNuh8GYN3IP9qABCtlAxJ8t+Vk3BfpT+XqLGiqOry3RgBNTvzWwVop2/WZKKewXae02kqahnZ/YAEZroj2fndJxln6+SZD0dD/T5yw9uaAE428HxC8mP0R91J2FYIMimBA3z0jJEMG84fzdO0Yi3nsObvUjGP4Az7AtRWMQmfopb0TnFlf6cV5gs6lVPFaSnG4EPQVNvVhnLLKYe9KaaPagdcrnG6SWSEhKnGgDR5iOPfeGXHsdp8Ve/wPVCOD5Pmyq8c+0FVjHM+lQjMwbTFLGJ166CghAEcONlAymnCn4HoNsouGBzsoOMl6Gixfj9Gg09BEuWnAaGdWMUc253oIj86DImIoeOBWSmUtRFtwb2l/NuTbqjdHYYTUe8EWwJat5ENtuyk/FC/OCM193O1Pe8YjBShAaUKCBnPR20P2pZrWrueSLXpjnvVU1QmPyi+AfZcTotb/O+l3WXEwsWiNntblD8JerC31H2/AR1md2HwxoPRRjDDH2Ji5EI9YPRMfAtvdM/Uwg=; 4:mzxy1us7Przo44jMvL5zk80tX7x+TRsL+UBR7YtpT4nG5QuZiNOVZJHvR1FpDtd5K3aIvLVFd79YJqcSiVQ2Jin0WceFuwqMpR04dVjO1a4VpQQ2PF5Rj+wc6COMixNeNPQBaCGLh8D2VnhKOh2tSmhvLyM/TAQOYGS+4Y9deXhTH9QUDfzc4y53M1DqflR00ofgeu7z4bCNb4RWleYsV9/BpKmGtub+SlkG9Ea2MNFzkwtaiDTSZ9wJ1RHABV+Tl/jc1H0BPrHq8G9PXT0f8A== X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(93006095)(3231020)(100000703101)(100105400095)(10201501046)(6041248)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2514; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2514; X-Forefront-PRVS: 04740D25F1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(39830400002)(346002)(199003)(189002)(105586002)(47776003)(42882006)(6916009)(4326008)(305945005)(6116002)(478600001)(7736002)(5003940100001)(189998001)(16586007)(316002)(1076002)(3846002)(53416004)(6506006)(6666003)(50226002)(68736007)(72206003)(25786009)(66066001)(106356001)(69596002)(33646002)(50986999)(5009440100003)(97736004)(2361001)(6512007)(5660300001)(6486002)(36756003)(50466002)(575784001)(48376002)(53936002)(8936002)(81156014)(16526018)(54906003)(101416001)(8676002)(2906002)(81166006)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2514; H:jerin.domain.name; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2514; 23:P9qM98m+KJ6orJAc2cTyayz4u9HxL3/Aqlt2dsXNm?= =?us-ascii?Q?maDc0dF0+06qQmgUIR4Bg9kntM8DjSLjRKLerLMeGaQErY0s5IfEtITpQlCc?= =?us-ascii?Q?aB3sA4zrEuIIndjFDM/WBKxsbOoGhsTIx7AIkt+O77Fzw+iP3NMrgGFtnW3s?= =?us-ascii?Q?aaLEU+V3Qfnu1QrRtYSJXNSAVczOrDa5JQ73EVCnVPfyYFFkwtIqIxRLZ0OQ?= =?us-ascii?Q?Wlza1QtRBMK1/rJDm7gHaiXL+foMt3ZzfPg1ymY3DpcgetsCVgTFSiAQwReX?= =?us-ascii?Q?JVr91qbJtHx49FN2qkObeF/RI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agnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2017 06:21:22.6104 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc5d60bd-1e6a-4ec2-5a38-08d51dcc1d47 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2514 Subject: [dpdk-dev] [PATCH] 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: Sat, 28 Oct 2017 06:21:27 -0000 The definition of VFIO_PRESENT is "eal_vfio.h", Fail to include eal_vfio.h will result in disabling vfio. Fixes: 279b581c897d ("vfio: expose functions") Cc: Gaetan Rivet Signed-off-by: Jerin Jacob --- drivers/bus/pci/linux/pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c index cdf810693..d0ce0207a 100644 --- a/drivers/bus/pci/linux/pci.c +++ b/drivers/bus/pci/linux/pci.c @@ -46,6 +46,7 @@ #include "eal_private.h" #include "eal_filesystem.h" +#include "eal_vfio.h" #include "private.h" #include "pci_init.h" -- 2.14.3