From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 765B04CBD for ; Thu, 26 Apr 2018 02:16:17 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2018 17:16:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,328,1520924400"; d="scan'208";a="37088660" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga006.jf.intel.com with ESMTP; 25 Apr 2018 17:16:13 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 25 Apr 2018 17:16:13 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.6]) with mapi id 14.03.0319.002; Thu, 26 Apr 2018 08:16:11 +0800 From: "Zhang, Qi Z" To: "Yigit, Ferruh" , "Lu, Wenzhuo" , "Wu, Jingjing" CC: "dev@dpdk.org" Thread-Topic: [PATCH] app/testpmd: update start log to be less verbose Thread-Index: AQHT3J/lMTclliA5/kC+OOUH6WTWoaQSKrug Date: Thu, 26 Apr 2018 00:16:11 +0000 Message-ID: <039ED4275CED7440929022BC67E70611531A893C@SHSMSX103.ccr.corp.intel.com> References: <20180425141509.160899-1-ferruh.yigit@intel.com> In-Reply-To: <20180425141509.160899-1-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTJiOTMxMjYtMWU3NS00Mzk5LTlhMjktNzBjMDdmODQ0ZGYwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJKQ2xMVjk1NzJSWTRHXC9DaU1USWFJZWRwZnRUbjB1bmRKOWx5NVplaUlkd0syUW9TY0VObEw0Q0lKMnJISEVORyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: update start log to be less verbose X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 00:16:18 -0000 > -----Original Message----- > From: Yigit, Ferruh > Sent: Wednesday, April 25, 2018 10:15 PM > To: Lu, Wenzhuo ; Wu, Jingjing > > Cc: dev@dpdk.org; Yigit, Ferruh ; Zhang, Qi Z > > Subject: [PATCH] app/testpmd: update start log to be less verbose >=20 > A per port per queue log is too verbose with multiple port/queue log is > longer than full screen, make it less verbose: > - Reduced log to only first queue of the port, as a sample > - Merged a few lines > - Indent queue logs for readability >=20 > The log becomes as following after update: >=20 > testpmd> start tx_first > io packet forwarding - ports=3D2 - cores=3D1 - streams=3D8 - NUMA support= enabled, > MP over anonymous pages disabled Logical Core 1 (socket 0) forwards > packets on 8 streams: > RX P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) peer=3D02:00:00:= 00:00:01 > RX P=3D0/Q=3D1 (socket 0) -> TX P=3D1/Q=3D1 (socket 0) peer=3D02:00:00:= 00:00:01 > RX P=3D0/Q=3D2 (socket 0) -> TX P=3D1/Q=3D2 (socket 0) peer=3D02:00:00:= 00:00:01 > RX P=3D0/Q=3D3 (socket 0) -> TX P=3D1/Q=3D3 (socket 0) peer=3D02:00:00:= 00:00:01 > RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) peer=3D02:00:00:= 00:00:00 > RX P=3D1/Q=3D1 (socket 0) -> TX P=3D0/Q=3D1 (socket 0) peer=3D02:00:00:= 00:00:00 > RX P=3D1/Q=3D2 (socket 0) -> TX P=3D0/Q=3D2 (socket 0) peer=3D02:00:00:= 00:00:00 > RX P=3D1/Q=3D3 (socket 0) -> TX P=3D0/Q=3D3 (socket 0) peer=3D02:00:00:= 00:00:00 >=20 > io packet forwarding packets/burst=3D32 > nb forwarding cores=3D1 - nb forwarding ports=3D2 > port 0: RX queue number: 4 Tx queue number: 4 > Rx offloads=3D0x1000 Tx offloads=3D0x0 > RX queue: 0 > RX desc=3D0 - RX free threshold=3D32 > RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 > RX Offloads=3D0x1000 > TX queue: 0 > TX desc=3D0 - TX free threshold=3D32 > TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 > TX RS bit threshold=3D32 > TX offloads=3D0x0 > port 1: RX queue number: 4 Tx queue number: 4 > Rx offloads=3D0x1000 Tx offloads=3D0x0 > RX queue: 0 > RX desc=3D0 - RX free threshold=3D32 > RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 > RX Offloads=3D0x1000 > TX queue: 0 > TX desc=3D0 - TX free threshold=3D32 > TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 > TX RS bit threshold=3D32 > TX offloads=3D0x0 >=20 > Fixes: 266f28b91e34 ("app/testpmd: enable per queue configure") > Cc: qi.z.zhang@intel.com >=20 > Signed-off-by: Ferruh Yigit > --- >=20 > Hi Qi, >=20 > If you are agree with the patch I can squash into original patch. OK >=20 > btw, desc numbers are zero, "TX desc=3D0","RX desc=3D0", is this correct? Yes, since the default value of nb_rxd and nb_txd is 0 which mean let devic= e take its default value. The patch keep rxtx_config_display just print the configure parameters but = not real device configure as before. But maybe "TX desc=3Ddefault" is better for readable? Regards Qi