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 82510A0C5C; Wed, 8 Sep 2021 19:03:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6E56641174; Wed, 8 Sep 2021 19:03:28 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6DA5C411B0 for ; Wed, 8 Sep 2021 19:03:26 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1889TZcp030886; Wed, 8 Sep 2021 10:03:25 -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=9SI8JKAZra0878mbBVL9oaEGxXnSCSeL9nTV2ajB6WM=; b=BepaOZ8xy+FCvUtzYq0RtCSySH/tDZjDKBKT8uXxZlDlSpSU1RYMyJKaO94C/pjghNcu 3HHR7fJfXGGlUlOcpvEtvhm7UFvVZouzZE148tFKJ+XI26CGdVuMpmM8tRUmaOLrreRX MEIkoVlNU/AJKoW6rEPYtqvqjEppQ/wIT/LAZ8oMVti+wD204yWWq/v1NV7jGQBNG2Im YRyrgIooEDkjPLwHJLrAJynRvMkz4gm0OqTn+9B04hn0iOBbEXoV3TWCXCtESy3mnstR 4E3f1y0DBQlJV1SlcIgIIenPDpLisrT4wyY3bNzfsVjWezvkWLsni7pjaU18KChsoZU7 7w== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3axtka9vpe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 08 Sep 2021 10:03:25 -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; Wed, 8 Sep 2021 10:03:15 -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; Wed, 8 Sep 2021 10:03:15 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id E61143F7094; Wed, 8 Sep 2021 10:03:11 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: , , , , , , , , , , , , Gowrishankar Muthukrishnan Date: Wed, 8 Sep 2021 22:33:02 +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: oFdJv5rODMdBJo4YaTKYk74XfdWAGIzz X-Proofpoint-ORIG-GUID: oFdJv5rODMdBJo4YaTKYk74XfdWAGIzz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-08_06,2021-09-07_02,2020-04-07_01 Subject: [dpdk-dev] [v7, 0/6] 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" This patch series enables telemetry for cnxk in the following: - NPA LF - Mempool driver - NIX LF - Ethdev driver - Crypto driver Depends-on: series-18612 ("net/cnxk: support for inline ipsec") v7: - Added cryptodev endppoints. - minor cleanup in other patches. Gowrishankar Muthukrishnan (6): common/cnxk: add telemetry endpoints to npa mempool/cnxk: add telemetry end points common/cnxk: add telemetry endpoints to nix net/cnxk: add telemetry endpoing to ethdev telemetry: fix json output buffer size crypto/cnxk: add telemetry endpoints to cryptodev 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 + .../crypto/cnxk/cnxk_cryptodev_telemetry.c | 154 ++++ drivers/crypto/cnxk/meson.build | 1 + drivers/mempool/cnxk/cnxk_mempool_telemetry.c | 100 +++ drivers/mempool/cnxk/meson.build | 1 + drivers/net/cnxk/cnxk_ethdev_telemetry.c | 129 +++ drivers/net/cnxk/meson.build | 1 + lib/telemetry/telemetry_json.h | 7 +- 15 files changed, 1534 insertions(+), 7 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/crypto/cnxk/cnxk_cryptodev_telemetry.c create mode 100644 drivers/mempool/cnxk/cnxk_mempool_telemetry.c create mode 100644 drivers/net/cnxk/cnxk_ethdev_telemetry.c -- 2.25.1