From: Bernard Iremonger Date: Tue, 14 Jun 2016 15:35:42 +0000 (+0100) Subject: app/testpmd: stop forwarding on exit X-Git-Tag: spdx-start~6732 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d76c19309a0b789d0f43e911db11c3ba3095819d;p=dpdk.git app/testpmd: stop forwarding on exit Stop forwarding on exit whether all ports are started or not. Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings") Signed-off-by: Bernard Iremonger Acked-by: Pablo de Lara --- diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 29947fd634..60be4164f8 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -1089,10 +1089,6 @@ stop_packet_forwarding(void) #endif static const char *acc_stats_border = "+++++++++++++++"; - if (all_ports_started() == 0) { - printf("Not all ports were started\n"); - return; - } if (test_done) { printf("Packet forwarding not started\n"); return;