From 8e73c6bc8c715c655bad86cdd0eaa3d8a1e11ae8 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Sun, 1 Jan 2017 19:19:43 +0200 Subject: crash in case of stateless and link down Change-Id: I3c9902808e4e3c3174ad5ed5fa81bc70f1840f86 Signed-off-by: Yaroslav Brustinov --- src/main_dpdk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main_dpdk.cpp') 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() ){ -- cgit 1.2.3-korg