diff options
author | imarom <imarom@cisco.com> | 2015-10-28 12:45:57 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2015-10-28 12:45:57 +0200 |
commit | cb8bc9bda11c951b8b91a635d8d4d6df8d5a0ab8 (patch) | |
tree | cf63a7ec23094b48bcf59e5c0d95aa6d6aeb4e26 /src/stub | |
parent | ea0b6efc3a41f425e46d81f4b6b8bbbf3238add1 (diff) |
support for multiple streams
Diffstat (limited to 'src/stub')
-rw-r--r-- | src/stub/trex_stateless_stub.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/stub/trex_stateless_stub.cpp b/src/stub/trex_stateless_stub.cpp index 8e8d4fa8..06a9e189 100644 --- a/src/stub/trex_stateless_stub.cpp +++ b/src/stub/trex_stateless_stub.cpp @@ -4,7 +4,17 @@ class CFlowGenListPerThread; class TrexStatelessCpToDpMsgBase; -TrexStatelessDpCore::TrexStatelessDpCore(unsigned char, CFlowGenListPerThread*) {} +TrexStatelessDpCore::TrexStatelessDpCore(unsigned char, CFlowGenListPerThread*) { + m_thread_id = 0; + m_core = NULL; + + m_state = STATE_IDLE; + + CMessagingManager * cp_dp = CMsgIns::Ins()->getCpDp(); + + m_ring_from_cp = cp_dp->getRingCpToDp(0); + m_ring_to_cp = cp_dp->getRingDpToCp(0); +} void TrexStatelessDpCore::start(){} |