From: Yaroslav Brustinov Date: Sun, 1 Jan 2017 17:19:43 +0000 (+0200) Subject: crash in case of stateless and link down X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=8e73c6bc8c715c655bad86cdd0eaa3d8a1e11ae8;p=trex.git crash in case of stateless and link down Change-Id: I3c9902808e4e3c3174ad5ed5fa81bc70f1840f86 Signed-off-by: Yaroslav Brustinov --- 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() ){