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 AC56B42C4D; Wed, 7 Jun 2023 13:40:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99B2840A84; Wed, 7 Jun 2023 13:40:18 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2043.outbound.protection.outlook.com [40.107.220.43]) by mails.dpdk.org (Postfix) with ESMTP id 4C21240698 for ; Wed, 7 Jun 2023 13:40:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IYPTsQYAugoR3CCwRBHkPvB0DAromyw7BvR+yBTqoG0G95U4JXp0/I1kdBY38AbgMXveml8tMH+/ifIm1Nb5buZglKF3ZpNudlAwU9BtHPQ46iTeNe4426NKAdmjWHw7FSxk4UEzj1HZDPBET1VWN5uICUW1i8bGtiQexp3ePAuUe0zh9j+5sEtQy2BX9KAuYMvat1sEt12CK8rHIFHr2z9IxBJGohSQuvbmTibGP2KLQPYhm+wKefs3rUYU4SYSBNKCuScey6l8qCI/ufADdsgSpo/cY8YexdrPwPQkzFnnO8/owuF8dTQ24ghmpRPq09Dn3qkZwlhNmzOIi7T41Q== 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=a4BmOaUDeHIJtAoV3hHtobXH1ixLEHuLOTetNInx0Qo=; b=K5CKhkW8wvVNYuH2jUJ50wp0+ftkwxaUUTzOgpZ6zYtDW8t+NaGL0LgDqrr7rYgrm+dowsZEt4mlUpmdMjCpfWnV9Pop6I4AD6tq/QxL8sguZFLTGJgPNm5bgjsDaxSY8ioYTE+53y7DMNaYwfvmMsf17VjEIT5zlCJUEpI4wnW3XVIkIwiGJJ9qyJbKCx9RZaGnwoYWk1Lr6nlTpLu9dhSo9lbJTmDaKz72E7GDurc86UcQVnCUNtY9yRSB0BsaRwaNugOlmlvSGVPW40x0CsvXj3X6oMz2YARLKAohinhw0dE2ZQPwCWZfIe7LhoggxTtIZk4RJNS13gYxwcwvOg== 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=a4BmOaUDeHIJtAoV3hHtobXH1ixLEHuLOTetNInx0Qo=; b=XVssDDlrNmbcvWrfYnG0+hjpJLmAqAS0U5OCN2GlSloyy5i+vKAtw/BusCHW2Ln4mPNJkhuoQm2+zO/r0j3YmrgXE3/Whlh9j2VT/Wn6z/yd7MXQi2tls2UjXNAFxnHOvKepDGVvTliIvPjd+u8SNkI4zMYdLoLOVfEk4141Wns= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) by PH8PR12MB6914.namprd12.prod.outlook.com (2603:10b6:510:1cb::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.36; Wed, 7 Jun 2023 11:40:13 +0000 Received: from MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::3b9d:9ac6:f3ce:e106]) by MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::3b9d:9ac6:f3ce:e106%3]) with mapi id 15.20.6455.034; Wed, 7 Jun 2023 11:40:13 +0000 Message-ID: <713d8df2-7aa8-7929-a541-2df03db5cbe5@amd.com> Date: Wed, 7 Jun 2023 12:40:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v2 00/13] support telemetry query ethdev info Content-Language: en-US To: Jie Hai Cc: dev@dpdk.org, liudongdong3@huawei.com References: <20230530090510.56812-1-haijie1@huawei.com> <20230607074209.4798-1-haijie1@huawei.com> From: Ferruh Yigit In-Reply-To: <20230607074209.4798-1-haijie1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P123CA0081.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:138::14) To MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4301:EE_|PH8PR12MB6914:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b80761a-1294-40a4-0b6d-08db674bf4a7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aJ8DZNbb+uBJhdiVXNYjzfJLH8HnAkDXCu9HOdjg7GBqqB5Cfy75NOcJ7YazxQzyD6T2HvemgXYHcQJ3ZQJiqlW8ThqLnObH4ia2H6PoaSY2gL8qJYKMBVNK4zJlKam0Efg2JpX/Ci20BMlpFPLr3yibE17JLxpW33s55vFTYjrb3/o73oxR0/BG7gZeA53RkMyCCKcXGBCWzaAsqVEjgvvV/rTb9p0zSNa0kiaT+gSXCtp9mo46DJwnrgKGKkXNXYq0bn9whw/5JexdZRJ50L9jmL9qNMFsr8q3sCQ6j95/xeCaAXoHrqCOjLQRhUi7YwxRrEtSxCVuyjjHiAoEjgjPD85zX+7gCKiCp0oD1hmJU52BIIIPq2EfHthZBNWx6cITJvsSpL/51TsAUgRJ8E8XDcLvcWEY7ik9bM7GlXOQ7y7Pmkp6HlQzlayI/ipG+MbkKOoNnY4NPGrZrsBHBrJfP8cnQwC8AwZehY+rCuE85LHyB5QMFgXukrkG/XdEMhzXUISG9+AyoRDsS5WJ0naYm8VYjfucUyoRqyuI4YglsS+jns4qt7QnXF0e1xG7NmgPOqhLeLipD14OoS6CLHaJq0aQgNwI85Cdxrn6dskKWIAEr5+epNAiZ9rs7WA5NiXYsrXAlq46V9dYxUHgMw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4301.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(396003)(366004)(376002)(346002)(136003)(451199021)(36756003)(41300700001)(186003)(26005)(6512007)(6506007)(53546011)(5660300002)(83380400001)(2616005)(8676002)(8936002)(478600001)(66946007)(66556008)(66476007)(4326008)(316002)(6666004)(6486002)(38100700002)(2906002)(86362001)(31696002)(6916009)(44832011)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L0RKQThCN0RzWCtWR1d3eEYzd2hXa3M5eUlqYlRwUlFMQlV5MS82MW5NYWVj?= =?utf-8?B?dHh6SEUwbUdobURTRUt2SDFTY0hZWGM1TlI1UzNLNWhyWEVCQUpLYnoxeUxE?= =?utf-8?B?eHRtYmd0UWRRV2VZc2xTRzl0VVlVTCtlcUFPUDJJTXAvam1DWVYwRTFxSGlB?= =?utf-8?B?ZndLbUdFTk1NVTM2YkRDT3oyNnI0VUJxNmMyQksxM1lleWt2c3RWZlJCR09H?= =?utf-8?B?Zis3SmxkQmRiM2JUQlQ0Qjlxb3FOalUvMFVZbytGSnBwQ3gxaisvZmRXbmdz?= =?utf-8?B?amxEeFVtWDBnQ2FVMHdCVEJPSThLZitNUERZTkx6eWU0T2RiSDh1dU9zNVhY?= =?utf-8?B?dTMvZTdCNHBvVnl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Message-Id: 1b80761a-1294-40a4-0b6d-08db674bf4a7 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4301.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2023 11:40:12.9305 (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: sksHSvokYenyo93eg+1NDCgN+mdrUMmB4napTu7Z1oSJ1PjsU/GBFq9EkQ0pdq54 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6914 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 6/7/2023 8:41 AM, Jie Hai wrote: > This patchset supports querying information about ethdev. > The information includes MAC addresses, RxTx offload, flow ctrl, > Rx|Tx queue, firmware version, DCB, RSS, FEC, VLAN, etc. > > v1->v2: > 1. Fix incorrect argument of calloc. > 2. Extract telemetry codes to a file. > 3. Extract codes parsing port id as a function. > 4. Use malloc instead of rte_malloc. > 5. Fix codecheck warnings and build errors reported by CI. > 6. Use 'int' instead of 'unsigned' in help info. > > Dengdui Huang (1): > ethdev: support telemetry query MAC addresses > > Jie Hai (12): > ethdev: fix incorrect argument of calloc > ethdev: extract telemetry codes to a file > ethdev: extract codes parsing port ID as a function > ethdev: support RxTx offload display > ethdev: support telemetry query flow ctrl info > ethdev: support telemetry query Rx queue info > ethdev: support telemetry query Tx queue info > ethdev: add firmware version in telemetry info command > ethdev: support telemetry query DCB info > ethdev: support telemetry query RSS info > ethdev: support telemetry query FEC info > ethdev: support telemetry query VLAN info > For series, Acked-by: Ferruh Yigit There are minor comments, applied them while merging set. Series applied to dpdk-next-net/main, thanks.