git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e1d6bd
)
app/testpmd: stop forwarding on exit
author
Bernard Iremonger
<bernard.iremonger@intel.com>
Tue, 14 Jun 2016 15:35:42 +0000
(16:35 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 08:20:29 +0000
(10:20 +0200)
Stop forwarding on exit whether all ports are started or not.
Fixes:
ce8d561418d4
("app/testpmd: add port configuration settings")
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/testpmd.c
patch
|
blob
|
history
diff --git
a/app/test-pmd/testpmd.c
b/app/test-pmd/testpmd.c
index
29947fd
..
60be416
100644
(file)
--- 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;