From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B10A0A00BE; Fri, 12 Jun 2020 12:54:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5DD742BFA; Fri, 12 Jun 2020 12:54:26 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 82CEE2BAA for ; Fri, 12 Jun 2020 12:54:24 +0200 (CEST) IronPort-SDR: C7ML0xWQiYA3RxgVf4D/g99ZBRHvjstKIQpzNvX8bVRwPVpUZv8rm4ReQ+3CnzMKNRv8F52qCM 1nAt6qk7cGwQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2020 03:54:23 -0700 IronPort-SDR: S4kv+tECYV00wcihJ9fCh9s6uFaXZTE5QUzjMek4AlCHWmtIIjQwG0cBGDExoh0cAXhu5mhLzd Y7UrD0wJJi+Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,503,1583222400"; d="scan'208";a="448264465" Received: from silpixa00399953.ir.intel.com (HELO silpixa00399953.ger.corp.intel.com) ([10.237.222.53]) by orsmga005.jf.intel.com with ESMTP; 12 Jun 2020 03:54:20 -0700 From: Ciara Power To: kevin.laatz@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com Cc: keith.wiles@intel.com, dev@dpdk.org, Ciara Power Date: Fri, 12 Jun 2020 11:53:42 +0100 Message-Id: <20200612105344.15383-1-ciara.power@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [RFC 0/2] add basic ethdev stats with data object recursion X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 patchset adds support for basic ethdev statistics in Telemetry. To do this, recursive data object support is needed to report the queue statistics in a list. Currently, a dictionary can support a uint64_t array value, which is used for the ethdev queue stats. Ciara Power (2): telemetry: support some recursive data objects ethdev: add basic stats for telemetry lib/librte_ethdev/rte_ethdev.c | 54 +++++++++++++++++++ lib/librte_telemetry/rte_telemetry.h | 27 ++++++++++ .../rte_telemetry_version.map | 2 + lib/librte_telemetry/telemetry.c | 34 ++++++++++++ lib/librte_telemetry/telemetry_data.c | 18 +++++++ lib/librte_telemetry/telemetry_data.h | 3 ++ lib/librte_telemetry/telemetry_json.h | 17 ++++++ 7 files changed, 155 insertions(+) -- 2.17.1