summaryrefslogtreecommitdiffstats
path: root/src/stateless/cp/trex_stream.cpp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-12-16 20:54:04 +0200
committerHanoh Haim <hhaim@cisco.com>2015-12-16 20:54:04 +0200
commit3f6e247e9ed29e9dbf61dffadfb2a86c2284987e (patch)
tree37d6f894ba5714fc261090f318959f076c1fe4ca /src/stateless/cp/trex_stream.cpp
parent9c225132ef8dcbb6dff9aa0221a5b76328a7f75f (diff)
add tuple gen command and yaml example
Diffstat (limited to 'src/stateless/cp/trex_stream.cpp')
-rw-r--r--src/stateless/cp/trex_stream.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stateless/cp/trex_stream.cpp b/src/stateless/cp/trex_stream.cpp
index 72e72c7c..02f43a3a 100644
--- a/src/stateless/cp/trex_stream.cpp
+++ b/src/stateless/cp/trex_stream.cpp
@@ -68,8 +68,11 @@ TrexStream::compile() {
m_vm.compile();
- m_vm_dp = m_vm.cloneAsVmDp();
+ #if 0
+ m_vm.Dump(stdout);
+ #endif
+ m_vm_dp = m_vm.cloneAsVmDp();
/* calc m_vm_prefix_size which is the size of the writable packet */
uint16_t max_pkt_offset = m_vm_dp->get_max_packet_update_offset();