summaryrefslogtreecommitdiffstats
path: root/src/main_dpdk.cpp
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2017-01-01 19:19:43 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2017-01-01 19:19:43 +0200
commit8e73c6bc8c715c655bad86cdd0eaa3d8a1e11ae8 (patch)
tree7c522f61b78a7474209c54e84d08c9944560acd9 /src/main_dpdk.cpp
parentaf3168dacc9550d0d951a959c2462a3afbbc3af3 (diff)
crash in case of stateless and link down
Change-Id: I3c9902808e4e3c3174ad5ed5fa81bc70f1840f86 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'src/main_dpdk.cpp')
-rw-r--r--src/main_dpdk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index 4e921954..1f0f993f 100644
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -3739,7 +3739,7 @@ int CGlobalTRex::ixgbe_start(void){
/* wait for ports to be stable */
get_ex_drv()->wait_for_stable_link();
- if ( !is_all_links_are_up(true) /*&& !get_is_stateless()*/ ){ // disable start with link down for now
+ if ( !is_all_links_are_up() /*&& !get_is_stateless()*/ ){ // disable start with link down for now
/* temporary solution for trex-192 issue, solve the case for X710/XL710, will work for both Statless and Stateful */
if ( get_ex_drv()->drop_packets_incase_of_linkdown() ){