git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: add C++ include guard to public header
[dpdk.git]
/
drivers
/
net
/
mlx5
/
rte_pmd_mlx5.h
diff --git
a/drivers/net/mlx5/rte_pmd_mlx5.h
b/drivers/net/mlx5/rte_pmd_mlx5.h
index
e531e52
..
fc37a38
100644
(file)
--- a/
drivers/net/mlx5/rte_pmd_mlx5.h
+++ b/
drivers/net/mlx5/rte_pmd_mlx5.h
@@
-13,6
+13,10
@@
* dynamic flags.
*/
* dynamic flags.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define RTE_PMD_MLX5_FINE_GRANULARITY_INLINE "mlx5_fine_granularity_inline"
/**
#define RTE_PMD_MLX5_FINE_GRANULARITY_INLINE "mlx5_fine_granularity_inline"
/**
@@
-57,4
+61,8
@@
int rte_pmd_mlx5_get_dyn_flag_names(char *names[], unsigned int n);
__rte_experimental
int rte_pmd_mlx5_sync_flow(uint16_t port_id, uint32_t domains);
__rte_experimental
int rte_pmd_mlx5_sync_flow(uint16_t port_id, uint32_t domains);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif