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 6728042820; Thu, 23 Mar 2023 09:58:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C85E40E09; Thu, 23 Mar 2023 09:58:35 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 111F24021E for ; Thu, 23 Mar 2023 09:58:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679561913; x=1711097913; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=SqLdsdtwoFZqL27V6/VtNrugkKM8ETcvEGtNU9aB4Vg=; b=ikQsyp7hRY5n6vUMZbE0+hS1JLhD7QMiwjEmfqVrbP/Sf1HP7vGMxd3J IhJNFdZ9AIVnfSgdprdCG3xQTugZ5kKFk9+CfJXFx+I15tIodGYw1GiIh ojtQ8x5z40nY8P4WYBBeHJbc1kZx8uftythxBHy5+LFg1UFAfCcZ6QuFh dna56ydCoqhWeeHg4A9BVoQFWj0aqvQNmmwYdH/kTd0i0Bba/cwp0H/s4 xPhYGOCOx8jDVO7T4HFXEtr4vPWDWi9T+lsnaeiJ8KXyVM4NdmQzmtDQt VSDx5kUoV7E9apk5bumtsADb/lj4pwcbYIT3MIqqtOfxWOW5ThZ0R/vqV g==; X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="341797705" X-IronPort-AV: E=Sophos;i="5.98,283,1673942400"; d="scan'208";a="341797705" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2023 01:58:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="928149120" X-IronPort-AV: E=Sophos;i="5.98,283,1673942400"; d="scan'208";a="928149120" Received: from txandevlnx322.an.intel.com ([10.123.117.44]) by fmsmga006.fm.intel.com with ESMTP; 23 Mar 2023 01:58:31 -0700 From: Ganapati Kundapura To: jerinjacobk@gmail.com, dev@dpdk.org, jay.jayatheerthan@intel.com, s.v.naga.harish.k@intel.com Subject: [PATCH v1 1/1] eventdev/eth_rx: add event buf size and count in telemetry Date: Thu, 23 Mar 2023 03:58:28 -0500 Message-Id: <20230323085828.2709694-1-ganapati.kundapura@intel.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 rx_event_buf_count and rx_event_buf_size is added to structure rte_event_eth_rx_adapter_stats but they are not displayed in rxa_stats telemetry handler. Updated handle_rxa_stats() to display rx_event_buf_count and rx_event_buf_size. Signed-off-by: Ganapati Kundapura diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c index c1cd124..07d8235 100644 --- a/lib/eventdev/rte_event_eth_rx_adapter.c +++ b/lib/eventdev/rte_event_eth_rx_adapter.c @@ -3597,6 +3597,8 @@ handle_rxa_stats(const char *cmd __rte_unused, RXA_ADD_DICT(rx_adptr_stats, rx_enq_block_cycles); RXA_ADD_DICT(rx_adptr_stats, rx_enq_end_ts); RXA_ADD_DICT(rx_adptr_stats, rx_intr_packets); + RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_count); + RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_size); return 0; } -- 2.6.4