> -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Tuesday, June 14, 2016 11:13 PM > To: Wang, Zhihong <zhihong.wang at intel.com>; dev at dpdk.org > Cc: Ananyev, Konstantin <konstantin.ananyev at intel.com>; Richardson, Bruce > <bruce.richardson at intel.com>; thomas.monjalon at 6wind.com > Subject: RE: [PATCH v2 5/5] testpmd: show topology at forwarding start > > > Hi Zhihong, > > > -----Original Message----- > > From: Wang, Zhihong > > Sent: Wednesday, June 01, 2016 4:28 AM > > To: dev at dpdk.org > > Cc: Ananyev, Konstantin; Richardson, Bruce; De Lara Guarch, Pablo; > > thomas.monjalon at 6wind.com; Wang, Zhihong > > Subject: [PATCH v2 5/5] 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. > > > > > > Signed-off-by: Zhihong Wang <zhihong.wang at intel.com> > [...] > > > diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c > > index 9b1d99c..b946034 100644 > > --- a/app/test-pmd/testpmd.c > > +++ b/app/test-pmd/testpmd.c > > @@ -1009,7 +1009,7 @@ start_packet_forwarding(int with_tx_first) > > if(!no_flush_rx) > > flush_fwd_rx_queues(); > > > > - fwd_config_setup(); > > + fwd_config_setup_display(); > > Bernard has made a patch that separates the display and setup of the > configuration, > (http://dpdk.org/dev/patchwork/patch/13650/) > so fwd_config_display() does not call fwd_config_setup() anymore. > > Could you modify this patch, so you call fwd_config_setup() and > fwd_config_display()?
Thanks for the info! I've updated this patch with a v3. Could you please help review? > > Sorry for the confusion, > Pablo > > > rxtx_config_display(); > > > > for (i = 0; i < cur_fwd_config.nb_fwd_ports; i++) {