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 B904A439FD; Mon, 29 Jan 2024 12:55:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 595BC402C2; Mon, 29 Jan 2024 12:55:29 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2054.outbound.protection.outlook.com [40.107.96.54]) by mails.dpdk.org (Postfix) with ESMTP id 00C904029A for ; Mon, 29 Jan 2024 12:55:26 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NbtmqlO7Mh7Y/+/2wksdL8O1JiTrGqHH0QjFYFohgdoG8Q9hAg2lGNHzk3iodhc5miTl53fiE5KKr74Mu8XRS+nQINzr8TQhmhtgMFNQALsJCyW58fPxPSGXI8jvbpTIefAJ1Jpiul6zSlEz8dbffdi26drgNxS8QpausGW5+OZDu0d6gxMCjSwyi0lh/sswaOrisfra3MnSWWD66Wz6sfLgfpfKTe+awZNhn9AGHgCpYIEnNOnpoo09CrJW7e+Af+zIEyJRriKI3rq4tBcrvHBoVK14nxjc+zeW3boQLBUZP539XKiIrq8KGbGds+K6/3Y1bN6Be6DcJ/CD4wmSSg== 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=V0BnayAlqpyD84lEPGNfG+4s89ZVmHRGrPpi+r0aKhM=; b=ahbT4006YCViAQlihzBLw+ULar9FtCZVlIAlVV2PU9NylfGYIyOgxzOFpOHJtom/NcWYq/9kuTOk0cXHzu2hk9aasLf8VQUnc4DwywxntXH6iPtl9vsjjWZxgjFT5goTfW+S+BhQxy1l7fL4ywg1IqNgL4RmR8rK6+DEuiLx0RWGvDSOrKHSP+SNEZVVSrapZTjj0U5b53AYRha67P6t6wqbia+LkCgqDug8dnSiU9uqAjV/2seXsvJypnGe/QAz+Sc/HzVLXIFxn+FmuQpOo+XeKs4pVUq4X/IbUDJBlseSTtBPGvlFEgF0ZQWv2JJmIGilq7ar5opls14Ir4tQ3A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V0BnayAlqpyD84lEPGNfG+4s89ZVmHRGrPpi+r0aKhM=; b=z6o2kk/Q2ag00Sgo0O3Dre6FAc7mknxLxSlIeHxR/WlSImxt8wro0oiCAgTL0KbBgZY2+3mNjtxoXUDqOikLm6wz+TD5nCP6SeOCscSJHrUBLOJckp43AM3AgTwJDUWkwlnRICKZ5blPfk/xMkglHQrEFdHDCZt6uP9dAfWAK1w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SJ0PR12MB6968.namprd12.prod.outlook.com (2603:10b6:a03:47b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.32; Mon, 29 Jan 2024 11:55:24 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f%4]) with mapi id 15.20.7228.029; Mon, 29 Jan 2024 11:55:24 +0000 Message-ID: Date: Mon, 29 Jan 2024 11:55:19 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [EXT] Re: [PATCH] app/testpmd: add command to get Tx queue used count Content-Language: en-US To: Satha Koteswara Rao Kottidi , fengchengwen , Aman Singh , Yuying Zhang Cc: "dev@dpdk.org" , Jerin Jacob References: <1706098726-27359-1-git-send-email-skoteshwar@marvell.com> <2cdbe198-a099-c188-5984-fe839f4d0ddf@huawei.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEB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sS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: ZR0P278CA0036.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:1c::23) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ0PR12MB6968:EE_ X-MS-Office365-Filtering-Correlation-Id: 08de4eeb-95a6-467c-d9bd-08dc20c12d84 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xzwcjkrYYSWfFXGDNwwVKBsn4h4+0hatmsDESLyKctUgQ/isVweBFeHFB09bONM+W6XeQL3OQ6paA6Jzn9lLiY7CT+A0ZJ79bsIlu0jB8gCPTd8IpU1Tyb7/ml7O8FEAjKSDMoCry4RF2ndUACp3BH2aNuEL1uNm1ERAhW8g8WNwcHfqOz/L5NMUmnYYeEgv6uVmAHCTH+vLijBzLlaZa2XvjsmwBPlEeQnDrNjBLkJ+TQgUUhduHLzJxkvg1Dvvh/FcTW995z/zl5/NNSVyKGpi50FR8KCk6zcYZFPGgG4A9PhgVg0eNMoEZXN+r2484B02gu6DT8Fk6k9tbA0VW5vrZ5avCG6cyaLrllBrhXbGQ/k19Drmoq810/eY9/iSIG3nmrM9b8EEVLPenebx5nyaZHb4YDaxbZFfwuJxwz0xt1u6/rtdZPeZT+RlST39gVQ45DKX+lAE0lnMi0OAfGgyB3xR6u6cwzjGqIucPqqwj5TyPrixPkIR4vMvz/y+emxXnlmiPl/GExnyHza3vu/SiQVE852OOVCVu3gWCi89SNMVC5YcmKb7kAvQWV1rnBFIyfH6icLiARelMZTZJNpqtrOlUm97xojKjuaGbOOqeJn32mEGmt3ryDbc18osiaLuHHGZtkMFQpX0AqH1edgN6QOZCycw5lQWwNhWGyw= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(366004)(396003)(376002)(39860400002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(41300700001)(31696002)(478600001)(6666004)(2616005)(53546011)(6506007)(6512007)(6486002)(86362001)(38100700002)(44832011)(2906002)(5660300002)(66946007)(66476007)(316002)(66556008)(54906003)(8936002)(4326008)(110136005)(8676002)(31686004)(83380400001)(26005)(36756003)(21314003)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QkdEUVdzUW84cHZlV2VqZTB2OXZDS1dreTRJWnJ1Y3Q4dy93MURtdWVUMEpU?= =?utf-8?B?UFVuNXhNOXdvVm5ERkFKektaVFZ5ODl2WjN6d3FpSENwMDR6OUFYWmZmTTZT?= =?utf-8?B?dEljTjdlUFVNdDBlZ0hTcTNqNGlBMEVWS0lycWk1c3NsZGJxUUk1WGs2L2RL?= =?utf-8?B?Q0FaajlBbDgxdEtDejlIL1ZDKyt5RkNFVjdqbUFiRFNselMza2lwczB0L3M4?= =?utf-8?B?akJWMTdhYmFUT3VYREVEVEtieVI5cDRYZkZobkJpRnE1L09qQ3BiYWRrKzho?= =?utf-8?B?clBLM003KytaN1lTK09HRjBDd3l6OGpRcHBVYUpGVzNkVjdkNTFKaFBIMnJz?= =?utf-8?B?Q05NQUQ1WU5SdkczcXluTUZVNnFkd3ZSbm5vOTV2MFJzNXFVRVdsSlBUWWd1?= =?utf-8?B?TFIzVmJpOGZjMUVrVUNpOUQ1azRBUXdpakRUM05HYk5FeUpibzZBOEw3c214?= =?utf-8?B?Uk1neE5Ra1diNDdES2Zad3Z0dEpKWkhLckxSRktPMEt1R2pVTzNUSUNudHB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FFMaU1YYmhOUEZJMVk5Z0c3Um9UNm0yU0Nh?= =?utf-8?B?dmxQNnFRaWl0OE1vL2J0QjdPY0NSUWpEUW5MWEpuM3NTT2J5Q0w4ZCtmV2Z4?= =?utf-8?B?V1Z3Z1RPdWsxU3dNTFN6N1JDa1d3cUtFRlEwaGp0WHRXdGtIbXhkUVpudksv?= =?utf-8?B?Ty91VzZCbStqUFR1TmI2RHJZcmRqZjVnRUpqU0xvMXZkUUFpckE4WXkzdzRn?= =?utf-8?B?OVQ4RXNBMUI1bDNSc3BRUUpGd2VXNlhUWUF5eldUbFNoL1hvVG1hSlNYQ1FM?= =?utf-8?B?dUdOS2tmS0c5b2RXM3VTaFJyaUlKc29nYmF2aU5qWGhTdURKU1hMcXd5QzdP?= =?utf-8?B?eVBqVHNxRElQU2RmTEVMdlVqMUtTSHUyWG1pVjJWTDRpdVB5Q0Z2VGgyN2VB?= =?utf-8?B?UCs3RncrVCt4MEZxRUY1OTZ0Uzc1SW5obWFGdDB2SDJRMjBIVVV4MFc5RTVL?= =?utf-8?B?RFcrYllYN1l0cGpFaVpxZFBZTTUxOGlZZU1hT05CTlVhZ3dscGZKYW9LbHQ1?= =?utf-8?B?aUoyb1JPWDFUc3dkZWlnUVJCbUVzdVBVTVMySVpETVF6YXlJNGZmbS80aW9N?= =?utf-8?B?UzNEWkR1MXg0ZjVnQVVVQnc1OXdDcU9PY1VYZkNJUFh4dzZ4amZSK2NpK3N1?= =?utf-8?B?dzY0NVF1VG1paWpYcG5CeFNwbHhRRXVYZklVeGVnN2FkOUhNNDE2UmRGMGZ0?= =?utf-8?Q?uwk8=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08de4eeb-95a6-467c-d9bd-08dc20c12d84 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2024 11:55:24.6507 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Qt1M3pq4MxpLVneiEFxsdtSa1v8vtnPYMgDDzHHzCFTz2QzQKUoLG14r8DpJpDjv X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6968 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 On 1/29/2024 6:37 AM, Satha Koteswara Rao Kottidi wrote: >> >> ---------------------------------------------------------------------- >> Please doc this command in doc/guides/testpmd_app_ug/testpmd_funcs.rst >> > > Thanks, will update in next version > >> >> Also why not extend "show port rxq xxx" command to support txq ? > > txq and rxq are different directions, so extended "show port " command to support txq similar to rxq command. Could you please give more details if I missed something here. > There is an existing "show port rxq desc used count" command, which is for Rx. As you are adding support for Tx, instead of adding it as a new command, existing 'cmd_show_rx_queue_desc_used_count_parsed()' can be extended to support both Rx and Tx. You can check 'cmd_show_rx_tx_desc_status_parsed()' as sample. This also helps to have a unified syntax for Rx and Tx, as your version is slightly diverging from the Rx one. And please update 'cmd_help_long_parsed()' help string with relevant change.