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 5FAF743A2D; Wed, 7 Feb 2024 19:30:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 46C9F4027D; Wed, 7 Feb 2024 19:30:42 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2065.outbound.protection.outlook.com [40.107.244.65]) by mails.dpdk.org (Postfix) with ESMTP id D1B244026E for ; Wed, 7 Feb 2024 19:30:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ED+J3kCuQhesZ5Qz+/8islCSHBKC0QpuDNEA+8gJCVXXAB7H0kIkiv0JGr6DLzBS9Ku+ojy1wI2fNPvUhNCpnmnJ2QUhFMbMUEgmu2EoTZQkCpOOkUPpNL1/h58sEpbUWDZiPjFV2/lWf9q7QWXwHzmZAWTcfy/qvqxaz9FfJm0OjgdK8+g85MtmqE2p7T6v1JBMbYiFkJvc9CMrszmRGjggCdj0deiy8bDxIMyr1mfSlazxcuYcnhc2qShJc+KYkPxirCGN2MF3Fa+mA/G5VUl2jpp6rduK6DK2/WmuhWQSf+PPt3MdUg8zlms04MF+6mPC1Gko5zBtQrtMwfnUtA== 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=IO5fzXJ5bHNo43Iiga3ugG8EAp8CUJqzVMQTz2LrTVQ=; b=JNDVQCnNeNuE0vozIP/RFg5vwmWUNVQPqSoPbpzhV8xsmwrWE5nORP5X1gYVYef8jcGu/SF7woMf6H2IXrYNZ9+n7i0p62ojY7QyXLeA1pnvK/guX5p5eS3H5JmJMN6khDXnHplaZF8fi3CIxIhipCpI4PsezT5D72zGzIRq24FvQfY5ZhQMX8gcg/OL/4p+Gy60QkUqGeumyXQxcHXOegA1k+Stn4Y2IoIGzNJiC4bdmKT6xhIr+8EGShuOfJZ53fyIPWdptCejYTx6CTpbryNwUP3F8CO6J6kx+WGJukMg3jwrV+ZnWGxvFFc7GRVWgOMotMLkS9tZQ1aR5b8hcg== 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=IO5fzXJ5bHNo43Iiga3ugG8EAp8CUJqzVMQTz2LrTVQ=; b=SZHaBPOQIanAkhs6pFcQ+EE5Iapdl1o/jmyO+zbiYuZfVzhQvw2W0H3s2Rp3uvtQC1uk+1mAIgnXf+842pECQo6/W0IfWXMl2fLsBKOyyGTCp1ycbhvjhyEeNaJz0EIPq5N/oZdavr5DmygSQeWh2DlYZtKjubeDGmsOPsqIGRU= 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 CH3PR12MB9122.namprd12.prod.outlook.com (2603:10b6:610:196::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.14; Wed, 7 Feb 2024 18:30:38 +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.7270.016; Wed, 7 Feb 2024 18:30:38 +0000 Message-ID: Date: Wed, 7 Feb 2024 18:30:36 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] app/testpmd: command to get descriptor used count Content-Language: en-US To: skoteshwar@marvell.com, Aman Singh , Yuying Zhang Cc: dev@dpdk.org, jerinj@marvell.com References: <1706795562-7099-1-git-send-email-skoteshwar@marvell.com> <1707325500-10188-1-git-send-email-skoteshwar@marvell.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/6BQJkdyE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7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <1707325500-10188-1-git-send-email-skoteshwar@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO6P265CA0030.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ff::20) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CH3PR12MB9122:EE_ X-MS-Office365-Filtering-Correlation-Id: b3a7377e-6938-440c-d66a-08dc280ae19b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qMuNb3VAk5d27zR1Wl/dd+7G17l891yAXOnq2QLDIrqjU1OIJ/0mKSyLRvrq6ZbLcSQsNllqwrxZ0hUBjf5ljSyuus83uE9Bzca4wYClhEE1A2CXlm1tbQxeWI92APDxg+dVekpU+4qi6ZHRuqjJiqK+pZKngrixr6zOK+xP8me4Ly4KYc8Kct62Oh3htHHkDRXFh467q3ATemRYo9uvZkemNogrXy2p+0BSYro5yXKbfmigE4cbqwxik1RvwvgCdWPHKFMUylSe3gKdGWeHXEnpRQ5xW/fyPO+HpENlvN23Q+Ty1uz3skVmn36mMJCMtP2ky1EOUDC9X1sYuaMrx0tnvpY//PM8bRhKBnHffXVBVXmJ50hFSdZCTmB0uzY4YgIbN5q+sjHByMIu+oHh3LVDlYoKoZ+yoHd2pE/dIA0LMkINzBvy0jsGVSuPTPlR2517hBTSB1DTbZixMP538PekBPSDGHZw10JwUfdAxLjPpFw1hTrMfN8knIrPqwzLVRy430erQYB2Xg975KNW66YlQJ7k+5Dtlg5hjXYV2jOA3fsiuUa9e0a4bMt/RM+tqmrn/O6ZrwR7o2u8UKaQvJ8KEUGhCsGWY2S5tQViEsFsoEMUpI65cvlKWMUjar956d1p1WotkYtT9EN2nxVtbw== 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)(39860400002)(346002)(366004)(376002)(396003)(136003)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(8676002)(8936002)(44832011)(6506007)(53546011)(6512007)(316002)(26005)(4326008)(31696002)(2616005)(66946007)(66556008)(66476007)(36756003)(2906002)(5660300002)(4744005)(110136005)(41300700001)(6486002)(478600001)(86362001)(31686004)(38100700002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WjF5alhURWlXYW9rRjYxdjNwUWk4ZG03VEJqL09WR1ZTSzVBb1BobHNGZGFv?= =?utf-8?B?alQwZlFPbFQ4bFUrOURRcWl4bzlBRzBxenRMblc5QXJWcVdRNExaSmk4ZnpO?= =?utf-8?B?cXRaakNBajhDajBQOFBFMjc3T3IrZDdGc2xEWTZuMmJKWmVDTVB6b2o0VGJv?= =?utf-8?B?SDhOVjhqWWVKWEt2c1RMcDJ3STlmdnMyVG9rTm5kRzBkMUZGSDhPMkt2NWJx?= =?utf-8?B?RTJXUUt5bjdXWFFFeGRxWk11ajdZSXV5KzlEVGJmMjgvdzBuZSs0MCtXaDZo?= =?utf-8?B?Z3QwY0RlUWxnalFDUktEc1VTMTZTWnNnUkhodmJHOVV3ZVR4c2s3ZEZXbkhJ?= =?utf-8?B?cWZMZlNVc3cyeFlDbGZVTGpZUHpZYWJrbWlFNldqOVZNcEQxTnl4WWxKUDBz?= =?utf-8?B?YW8zUm43eWtIZ0JQU2RWSkdmaTJTQnFtOXdOenpyS2F4dDhGcklIbWlNR0li?= =?utf-8?B?cjhJUEd6cllvNWZycDhrb21ERkxtZkVCcUhHQzU1Z3Y3UnpGN0Zwa2ZPS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gxb3FsWGowT1Zq?= =?utf-8?B?aFVaMnY3bjRKY21WdVlTQlB0R0FPaEQzTFdSazVyUlhXQ1JuNEZPRXpzWEFY?= =?utf-8?B?b2F4ek1jR2xoSUN5VmZ0d0xCTXVHVXVOUXI0SUxKL2U5UEJySnR6elQ5ZXdL?= =?utf-8?B?bEI3ZjJoQ1B0SGE5Wm1UYjN0TU90VE91OHI0RGJ0S0VMMUNIbEhzQkJNMkM0?= =?utf-8?B?Q2lYOXFqa0Rvbk15SFhjSzlLSVE2ZWljK01wSTBvOHRBa09QRGJvZzBFQWtR?= =?utf-8?B?N0lCZzVHNnJaRk90eCt0WnE0dmZzT3Y2MVFZRkZnODVrbnczcEVlclBhT0ZY?= =?utf-8?B?dWp4akpOOERaQnBBbFJVUTA1UENYNjBNYytjWnpiZlh5WDA3U2w4NVV2TlRQ?= =?utf-8?B?YTR1YStKVllHbHdoTlluNkgyYTl5U0lsd3FWMTVFYjJUb0VKTEdxb3NPRHdW?= =?utf-8?B?akE4WFkxM09UVWY0bThxdENEWUdicjdSMkpQaG9xMjFoVUYvSmc1dVNSMDd1?= =?utf-8?B?WGlXSzRaZjI4bnFGQi9IdlJyOFJhT2tCQXRJcHJuT0VBRFlGd3AvYSt0bGZP?= =?utf-8?B?UGtNM3pjcmFOeXNVMmlmSHFmU21iTFE3djQ1MUdsZmNCUGY1RnhOSkRhcjFQ?= =?utf-8?B?cnpGb2d6dGVqR0JIM0h1WnBjK3Y4b1hiWnFsNCtzYVY2bzJpN29kdFdKYmxh?= =?utf-8?Q?unFUYwxjwvaNH/OaqrUGcR9dR?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3a7377e-6938-440c-d66a-08dc280ae19b X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 18:30:38.1666 (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: fzMC23/Hpm8V2Kqw/HtAXjobSaV9EzxVJ5y2UPmepNnNc8qHsMmjXUYdnaFOqXJB X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB9122 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 2/7/2024 5:04 PM, skoteshwar@marvell.com wrote: > From: Satha Rao > > Existing Rx desc used count command extended to get Tx queue > used count. > testpmd> show port 0 rxq 0 desc used count > testpmd> show port 0 txq 0 desc used count > > Signed-off-by: Satha Rao > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.