diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-02-15 14:19:03 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-02-15 14:19:03 +0200 |
commit | f6901ca1f2cca419eeba2e1a35a38fe06a6650be (patch) | |
tree | aa998cd7f1005cc3efa192cc88c38b7d5dfcb650 /src/stateless/dp/trex_stream_node.h | |
parent | 1f60016f591ebd2e260e501c8c5da10c11d0c7ad (diff) |
add support for dp mac replace mode-golden were changed
Diffstat (limited to 'src/stateless/dp/trex_stream_node.h')
-rw-r--r-- | src/stateless/dp/trex_stream_node.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stateless/dp/trex_stream_node.h b/src/stateless/dp/trex_stream_node.h index dfa4cc13..db7f19e8 100644 --- a/src/stateless/dp/trex_stream_node.h +++ b/src/stateless/dp/trex_stream_node.h @@ -81,8 +81,8 @@ private: void * m_cache_mbuf; double m_next_time_offset; /* in sec */ - double m_ibg_sec; /* inter burst time in sec */ - + uint32_t m_pad11; + uint32_t m_pad12; stream_state_t m_state; uint8_t m_port_id; @@ -167,7 +167,7 @@ public: } inline double get_multi_ibg_sec(){ - return (m_ibg_sec); + return (usec_to_sec(m_ref_stream_info->m_ibg_usec)); } inline uint32_t get_multi_burst_cnt(){ @@ -222,7 +222,7 @@ public: } }else{ - m_time += m_ibg_sec; + m_time += get_multi_ibg_sec(); m_single_burst = m_single_burst_refill; thread->m_node_gen.m_p_queue.push( (CGenNode *)this); } |