Code Review
/
o-du
/
phy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Front Haul Interface Library update to third seed code contribution
[o-du/phy.git]
/
fhi_lib
/
lib
/
ethernet
/
ethdi.h
diff --git
a/fhi_lib/lib/ethernet/ethdi.h
b/fhi_lib/lib/ethernet/ethdi.h
index
e258ac0
..
d47dd76
100644
(file)
--- a/
fhi_lib/lib/ethernet/ethdi.h
+++ b/
fhi_lib/lib/ethernet/ethdi.h
@@
-35,6
+35,17
@@
extern "C" {
#include <rte_mbuf.h>
#include <rte_timer.h>
#include <rte_mbuf.h>
#include <rte_timer.h>
+/* comment this to enable PDUMP
+ * DPDK has to be compiled with
+ * CONFIG_RTE_LIBRTE_PMD_PCAP=y
+ * CONFIG_RTE_LIBRTE_PDUMP=y
+ */
+#undef RTE_LIBRTE_PDUMP
+
+#ifdef RTE_LIBRTE_PDUMP
+#include <rte_pdump.h>
+#endif
+
#include "ethernet.h"
#include "xran_fh_o_du.h"
#include "ethernet.h"
#include "xran_fh_o_du.h"