]> git.droids-corp.org - dpdk.git/blobdiff - lib/vhost/rte_vdpa.h
net/bnxt: fix null dereference in session cleanup
[dpdk.git] / lib / vhost / rte_vdpa.h
index 1437f400bf8d175ffb4b7097b425893f36ffb536..6ac85d1bbfd8d24f9990c882712c55503e1dcd98 100644 (file)
@@ -5,6 +5,10 @@
 #ifndef _RTE_VDPA_H_
 #define _RTE_VDPA_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @file
  *
@@ -183,4 +187,9 @@ rte_vdpa_get_stats(struct rte_vdpa_device *dev, uint16_t qid,
  */
 int
 rte_vdpa_reset_stats(struct rte_vdpa_device *dev, uint16_t qid);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _RTE_VDPA_H_ */