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 50C0EA00C2; Thu, 6 Oct 2022 18:42:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E37D40DDC; Thu, 6 Oct 2022 18:42:23 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2058.outbound.protection.outlook.com [40.107.93.58]) by mails.dpdk.org (Postfix) with ESMTP id 664E640042 for ; Thu, 6 Oct 2022 18:42:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cYh8gNIhjEd4mHa/51Eg1U1FdUWUQUMLCA5QeB1t5pWMpOBK1pIZtSR3fdajq971VIeZp0Hsk/0LxUw9USAbNeuvXuJvxx7Cjd7wXVGPKX0fWQ7uLzGGDJncNMGkbElv0HH7OddReUsMQwMFMcE4gmpo4kFUGy84ejsUlK5nrhZ1AFxpHuDr429qU3Io1afKiANjWXE3cbW03FcCbXoz0YI/7aNTrlWF4V06i8EF5GN5YzsFfJVj1ZMAZoi0thE/JN3ppBHrFpV0PzWT769bfAhjDA8fOgOCVU/ogbcnzx5JdWn3IzdZ655af1psmctABLTwy1sDJWDAWjZoVCtY+A== 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=QKW4ODuUR4xfC9kR7ILIyKc2wIzMWmbxRGeNxpg/vz0=; b=MbOlYLrro/bIq800O3ydssPIYcihFxHHWu7iGoHEMCPpY3DVxn6KRKfN5mdh7sL3FCKpcdVq1b98j0ki6WxWwV2f3ozVldbkYjfmOBuAu7zjp9kRVNjfEECRt3NJgdglQDG28JfCVisqRO2tGGEePVIE674wmUoSeGEJaJKNRJQeC8+A0Qj3NdXABlzS8ivrhtpzAyHi2lKHOeQY6/ym9ReTSaOPWXX5nK2w2MsLpW4IDWe57xsCFQ5qaUjnQXqM0LhYw4sJohMO518nGKoH8YFfE6WNBZGtpRrL3IPTsOZH+NZQpn6CKqzDJ+SescU/KZOuSeobuo1JdLQsVr0xaw== 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=QKW4ODuUR4xfC9kR7ILIyKc2wIzMWmbxRGeNxpg/vz0=; b=cJO5Ks/7/a31uFt/2AmWNaPrGxdD5NCP7hnTGugUARBBmwypmUPTOZBxhUEZfPvDPlHHalCNLzzQd3qXKiEX0kHL/eiE0uooGQWhssp1e1opIbvjCfBLCSJDULipY2LYcvOCY12Cyd86sOjIuA5Rx6SyeDkLmDnMfH6md3F6LJw= 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 MW4PR12MB7031.namprd12.prod.outlook.com (2603:10b6:303:1ef::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.24; Thu, 6 Oct 2022 16:42:19 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::d07a:463f:6f93:337f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::d07a:463f:6f93:337f%7]) with mapi id 15.20.5676.036; Thu, 6 Oct 2022 16:42:19 +0000 Message-ID: <96891fd8-277d-08e9-c0c7-272995683bed@amd.com> Date: Thu, 6 Oct 2022 17:42:14 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v5 0/3] support ethdev Rx/Tx descriptor dump Content-Language: en-US To: Dongdong Liu , dev@dpdk.org, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, stephen@networkplumber.org, mdr@ashroe.eu, reshma.pattan@intel.com References: <20220527023351.40577-1-humin29@huawei.com> <20221006120514.28830-1-liudongdong3@huawei.com> From: Ferruh Yigit In-Reply-To: <20221006120514.28830-1-liudongdong3@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0143.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c4::19) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MW4PR12MB7031:EE_ X-MS-Office365-Filtering-Correlation-Id: 3452fd5f-301b-460f-f878-08daa7b9bc05 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s3yHtATkIjV2RbqQBZib9ClJtVqnsft225XcR7kqZie6Ybyp3GSfNDSqNPOLhWmdqUCLyqGxCltOWlgZDwva4IW9b6OhsVGSuC/VUPeEg23zPWuai3ohJECEvXTOb6ya95ggbV0HfcPMFo4IPSq8CwduOxU5EM153YDvJ49KUZjd7mEFssdSwbioarcgERuXGFmGWX3ZkUNSXaFuBT0I6RZwIFxd6je9hPtl+szF5NPrx8IYMA3CoUR52h5G0YN65ZE8rrLpbOeoXE3DllsEd5nAf/esDcXYzdrKhzmqaNHCPO6rFcFP3fkX0NjSV+s2njx7P7hDMx7e1PXPUOlQ6XlO2ADn8E65oZceZ+sxSkRy4faXZbS3nngg4yyriwucszhBctSMjmEhV6zS3ZukrDHGpYjRA25+t38HcQu4Nn+xq2Kr/lJkVbEOdrCA2y+o6lXhYbjQ+CkzjOKGUWJRPc85QE8rm29TLMnTqHza9h3NtPCKpj0/tSye9+bi/x1uPRn7n74ymvkK0zLM70aVATcKjhfccSLBjxK/jbAFDWs/naIowJfHiUOflzTEfOb2mKCpFys1ECSR+eIH5cIRqO5OgvpSafaMzFLwTSZKgdnxIL+1wx5x2quHlg+vH0OXQc88t5ah9l+k/7ZRfkFT17odTS+Cw5YT474muHXKH4JWThm+EYZgFS1k1mPhj5rMBWuEaknKDkJaP05AvmYAQ9vkzDrkOwoZinRrVDsEIjfts4u4SGY4MGucm+fVzeyHwyqc5vDytGr0X/ojloGEy0ry6Ctq1CIZivIOneDSB5Q= 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:(13230022)(4636009)(396003)(39860400002)(346002)(136003)(376002)(366004)(84040400005)(451199015)(2616005)(86362001)(31696002)(38100700002)(36756003)(83380400001)(316002)(8676002)(2906002)(41300700001)(8936002)(5660300002)(66476007)(66556008)(53546011)(66946007)(6666004)(186003)(478600001)(44832011)(6506007)(6512007)(26005)(6486002)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZWQ2TUVxSXowbkt3SUI2VHNySTcxR3dPSWxHb2crb2dtbEcyclJsYzBCN3dR?= =?utf-8?B?a1ExbTdVcm5pb2haNFlaRmlZZU5lWGprT1pkaHRDNnFMWjhyMlV1WVFvaGpq?= =?utf-8?B?QTMyd0xzV1EwZzJyS2lvdElxdXFxVHFDbEhDS1RDaTRhbzh1ZVhndWYrMUh0?= =?utf-8?B?S1BFOCtIMlFSczFMSWxqN3BiSEMxbzZCQVlaKy9iL1o2Mzlna0hP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VVQzbnVFbzRBTmtxSU5jMFQzdVFUNkIyZGswUzVuTms2?= =?utf-8?B?ZnNwMkt5UW5EaEQ0MDkrWDhQWTl5NDF4RUVkSGpZcE9pQzRJaEQ5RHJMVXg5?= =?utf-8?Q?rdeTtDqkQxI+Dx2CofoqVvSvR?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3452fd5f-301b-460f-f878-08daa7b9bc05 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2022 16:42:19.3361 (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: Tc0E605QF8J9646w7o6As2OHlgdb3JmkUeKvMO8d1YQuYA3FHEltSSF9O9ISoPaB X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7031 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 10/6/2022 1:05 PM, Dongdong Liu wrote: > Support ethdev Rx/Tx descriptor dump by using procinfo tool. > > Thanks to Ferruh, Andrew and Reshma help to review the patchset. > > NOTE: > October 1st to October 7th is China's National Day holiday. > I don't have a test environment available at the moment. > I will test this patchset on October 8th. Current compile is ok. > > v4->v5: > - Rename the Rx/Tx descriptor dump API and provide 'offset' parameter. > - Refactor procinfo dump descriptor code as Reshma suggested. > > v3->v4: > - Modify the desc dump API to dump specified number of descriptors. > - Modify the hn3 pmd implementation and procinfo part > > Dongdong Liu (3): > ethdev: introduce ethdev desc dump API > net/hns3: support Rx/Tx bd dump > app/procinfo: support descriptor dump > I will wait review from Reshma for procinfo, but will merge rest to make them available for -rc1, procinfo can get after -rc1, Except from procinfo patch, 3/3, Series applied to dpdk-next-net/main, thanks. Release notes and .map file order updated while merging.