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 95D23A0C43; Wed, 20 Oct 2021 15:30:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 85D2D4118F; Wed, 20 Oct 2021 15:30:39 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 97FBA40142 for ; Wed, 20 Oct 2021 15:30:37 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="228727310" X-IronPort-AV: E=Sophos;i="5.87,167,1631602800"; d="scan'208";a="228727310" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 06:30:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,167,1631602800"; d="scan'208";a="483724168" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga007.jf.intel.com with ESMTP; 20 Oct 2021 06:30:36 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 20 Oct 2021 06:30:35 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 20 Oct 2021 06:30:35 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 20 Oct 2021 06:30:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Snyn0o8Xacs9XP1zap5jaTCiVbzTDSTLFaWuUbKJDxbmazWV8aKkusRFnIua35zPgtwcBIYJb110wYYFJjcX717DjLyL5LpD9Eid/5rcYuoP/btp4LyeQNDoOIdSQs8FDIyzPkHe2abYDlWXkWAk1Sko9kmJI2wBmV9ZMTpA0jDPVP81XgDemBAh25b5LGqLfaz2Ex3scbsrwejMMfK+GgwEOqE5U5jg1m3XsmZFZZrWHPEd2fEaJUlY4hSSxckyzxvP57muEpq6qXWT9hPbYEsFhRHu1KQlsjJBWzCIuOcF0O8cMMy1ldrtJg2pGrgUPyvW+lvNaCCgBmNFhjAiYw== 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=cObKeP+BQxW5ZjZqRkIM/d6mhXUMtiXIXUIPZG/lH5A=; b=SO1RDrf96Dg21LnDBq0DBaubocWvSoTB7lwgFVFjmZfRSrn4QrpFYRimvptrDz/eKmBDLaJMEW3TRg9CCD3igxn7rgwAmsv25ir+tJnPQjT8W8nOOc+42Dot3AWwEKho9w+OtmASw6AsO9cFTQ5/05WiFIhAhnWRlNyEfOXkk/ShTqSbjtqWAyuHbVjGHAAvWTlSltRQQXj8K24N5j8C+SPHp5uvVEk42uOMjpWGEiJuN1EY+iTxktU2phlA07CBfxwmZwql714iL7EOj6zQEonJJK8sG4xFxsWQhOg+Dsx0aDrakGFAFGeAynOPH5fPzHqvMzcTO0C2WhtVFwh47Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cObKeP+BQxW5ZjZqRkIM/d6mhXUMtiXIXUIPZG/lH5A=; b=wX/ql6x8YvNx9THd7vLocJ1rszKtgvll73VNbiCZpBJHP2hdEB4g/hj76zUYZYCqNDw8xo8UwmdvRJkCHHsw1sapUWerEBR+YMc0dXZQ9RniSyqWuOaeTnsoKK7HYC0P6TPvTGQtQuvNrcOHXh2LYaAikYEoAYCja1YxdeOvvBo= Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5208.namprd11.prod.outlook.com (2603:10b6:510:3b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.15; Wed, 20 Oct 2021 13:30:34 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4608.018; Wed, 20 Oct 2021 13:30:34 +0000 Message-ID: <1a166563-9ebf-a4ab-9d3c-ac761333a5e7@intel.com> Date: Wed, 20 Oct 2021 14:30:26 +0100 Content-Language: en-US To: Jerin Jacob , Gowrishankar Muthukrishnan CC: dpdk-dev , Jerin Jacob , Kiran Kumar K , Nithin Dabilpuram , "Sunil Kumar Kori" , Satha Koteswara Rao Kottidi , Ashwin Sekhar Thalakalath Kottilveetil , Pavan Nikhilesh References: From: Ferruh Yigit X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0440.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::20) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by LO2P265CA0440.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Wed, 20 Oct 2021 13:30:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2ea17a98-e8a7-4164-248e-08d993cdcb92 X-MS-TrafficTypeDiagnostic: PH0PR11MB5208: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0yz/ZSPDw+oDaDMuPSE7z9622GcaVvxSRtKSs/li1f4NLlDFosIUn8k+jhlC4JDDiK0kBi+zYy7sqZFrQvvni1D94MmZeBGSRbtZEtHBpuL7GsqaagFy6m2Z1qkFzznH7wHo19/HzBef5Qb75gjtqdrW1r9tROa6EKXBdwjrCFSgiKNvwVYt/Q4NTftAsGDh+QXRHZTlgFK/7AqCSh7J9i/LMnliPuKvDUS6aZ042EEawta44yK5NS8BJ9ST5G0h8hlZkdwj/uyjg7suIahIMXlVaBFRv1MQPp8S1k5o6FN93ImX2pmwMuvJj+JxAA03I9jCGGHcqWY5Ox1gI04E9WVZdB/JdPkeMjDakNqAXE2ruB866O/47gHW14z+nzkOfkzqWdfcNBrFwK8ag/2pvp9c/ckehpWjdjp5KnkuCpsf9W2WC/C2pph7aob9JK+2esILI06dLDRVLNVh7Nb5Bgl0PCPk7O7YTb18DRKde7davUif/p+iyE3SnTkuQZBjDSwMSQZT9u8c8nFpPIaC9WGJq2leQUtHydt5k2nrajHuXZDvmBPLwKn9+3rSioxWGwCbcC6UclG7IDoVcHN2lRqriAWDbp/Jcp3E5tgDJAySFqr9Cd+/ZTIfEh5rFUc2Cim/qon16RwwKfr0pmyvf627iTZdaq2YwGu1F7h6MsmmJQHponHj0TIaU7ars6DkxFnwpD1uzGCOZfBfrVbIDVu9brBj6q+IJBBSL0C+4ESKyJxK9vGfC6srrW5mkdncXKJ0xjPQq+ZPLTvOatwJPyukiYxZlum1PK88dnXW0yU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(86362001)(4326008)(6486002)(110136005)(54906003)(16576012)(6666004)(316002)(38100700002)(66946007)(66556008)(186003)(956004)(8676002)(26005)(8936002)(53546011)(31696002)(66476007)(82960400001)(966005)(508600001)(2616005)(5660300002)(36756003)(83380400001)(31686004)(44832011)(7416002)(2906002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M1c1ck5iRzRXemxxMmtOODc2MGdDamxNRzdDK1p1ZGNzRFR5V3ZnamJuMGN2?= =?utf-8?B?bUdaOFJ5NzQyTnYvcy9rRXNtZyttbWg5a2w2MzlSS21UZ1JEbkUyZjhFNHNu?= =?utf-8?B?MVQ5aUgxK2MxL3RUUmZTWlFPY2dCQkF4UUw1ZGZXSlZXTzFicnZlZi9YK0hj?= =?utf-8?B?WUFsVTFhc1hETXpZemxxTUtvK1p0eXJ6OS9qVnIyaGJtQWhMblRNUDI2cU1V?= =?utf-8?B?aXVJUVgyOThhYVRtYUNMSVQ3M3hEU2ZQTWNKYXhpRERob1pUM2R0ZUxlR09n?= =?utf-8?B?blhZTUtkcE1sN3Q3eUgva3JCR0gxT3BUTDJQdjhjZVF2bmJ4TUs2cjM5TVpE?= =?utf-8?B?TnVwZDBlK053dUdIWExybkhiV2RxU0poQVh2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TzEcjBMizd6UiZUNhXPO0g=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 2ea17a98-e8a7-4164-248e-08d993cdcb92 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2021 13:30:34.3712 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1uhWZzY0pvPsbp9U6TltRV4lXRfGzkMLscDIJT3ZFP9WlLkYBLwEoydhVDP4PYVd2/UWsRtTw/R3dxGo9ZM3/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5208 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [v9 0/4] cnxk: enable telemetry endpoints 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 Sender: "dev" On 10/19/2021 5:42 PM, Jerin Jacob wrote: > On Wed, Sep 29, 2021 at 12:25 PM Gowrishankar Muthukrishnan > wrote: >> >> This patch series enables telemetry in cnxk for the following: >> - NPA LF >> - NIX LF >> - cnxk Mempool driver >> - cnxk Ethdev driver >> > > > Series Acked-by: Jerin Jacob > Series applied to dpdk-next-net-mrvl/for-dpdk-main. Thanks. > For record, v10 of this set seems merged according patchwork: https://patches.dpdk.org/project/dpdk/list/?series=19788&state=* >> >> v9: >> - moved common info from drivers to lib endpoints. >> >> Gowrishankar Muthukrishnan (4): >> common/cnxk: add telemetry endpoints to npa >> common/cnxk: add telemetry endpoints to nix >> mempool/cnxk: add telemetry endpoints mempool >> net/cnxk: add telemetry endpoints to ethdev >> >> drivers/common/cnxk/cnxk_telemetry.h | 26 + >> drivers/common/cnxk/cnxk_telemetry_nix.c | 849 ++++++++++++++++++ >> drivers/common/cnxk/cnxk_telemetry_npa.c | 224 +++++ >> drivers/common/cnxk/meson.build | 7 +- >> drivers/common/cnxk/roc_nix.c | 3 + >> drivers/common/cnxk/roc_nix_priv.h | 9 + >> drivers/common/cnxk/roc_nix_queue.c | 15 +- >> drivers/common/cnxk/roc_platform.h | 15 + >> drivers/mempool/cnxk/cnxk_mempool_telemetry.c | 57 ++ >> drivers/mempool/cnxk/meson.build | 1 + >> drivers/net/cnxk/cnxk_ethdev_telemetry.c | 93 ++ >> drivers/net/cnxk/meson.build | 1 + >> 12 files changed, 1295 insertions(+), 5 deletions(-) >> create mode 100644 drivers/common/cnxk/cnxk_telemetry.h >> create mode 100644 drivers/common/cnxk/cnxk_telemetry_nix.c >> create mode 100644 drivers/common/cnxk/cnxk_telemetry_npa.c >> create mode 100644 drivers/mempool/cnxk/cnxk_mempool_telemetry.c >> create mode 100644 drivers/net/cnxk/cnxk_ethdev_telemetry.c >> >> -- >> 2.25.1 >>