summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main_dpdk.cpp2
-rw-r--r--src/stateless/cp/trex_stateless.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index adf460d7..1e206f27 100644
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -677,7 +677,7 @@ static int usage(){
printf(" \n");
printf(" -k [sec] : run latency test before starting the test. it will wait for x sec sending packet and x sec after that \n");
printf(" \n");
- printf(" -w [sec] : wait between init of interfaces and sending traffic,\n");
+ printf(" -w [sec] : wait between init of interfaces and sending traffic, default is 1\n");
printf(" \n");
printf(" --cfg [platform_yaml] : load and configure platform using this file see example in cfg/cfg_examplexx.yaml file \n");
diff --git a/src/stateless/cp/trex_stateless.cpp b/src/stateless/cp/trex_stateless.cpp
index 698ede90..8633897e 100644
--- a/src/stateless/cp/trex_stateless.cpp
+++ b/src/stateless/cp/trex_stateless.cpp
@@ -54,7 +54,11 @@ TrexStateless::TrexStateless(const TrexStatelessCfg &cfg) {
m_publisher = cfg.m_publisher;
/* API core version */
- m_api_classes[APIClass::API_CLASS_TYPE_CORE].init(APIClass::API_CLASS_TYPE_CORE, 1, 2);
+ const int API_VER_MAJOR = 1;
+ const int API_VER_MINOR = 3;
+ m_api_classes[APIClass::API_CLASS_TYPE_CORE].init(APIClass::API_CLASS_TYPE_CORE,
+ API_VER_MAJOR,
+ API_VER_MINOR);
}
/**