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 8C9D242D7E; Wed, 28 Jun 2023 11:55:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 668C7406B3; Wed, 28 Jun 2023 11:55:02 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2047.outbound.protection.outlook.com [40.107.220.47]) by mails.dpdk.org (Postfix) with ESMTP id 868F5400EF for ; Wed, 28 Jun 2023 11:55:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T5gPPQGfG5eISUsfnSZ16TwRL9MpS1cpGzwI+n5mdkJD2QYL1Az7FxesHir78rVgwmujJqgHnMOOQ9w+mIcl4swDYP1DA8y+rIkBebA3xEdMVdb+lzEM0qiQc/LiTHVT0R6V5KhSoPgeTDsI1HMIAX1TWCTR7ixl4PVhNMqmglpV0mwc6o20/WFyt4zOVpyRZE/vR+U33xsUstDVEnMNnczCPv3H5oZ41dtnzqOC85FQLW4LeXzxQEXfN2CTfGgxEKKnVamzehWHI/Ek/Q5ToYAdyh0fgFujlqiwIsI5kBpwAR9MHMxpfkQRn121dTLYfmHBLxsEytBFXHWEt/kqRg== 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=m1CTdHj3HzPikZEoSupb0yNjC6aZOQV0Lus56FDJcug=; b=jpibsd6BAv3k4pD15fpw3Lm3J758paVRVtOKeRuq4AJg0ZlAWlfzT3Onf0E+454uGs5+NE2dAOptr0BzM3jXbYdXe3S5hLewab6SXdekZb77APCyGAn2Z48rQCVgTHlbepWmbzvm2y0L9HCk9qlVlteF9kx7P8mdYqRsllJjmv0kfkoyQIMa70dGr5NFfRjn+Hyln6xPfoljTUnMWqVAku2Xy/H/iBLBqPphMtRNqKmoFaG/QXH4vpELHvwRtpAtr4BKdqdYjI9ZYwQqPHlMyK2T3mas8OBdJcm4EsQKURDcLYwrRRjFr+NhpEkcedvCYHPkYqo0rYy9yREWDNvxzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m1CTdHj3HzPikZEoSupb0yNjC6aZOQV0Lus56FDJcug=; b=pwQCgrEiHym2PAXP4uzhNM93lr5OiA0nmOpUj2/uMXKAS5987QmXUgcnQNY3RoR6GU3NifiFaW3tu4Nulj45quMXczPKCjlmZuIwz/P88Y076D9KtbU2Ky4RSOtIaxZcPFrlCDOscCB//C0KEly2dm1Zk5aaFYg7JF+HSxlvYmgO8bBY709zMUKecwDHet70RMa9FWPOwpUJjihm4hLUA9aXbdRc7k3ZgCqRwe4GQbwlpqncm9IDM3WN0Q9tHYmYMg6URxLWUzeDnn57FpsDsNROQOCdSsXMYG4Onc/Ji4zcADAOGxLSgQOE3r0DvPkgv596RRcsuj0W6pkqYYrUnA== Received: from BN8PR04CA0034.namprd04.prod.outlook.com (2603:10b6:408:70::47) by DS7PR12MB8371.namprd12.prod.outlook.com (2603:10b6:8:e9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Wed, 28 Jun 2023 09:54:58 +0000 Received: from BN8NAM11FT046.eop-nam11.prod.protection.outlook.com (2603:10b6:408:70:cafe::75) by BN8PR04CA0034.outlook.office365.com (2603:10b6:408:70::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.37 via Frontend Transport; Wed, 28 Jun 2023 09:54:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN8NAM11FT046.mail.protection.outlook.com (10.13.177.127) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.48 via Frontend Transport; Wed, 28 Jun 2023 09:54:57 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Wed, 28 Jun 2023 02:54:44 -0700 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Wed, 28 Jun 2023 02:54:43 -0700 From: Viacheslav Ovsiienko To: CC: Subject: [PATCH v2] app/testpmd: add dump command help message Date: Wed, 28 Jun 2023 12:54:29 +0300 Message-ID: <20230628095429.21090-1-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20d2748d-34b8-31ed-7072-684b98af10e2@amd.com> References: <20d2748d-34b8-31ed-7072-684b98af10e2@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT046:EE_|DS7PR12MB8371:EE_ X-MS-Office365-Filtering-Correlation-Id: 43c257c6-b2f8-48a8-5ee9-08db77bdbb7a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Tk72KkzFsdMm9BxYG6UrLSF40U6uix0dP/awDJopOqonS3Buw8aqDXgI6zUR94oifBEkxMF8rK4D+bn92Q2WbKjlOKnbcVLsG7g5kd2NoOKWzMjjWsIj4JlVQVQHvssczdXN8rGEysWMS/CYEAE100jfCome5xxDHn/7UWQ4hg0vxGpDDemfqM+vSrjp1fLOneXZhBIt0zLEE8ZW4NfB4sCPaoQJmFE6/9lIAqUpRo5kPPHSVQDT9WTw8IFp6FYV85SAH3iwbjr+eyRDc2rzDGqYTjshUlTIGnKCcGeoMypAI+qCEHo4DHETesOinp4rsVqSHepwLib5eXmRbuZNtc/SjmSJgsdhUVfBVMkCdMgsA6GNJ3ONPQWILrrqztfKcN/tthh7DXDiJj/OFu3b6wNm4dQHHsldFxndtY0FOUr3qidElNn6dd/nUWlLZtKazEk1v1vNUuzKq+yqzUiOiJaLA34xUDpNhcLyHipZg67VpaFE9vQ9/M6OPuqfuhEpSUtgKH8sCzCy1LT792Kxku+x/eY8+8yUR2hxCrGNRBt8gryGlIWB4bZZILC61qrMsgQ8eHWlZGiLNByMrGzz1Cmtof/HJhR9qohb3n4ht231Sk77BsucePsdZWSsVo86ehhhQfM3WQeUA0C8JCZSPDRPOvSnEO5eO8M+lvmCKD0g/j++eHm81Flb4t/1kJdnBvYT6uRtfX5pGwiVuUTuulKqvK4OA+mfmiou2BlHX4xauYQXbtcnpNj3YLKA2bOZ X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(396003)(39860400002)(136003)(376002)(346002)(451199021)(46966006)(40470700004)(36840700001)(5660300002)(15650500001)(4326008)(6916009)(70206006)(478600001)(36756003)(316002)(70586007)(8936002)(8676002)(2906002)(40460700003)(55016003)(36860700001)(41300700001)(82310400005)(186003)(7696005)(40480700001)(336012)(86362001)(26005)(16526019)(47076005)(6666004)(426003)(6286002)(356005)(1076003)(2616005)(7636003)(82740400003)(83380400001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2023 09:54:57.8907 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 43c257c6-b2f8-48a8-5ee9-08db77bdbb7a X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT046.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8371 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 There was missing "dump_xxxxx" commands help message. Patch updates "help display" section of the help message. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline.c | 68 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 18e6e19497..9853fd3069 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -255,6 +255,36 @@ static void cmd_help_long_parsed(void *parsed_result, "show port (port_id) flow_ctrl" " Show flow control info of a port.\n\n" + + "dump_physmem\n" + " Dumps all physical memory segment layouts\n\n" + + "dump_socket_mem\n" + " Dumps the memory usage of all sockets\n\n" + + "dump_memzone\n" + " Dumps the layout of all memory zones\n\n" + + "dump_struct_sizes\n" + " Dumps the size of all memory structures\n\n" + + "dump_ring\n" + " Dumps the status of all or specific element in DPDK rings\n\n" + + "dump_mempool\n" + " Dumps the statistics of all or specific memory pool\n\n" + + "dump_devargs\n" + " Dumps the user device list\n\n" + + "dump_lcores\n" + " Dumps the logical cores list\n\n" + + "dump_trace\n" + " Dumps the tracing data to the folder according to the current EAL settings\n\n" + + "dump_log_types\n" + " Dumps the log level for all the dpdk modules\n\n" ); } @@ -982,6 +1012,44 @@ static void cmd_help_long_parsed(void *parsed_result, ); } + if (show_all || !strcmp(res->section, "dump")) { + cmdline_printf( + cl, + "\n" + "Dump Commands:\n" + "--------------\n" + "dump_physmem\n" + " Dumps all physical memory segment layouts\n\n" + + "dump_socket_mem\n" + " Dumps the memory usage of all sockets\n\n" + + "dump_memzone\n" + " Dumps the layout of all memory zones\n\n" + + "dump_struct_sizes\n" + " Dumps the size of all memory structures\n\n" + + "dump_ring\n" + " Dumps the status of all or specific element in DPDK rings\n\n" + + "dump_mempool\n" + " Dumps the statistics of all or specific memory pool\n\n" + + "dump_devargs\n" + " Dumps the user device list\n\n" + + "dump_lcores\n" + " Dumps the logical cores list\n\n" + + "dump_trace\n" + " Dumps the tracing data to the folder according to the current EAL settings\n\n" + + "dump_log_types\n" + " Dumps the log level for all the dpdk modules\n\n" + ); + } + if (show_all || !strcmp(res->section, "devices")) { cmdline_printf( cl, -- 2.18.1