summaryrefslogtreecommitdiffstats
path: root/src/rpc-server/commands
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-10-08 17:39:51 +0200
committerimarom <imarom@cisco.com>2015-10-08 17:39:51 +0200
commitd7af282dc1cd629c251a937c9aa88a9a5a47030b (patch)
tree87649c01f9f65bfd9acfbafa61f2f7ca901b6c64 /src/rpc-server/commands
parentd56d0665470dd3c8959c8945162df13827b9d4c6 (diff)
first integration with DPDK layer
Diffstat (limited to 'src/rpc-server/commands')
-rw-r--r--src/rpc-server/commands/trex_rpc_cmd_general.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc-server/commands/trex_rpc_cmd_general.cpp b/src/rpc-server/commands/trex_rpc_cmd_general.cpp
index b440fa81..ae87d749 100644
--- a/src/rpc-server/commands/trex_rpc_cmd_general.cpp
+++ b/src/rpc-server/commands/trex_rpc_cmd_general.cpp
@@ -155,7 +155,7 @@ TrexRpcCmdGetSysInfo::_run(const Json::Value &params, Json::Value &result) {
section["uptime"] = TrexRpcServer::get_server_uptime();
/* FIXME: core count */
- section["dp_core_count"] = 1;
+ section["dp_core_count"] = instance.get_dp_core_count();
section["core_type"] = get_cpu_model();
/* ports */