* [dpdk-dev] [PATCH] vfio: fix headers to include C++ support
@ 2018-02-22 17:13 Anatoly Burakov
2018-03-21 17:49 ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Anatoly Burakov @ 2018-02-22 17:13 UTC (permalink / raw)
To: dev; +Cc: gaetan.rivet, stable
Fixes: 279b581c897d ("vfio: expose functions")
Cc: gaetan.rivet@6wind.com
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
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 e981a62..249095e 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.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH] vfio: fix headers to include C++ support
2018-02-22 17:13 [dpdk-dev] [PATCH] vfio: fix headers to include C++ support Anatoly Burakov
@ 2018-03-21 17:49 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2018-03-21 17:49 UTC (permalink / raw)
To: Anatoly Burakov; +Cc: stable, dev, gaetan.rivet
22/02/2018 18:13, Anatoly Burakov:
> Fixes: 279b581c897d ("vfio: expose functions")
> Cc: gaetan.rivet@6wind.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-21 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22 17:13 [dpdk-dev] [PATCH] vfio: fix headers to include C++ support Anatoly Burakov
2018-03-21 17:49 ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).