diff options
author | imarom <imarom@cisco.com> | 2016-05-09 14:25:21 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-05-09 16:48:16 +0300 |
commit | c4e6748cedf1f9f3a3c1916c96c4f044561b075b (patch) | |
tree | cc4a3f77bd6bc3127af9587eef765f9b11ff0cd9 /src/stateless/dp/trex_stateless_dp_core.cpp | |
parent | db9145d248720c633dd4da6c785e071198986326 (diff) |
PCAP remote code review fixes
Diffstat (limited to 'src/stateless/dp/trex_stateless_dp_core.cpp')
-rw-r--r-- | src/stateless/dp/trex_stateless_dp_core.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/stateless/dp/trex_stateless_dp_core.cpp b/src/stateless/dp/trex_stateless_dp_core.cpp index dff5285d..1a730e66 100644 --- a/src/stateless/dp/trex_stateless_dp_core.cpp +++ b/src/stateless/dp/trex_stateless_dp_core.cpp @@ -946,19 +946,9 @@ TrexStatelessDpCore::stop_traffic(uint8_t port_id, TrexStatelessDpPerPort * lp_port = get_port_db(port_id); if ( lp_port->stop_traffic(port_id,stop_on_id,event_id) == false){ - /* nothing to do ! already stopped */ - //printf(" skip .. %f\n",m_core->m_cur_time_sec); return; } - /* inform the control plane we stopped - this might be a async stop - (streams ended) - */ - #if 0 - if ( are_all_ports_idle() ) { - /* just a place holder if we will need to do somthing in that case */ - } - #endif CNodeRing *ring = CMsgIns::Ins()->getCpDp()->getRingDpToCp(m_core->m_thread_id); TrexStatelessDpToCpMsgBase *event_msg = new TrexDpPortEventMsg(m_core->m_thread_id, |