summaryrefslogtreecommitdiffstats
path: root/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-05-08 13:50:57 +0300
committerHanoh Haim <hhaim@cisco.com>2016-05-08 13:50:57 +0300
commitc2912dfc5ad81e2edcf77b7ee992f92216ed0bad (patch)
tree4676234974ed4de8c804047b2e4463b893518932 /src/rpc-server/commands/trex_rpc_cmd_stream.cpp
parentf27bfbab72f9221b221a7f36f4063e9ff8e9d307 (diff)
add cache capability to stateless node object
Diffstat (limited to 'src/rpc-server/commands/trex_rpc_cmd_stream.cpp')
-rw-r--r--src/rpc-server/commands/trex_rpc_cmd_stream.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
index 40719325..54e35d4e 100644
--- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
+++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
@@ -60,6 +60,7 @@ TrexRpcCmdAddStream::_run(const Json::Value &params, Json::Value &result) {
stream->m_flags = parse_int(section, "flags", result);
stream->m_action_count = parse_uint16(section, "action_count", result);
stream->m_random_seed = parse_uint32(section, "random_seed", result,0); /* default is zero */
+ stream->m_cache_size = parse_uint16(section, "cache", result,0); /* default is zero */
/* inter stream gap */
stream->m_isg_usec = parse_double(section, "isg", result);