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 07C89A0C41; Tue, 3 Aug 2021 10:05:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45527411A7; Tue, 3 Aug 2021 10:05:55 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 38F6B40E32 for ; Tue, 3 Aug 2021 10:05:54 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17382EHD009546; Tue, 3 Aug 2021 01:05:53 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=+L4yGYJJcU8jRanAPxOqzj9u0JfOAA3JtxE07iujqkk=; b=RZhWXLFk6OYODhcdZwCK3pXXhzEW6Wgbyhdg2ph6p6+84hKssHBSymEdKSXlD54r8HkO VX1tGPcnAiAA0T0ezQHxEzwK4mgLiBA1661LldocpemK4DR0wzuJA791h4ykw8SKlBrl SBnOqCL9oGT/yfaVj74sl0vkpyKWrGbX4XwMVrQ0duICqlcwZM5RE5GsQRHF30aMXtln q/N0sgY0mLGMTDgKKguYQU0SUp22EppELc8NNJ7m7e/jswd6P02myAjfZtXws5vtGumd 95BS0QzPrzQ7V5/bxT0G1e3jyze2zLkm/R6bY9BpzZwhJlH0kp1NGdBTqwfwJaHgm7WK HQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3a6b46v9wr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 03 Aug 2021 01:05:53 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 3 Aug 2021 01:05:51 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 3 Aug 2021 01:05:51 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id 0B5315B694B; Tue, 3 Aug 2021 01:05:48 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: , , , , , , , Gowrishankar Muthukrishnan Date: Tue, 3 Aug 2021 13:35:43 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: 3C30XVJ3B4HHyIDLXr2Ir5zaEgpNZBOp X-Proofpoint-ORIG-GUID: 3C30XVJ3B4HHyIDLXr2Ir5zaEgpNZBOp X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-03_02:2021-08-03, 2021-08-03 signatures=0 Subject: [dpdk-dev] [v3, 0/3] common/cnxk: enable npa telemetry 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" This patch series enables telemetry in NPA LF of cnxk. v3: - fixed format specifier for uintptr_t Gowrishankar Muthukrishnan (3): telemetry: enable storing pointer value test/telemetry: add unit tests for pointer value common/cnxk: add telemetry endpoints to npa app/test/test_telemetry_data.c | 125 +++++++++++++ app/test/test_telemetry_json.c | 29 ++- drivers/common/cnxk/cnxk_telemetry.h | 26 +++ drivers/common/cnxk/cnxk_telemetry_npa.c | 227 +++++++++++++++++++++++ drivers/common/cnxk/meson.build | 4 + drivers/common/cnxk/roc_platform.h | 8 + lib/telemetry/rte_telemetry.h | 37 +++- lib/telemetry/telemetry.c | 21 ++- lib/telemetry/telemetry_data.c | 40 +++- lib/telemetry/telemetry_data.h | 2 + lib/telemetry/telemetry_json.h | 32 ++++ lib/telemetry/version.map | 2 + 12 files changed, 539 insertions(+), 14 deletions(-) create mode 100644 drivers/common/cnxk/cnxk_telemetry.h create mode 100644 drivers/common/cnxk/cnxk_telemetry_npa.c -- 2.25.1