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/dpaa2: fix getting link status
[dpdk.git]
/
drivers
/
net
/
i40e
/
rte_pmd_i40e.h
diff --git
a/drivers/net/i40e/rte_pmd_i40e.h
b/drivers/net/i40e/rte_pmd_i40e.h
index
fc3560c
..
4cb21c3
100644
(file)
--- a/
drivers/net/i40e/rte_pmd_i40e.h
+++ b/
drivers/net/i40e/rte_pmd_i40e.h
@@
-14,6
+14,10
@@
*
*/
*
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <rte_compat.h>
#include <rte_ethdev.h>
#include <rte_ether.h>
#include <rte_compat.h>
#include <rte_ethdev.h>
#include <rte_ether.h>
@@
-1130,4
+1134,8
@@
__rte_experimental
int
rte_pmd_i40e_set_switch_dev(uint16_t port_id, struct rte_eth_dev *switch_dev);
int
rte_pmd_i40e_set_switch_dev(uint16_t port_id, struct rte_eth_dev *switch_dev);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _PMD_I40E_H_ */
#endif /* _PMD_I40E_H_ */