From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 43FA1C50A for ; Thu, 16 Jun 2016 13:15:35 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 16 Jun 2016 04:15:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,480,1459839600"; d="scan'208";a="1003181214" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by fmsmga002.fm.intel.com with ESMTP; 16 Jun 2016 04:15:25 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.183]) by IRSMSX106.ger.corp.intel.com ([169.254.8.145]) with mapi id 14.03.0248.002; Thu, 16 Jun 2016 12:09:51 +0100 From: "De Lara Guarch, Pablo" To: "Wang, Zhihong" , "dev@dpdk.org" CC: "Ananyev, Konstantin" , "Richardson, Bruce" , "thomas.monjalon@6wind.com" Thread-Topic: [PATCH v3 5/5] testpmd: show topology at forwarding start Thread-Index: AQHRxs0XZsAn7Tt040eD/wS6i6RoP5/r8VEg Date: Thu, 16 Jun 2016 11:09:51 +0000 Message-ID: References: <1462488421-118990-1-git-send-email-zhihong.wang@intel.com> <1465945686-142094-1-git-send-email-zhihong.wang@intel.com> <1465945686-142094-6-git-send-email-zhihong.wang@intel.com> In-Reply-To: <1465945686-142094-6-git-send-email-zhihong.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzI2ZDU2YWYtMjVhNC00NjQwLWE0ODYtMDBkMDUyOWNlNzc5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InVSK0pUM2JESkpIcXN4U1wvTHFQYWI4SWdNMkh0U005SGFubStFVjIwRTFJPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 5/5] testpmd: show topology at forwarding start X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 11:15:35 -0000 > -----Original Message----- > From: Wang, Zhihong > Sent: Wednesday, June 15, 2016 12:08 AM > To: dev@dpdk.org > Cc: Ananyev, Konstantin; Richardson, Bruce; De Lara Guarch, Pablo; > thomas.monjalon@6wind.com; Wang, Zhihong > Subject: [PATCH v3 5/5] testpmd: show topology at forwarding start >=20 > This patch show topology at forwarding start. >=20 > "show config fwd" also does this, but showing it directly can reduce the > possibility of misconfiguration. >=20 > Currently fwd_config_display() calls fwd_config_setup(), this misleading > behavior will be fixed in other patches. >=20 >=20 > Signed-off-by: Zhihong Wang > Acked-by: Pablo de Lara > --- > app/test-pmd/testpmd.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c > index 74b044e..50dddbe 100644 > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -1016,6 +1016,7 @@ start_packet_forwarding(int with_tx_first) > flush_fwd_rx_queues(); >=20 > fwd_config_setup(); > + fwd_config_display(); > rxtx_config_display(); >=20 > for (i =3D 0; i < cur_fwd_config.nb_fwd_ports; i++) { > -- > 2.5.0 Already acked this, but note that fwd_config_display() has been renamed to = pkt_fwd_config_display(). Thomas, can you make that change when merging this? Thanks, Pablo