From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 02B79A034F; Tue, 12 Oct 2021 03:50:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91141410EA; Tue, 12 Oct 2021 03:50:56 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 62FDE410E5 for ; Tue, 12 Oct 2021 03:50:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="226913019" X-IronPort-AV: E=Sophos;i="5.85,366,1624345200"; d="scan'208";a="226913019" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 18:50:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,366,1624345200"; d="scan'208";a="658880505" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga005.jf.intel.com with ESMTP; 11 Oct 2021 18:50:49 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 11 Oct 2021 18:50:47 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 11 Oct 2021 18:50:46 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 11 Oct 2021 18:50:46 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.107) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 11 Oct 2021 18:50:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TtK99qzTglzuruJcknIamFeI0pDZQ3B7Z73BwEby/FMudRczTdD1L7F9akxh75VeclA3nwDfDul1wsYc151TcL7EQ7Gz4gl1Z3mdHGWQNoR/Qvf821ZUqVmoBSFdE7lI196Axdei19QNdMjEA6jHc8e2+rRaO7l30rE9ZsEAE71ycJW+WCzWFTzlTCJNB7zweBzCu/EgMmaATMk3GEYLJKhCY6Q6vN1xRoQ1OXv3EppafLsrYhvqn5zjOXGB5YEDl/4UUJClcqhGIlBJgu+WlXzxwwKYuTuufbCF3l4TilMJoNfBrdCL68bICtYt5eVwY0emoH+Q+5cA1jl+NFdCfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zWcSo9slXrQQriDJbuFdUT3h+gkKcCIej5bT1L5EWik=; b=F3bt/dxKbFqZS48Yk2oVTRFVqiTIsAOZx+Hb0MVsUI7Y9NtIqkkf5aYxKR5V+9PFs4qs7gEGmoZYsxP9CTWoh55oekNQcCuIepkh6FFWIJvkHLhZZ3qyuu3reGx2gYpzSNx9LMTiRPLZooDFlz0oSKRJUG/g6Bmyx83rcTY0TuLC5ZCA+I2LCgkl4vUa1Q/7OPEDK01r+h16CvgPqIBgOSuz588BX5ZDbfy8cz50XkKIWBueTcqzp6XpYnYnd8O9Zs0/liFy1iYgTNL2pLvHJYg+UJiBErz4aZKFdMWR1PBZzThKO9iEXpiNlIuGZpF7MduFuQ8dtYUMpmJ7y8stxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zWcSo9slXrQQriDJbuFdUT3h+gkKcCIej5bT1L5EWik=; b=RPRRPdCulSAAsIW8gjaeHiv9bAs3N7i9malaB3O/Rap/vuVfvLHfwteCi3onLEZG6BSejbdKlyo+0wF5IcigcG400YwWNQWNyukqn5YIH8D891wnD9CQz3At2Ff6ZzeZEDRsKSYewTNqm+7wmDFpPUL4cqw9dRbyBOxy8HtVMns= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM5PR11MB1819.namprd11.prod.outlook.com (2603:10b6:3:10a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Tue, 12 Oct 2021 01:50:44 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3%3]) with mapi id 15.20.4587.026; Tue, 12 Oct 2021 01:50:44 +0000 From: "Li, Xiaoyun" To: Andrew Rybchenko CC: "dev@dpdk.org" , Viacheslav Galaktionov , Andy Moreton , Xueming Li , Ajit Khaparde Thread-Topic: [PATCH v4] app/testpmd: add command to print representor info Thread-Index: AQHXvqF2QhhnwYkGBUi4TGEucj7yJavOmbUg Date: Tue, 12 Oct 2021 01:50:44 +0000 Message-ID: References: <20210827063935.1834143-1-andrew.rybchenko@oktetlabs.ru> <20211011130840.56591-1-andrew.rybchenko@oktetlabs.ru> In-Reply-To: <20211011130840.56591-1-andrew.rybchenko@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f6815ce7-e77c-4a91-dc82-08d98d22b463 x-ms-traffictypediagnostic: DM5PR11MB1819: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1201; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: buLhK5HnO7jRsB/NmWjKS+CCPi68ioYZ8vOhllSAjMilBk5ff9eXkLiqz67kyAxO1f4l9PPPia7B5KfUhsbK0ZGOw1FwiBiMRk5QI5KAcU4mbavGtBSgvJo2I1yVkmHl/PeE5krOBy961VffX4FADS059g1GyBJLAwVVg0cIcyEL79y9krBe5sGogLoHKcOiv1xdYxW6mEryuOTBYuo7xSXe65lgs4c+rm/xKwBvk4g9cwrn4iWHG8+GtecULw78jdMInI7rP3JTg0z01Phven88gzq1LCwcYiwmmmcDYAMwuZAVYIue5VBBBdey59XkGJadSORt+UI1t1PRgGmGkZCbF0noVAenMeUqQ+De4EiXrFuslGGLveOFLweC/UIvbbyYwpkvvdRnQhiCK8SDEJu5B1xjWTPt3qCm8z86IerZx6MZkuanp10PyEXZSihRs1x8/hEGa+Glkz1G3/m7/jSYaOPO2ASHdUvDUERppLFvT7ie37IMhEJhHKfHPirk1/prAZ5GaE2a0b7rdCNC6ogYpscnqugl4oRzgbYfBpnNgVbQGXx9K5PQZDp/yiBep9ypHzq3oXL8Bttd0Rt6rfYmKZvgcr51npP8TBundDy3qhIlshhG4RbmMuk3ogWvD2+6HJFL6IiOzuwtUUEGwnW2db0VTFRgCJ+82XVwK+4aiNxKwgKv4uso6NVQUqwkIcelQwEFDfpxS66R89lM+Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5534.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(26005)(7696005)(66946007)(55016002)(33656002)(4326008)(8676002)(8936002)(9686003)(76116006)(54906003)(316002)(38070700005)(86362001)(4744005)(66556008)(83380400001)(66446008)(66476007)(508600001)(2906002)(71200400001)(5660300002)(52536014)(6506007)(6916009)(122000001)(186003)(64756008)(53546011)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mqlxvf50eR+PX3HnQ25MegMA0qM5J8uQ8Xo2hsFCl48fYhSgCvEU/jsq9C3Q?= =?us-ascii?Q?9lw12KJh645MT7aLl66Bi3ULVVn6dr4TzYZI6Ac51P2RqPDSoGPx9txtvpqH?= =?us-ascii?Q?gAeoJPAJ6ByChW4jmc/YgNlpJzsOs9tQh7eSChTf1+ao06v3o7HuDT5Ny5dg?= =?us-ascii?Q?NNaFVuErvIurv+LOUxXkRdTT3bv6PEi7GVsWU/VniUPM15XkvjXVOFcDHszJ?= =?us-ascii?Q?fH2OzwXp+xSoPjR864qYU4/UC7vjNrJE7XYHIi2vPfQizmQ+HcIvPn9Ms8Ps?= =?us-ascii?Q?R2setz3F8LnsTna4gp8BfhV0hxVaD//zIdWPv4O8wEMJsWvadXGsG75ygQUj?= =?us-ascii?Q?GGruyB4CCq2Ov7MApKAtHze5vdFmjy9hmj1ewgsQchUYLpYBwvnhz95UyA8a?= =?us-ascii?Q?3szow3/AFM0PA/wAkS/vore+BJjtmRxtgQjqGvx9Ni7xpt/sbhOQmoV5JVeW?= =?us-ascii?Q?imQWrcCFA8OX4JeOSoUhDpbrqsfwmA3NH+xuZF1fFpq+3FCLsWNMHn8V2Vft?= =?us-ascii?Q?jY4zA0Hnfue1aMccFj1W1kGXUq/K3AyHh6WMn84zw51aG6yBVnk0j91My4py?= =?us-ascii?Q?KvGx+VUcFoZA4jxhimSh4m1CvaI4XxCvF46/vpoCJiskXvKu7x/x/zMPOies?= =?us-ascii?Q?DJk52xapEZ4sl3bLwQvJ0fb8g59inZeCgDpAihH7vgpqaCIF71EBaE4+uJci?= =?us-ascii?Q?ujZ/v6jWTv9AroQztpWXBG4QGd7d9GlXyCUMMEmVNDyk9d68HoKzntCotNCY?= =?us-ascii?Q?7zJoDVOX/jTvHunvWIGdKvaoRGgAbnbL+wWrjn7H8kyVtPQpwm9DXdKtGmux?= =?us-ascii?Q?g/tF9RiC7iT9+AeqCGfEbA+8mZysGP/wg7LUT6UHUBFnHfTrwcTTcPZzDzJ7?= =?us-ascii?Q?SiLm80waMdFeX6nRxSucfSQD10aHeirTyAHfURKdiZ3DuZLLnPWbUGQ77poZ?= =?us-ascii?Q?VXckfdq6ZOKQSqD1SAyuheBd94f8YbLK0xjSpsHG0Y8RAZl400/wu/RAXznz?= =?us-ascii?Q?0FDXdVn9j62K7H8jX7iNuKYzNBLXJCN+7ZzMWGxVXyQrX6f4d6Z6DCysZNjJ?= =?us-ascii?Q?3Gjc9i9eZmVXOy5gmTeDIOvD+sy7J8NwEpkOfAirEozasDSYGSZaCSHbfSbg?= =?us-ascii?Q?gjPoWByiIO9MCx7DOzYHfXLRA19lK49vcLYCG5UfelGNK8hpG0JWdezd5/3r?= =?us-ascii?Q?st7f1oLf8ENiMxp4aiaOjs6aNmqYJIid498oSNsufuWSjmJcH0HBs0tGMz59?= =?us-ascii?Q?yWTZqCp4MzG+tkheFV7FOjMyOxkSsAvOSLR6H9EIpuYV3p6RIATM8JGaoLQZ?= =?us-ascii?Q?Ak+Cb+MjE/LwlAyb4KV/ikxs?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6815ce7-e77c-4a91-dc82-08d98d22b463 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2021 01:50:44.3936 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: j0d9dcEx42lYLzopDT6V6w1IADao+Cfb3NRFaha6lDLrQdo3csK4sU8x7N1LzuTOu9Mmpz3cdsviwROst+1cBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1819 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4] app/testpmd: add command to print representor info X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Andrew Rybchenko > Sent: Monday, October 11, 2021 21:09 > To: Li, Xiaoyun > Cc: dev@dpdk.org; Viacheslav Galaktionov > ; Andy Moreton = ; > Xueming Li ; Ajit Khaparde > > Subject: [PATCH v4] app/testpmd: add command to print representor info >=20 > From: Viacheslav Galaktionov >=20 > Make it simpler to debug configurations and code related to the represent= or > info API. >=20 > Signed-off-by: Viacheslav Galaktionov > Signed-off-by: Andrew Rybchenko > Reviewed-by: Andy Moreton > Reviewed-by: Xueming(Steven) Li > Acked-by: Ajit Khaparde > --- > v4: > - apply review notes from Xiaoyun Li >=20 > v3: > - change command to "show port info (port_id) representor" >=20 > v2: > - change output format to log just one line per range >=20 > app/test-pmd/cmdline.c | 135 > +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 135 insertions(+) >=20 Acked-by: Xiaoyun Li