From: Zhihong Wang Date: Tue, 14 Jun 2016 23:08:06 +0000 (-0400) Subject: app/testpmd: show topology at forwarding start X-Git-Tag: spdx-start~6727 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=933617d87eed576b3626b92882bb178a0d0494f9;p=dpdk.git app/testpmd: show topology at forwarding start This patch show topology at forwarding start. "show config fwd" also does this, but showing it directly can reduce the possibility of misconfiguration. Currently fwd_config_display() calls fwd_config_setup(), this misleading behavior will be fixed in other patches. Signed-off-by: Zhihong Wang Acked-by: Pablo de Lara --- diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 901e664da8..8060c99802 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -1024,6 +1024,7 @@ start_packet_forwarding(int with_tx_first) flush_fwd_rx_queues(); fwd_config_setup(); + pkt_fwd_config_display(&cur_fwd_config); rxtx_config_display(); for (i = 0; i < cur_fwd_config.nb_fwd_ports; i++) {