From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B34EC1B602 for ; Wed, 10 Oct 2018 15:30:38 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2018 06:30:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,364,1534834800"; d="scan'208";a="271175504" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga006.fm.intel.com with ESMTP; 10 Oct 2018 06:30:23 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.56]) by IRSMSX152.ger.corp.intel.com ([169.254.6.110]) with mapi id 14.03.0319.002; Wed, 10 Oct 2018 14:30:23 +0100 From: "Iremonger, Bernard" To: "Yigit, Ferruh" , "Lu, Wenzhuo" , "Wu, Jingjing" CC: "dev@dpdk.org" Thread-Topic: [PATCH] app/testpmd: display devargs in port info output Thread-Index: AQHUYIX+QpwLRzoUQUi5I1nab9uBSKUYeW9Q Date: Wed, 10 Oct 2018 13:30:22 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D10171@IRSMSX107.ger.corp.intel.com> References: <20181010114222.74519-1-ferruh.yigit@intel.com> In-Reply-To: <20181010114222.74519-1-ferruh.yigit@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTA2MmQwOTgtM2UwZi00ZWUwLTliYTQtOTYwNzA4NmNlMzdmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTXBVZ0p6bjIrXC94ZXBLOENjM2ZEaytYbk9NRFwvVDgwbHlWVnVtT0dkZkVpV0VGNkZ5ZkpZZE5oRDRIdXM3VklwIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: display devargs in port info output 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: Wed, 10 Oct 2018 13:30:39 -0000 > -----Original Message----- > From: Yigit, Ferruh > Sent: Wednesday, October 10, 2018 12:42 PM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard > Cc: dev@dpdk.org; Yigit, Ferruh > Subject: [PATCH] app/testpmd: display devargs in port info output >=20 > Devargs may affect how device works but currently we don't have a way to > observe provided devargs. >=20 > Add ability to print device argument as part of port info, >=20 > For example, for "--vdev net_pcap0,iface=3Dlo" output will be >=20 > " > ********************* Infos for port 1 ********************* MAC > address: 02:70:63:61:70:00 Device name: net_pcap0 Driver name: net_pcap > Devargs: iface=3Dlo > .... > " >=20 > or for "-w0000:86:00.1,queue-num-per-vf=3D8", >=20 > " > ********************* Infos for port 0 ********************* MAC > address: 3C:FD:FE:AB:B4:41 Device name: 0000:86:00.1 Driver name: net_i40= e > Devargs: queue-num-per-vf=3D8 > .... > " >=20 > `Devargs` line may not be printed at all if devargs is not provided for t= hat device. >=20 > Signed-off-by: Ferruh Yigit Acked-by: Bernard Iremonger