From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 1F8B7FFA for ; Mon, 30 Apr 2018 16:06:46 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id o15-v6so8162254wro.11 for ; Mon, 30 Apr 2018 07:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=e0iipjSPFSt7tAGJe6bjHZpgbjhgTVw0QsKPbL3tFw4=; b=qG0cLH8SIX3ctaCBNWRuAZpx/dT6jsZWmlL7dCTuoBSTI3taD2LkY4lJD3DcEC9WxA tC8MImrK+t0te+bmJWyd5n6RybHFr6yXqkdZEG1P44nXaOPHDZI/z1mx1MaNDiw03stm h5JPqOovm+n1jlFC/rCNuvjL/nyestInIFs6+pyOnDbgS1lpj40WsiX5HGg1LnHeDKgg sBZy4nQb7YKEpJIo1Eh8xdO3DIdLyMeogck4X/64vKwUF7GTUs2F7q9RkYorXhQxANdV fJvNQwKLAUqdMtFVvSepiWdp//55eJm2eHaz9IHH3Pc//YhbyppnVJAcHW4At5f+Jv1h R+DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=e0iipjSPFSt7tAGJe6bjHZpgbjhgTVw0QsKPbL3tFw4=; b=YGQHZPOqgutERMDJwNwThnTcUrvHHKalBuSEIl4cePDRQn+ejBfjej7SOPfanyuU1k voBNvc7ZI6bC4QPGiJaOCxn/mgBijnJGVZLYisRYpaMG7yoWl9seybUh+Bn0NNffQm9R YhVCu2xxdxcZYP63xHT1BVrwRJcPVyeZrNGI7ndkJA1wunUr6KZkEy25HBedDxezdl6L TU3taI5/wWeDP1nHrYavIeDUdqaEuRIw13jHqNzZ3aSoep4tb/Fi0edfu0clyZHFts/c sC/2qr91Ko1ss1s1fq8FlmVoVYrvPZWYwylY6nPAN+dqlMCuhg7vrOpYOjjr12AHqHxE /3Vw== X-Gm-Message-State: ALQs6tDXeVX42VoLp+YTZYVoaoeUHJYERDWm6ylW+QUKVCgYORmZCgrE /TUfOrweoddway+rH8F76s15H1csWUI= X-Google-Smtp-Source: AB8JxZorGQ9hmmUoi/+U0tQo1TpPxcRFkKY1XRhaCp5d3WOziqBIJ7irKt7riCWiS+X/oITvK3sOYw== X-Received: by 2002:adf:a556:: with SMTP id j22-v6mr10013332wrb.155.1525097205122; Mon, 30 Apr 2018 07:06:45 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id g105-v6sm12569168wrd.45.2018.04.30.07.06.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:06:44 -0700 (PDT) From: luca.boccassi@gmail.com To: Anatoly Burakov Cc: dpdk stable Date: Mon, 30 Apr 2018 15:02:50 +0100 Message-Id: <20180430140606.4615-12-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'vfio: fix headers for C++ support' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:06:47 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 22676814d79abfe2615c0525d804162c100b0086 Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Thu, 22 Feb 2018 17:13:59 +0000 Subject: [PATCH] vfio: fix headers for C++ support [ upstream commit 4fc90035af09806aeeff2b79bada258c8ee91a05 ] Fixes: 279b581c897d ("vfio: expose functions") Signed-off-by: Anatoly Burakov --- lib/librte_eal/common/include/rte_vfio.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/common/include/rte_vfio.h b/lib/librte_eal/common/include/rte_vfio.h index e981a6228..249095e46 100644 --- a/lib/librte_eal/common/include/rte_vfio.h +++ b/lib/librte_eal/common/include/rte_vfio.h @@ -28,6 +28,10 @@ #define VFIO_NOIOMMU_MODE \ "/sys/module/vfio/parameters/enable_unsafe_noiommu_mode" +#ifdef __cplusplus +extern "C" { +#endif + /** * Setup vfio_cfg for the device identified by its address. * It discovers the configured I/O MMU groups or sets a new one for the device. @@ -123,6 +127,10 @@ int rte_vfio_noiommu_is_enabled(void); int rte_vfio_clear_group(int vfio_group_fd); +#ifdef __cplusplus +} +#endif + #endif /* VFIO_PRESENT */ #endif /* _RTE_VFIO_H_ */ -- 2.14.2