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 D544645AF1; Wed, 9 Oct 2024 12:32:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 65F244065D; Wed, 9 Oct 2024 12:32:18 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mails.dpdk.org (Postfix) with ESMTP id 99AC14064C for ; Wed, 9 Oct 2024 12:32:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728469937; x=1760005937; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xsRjtTQ+s/vH/QCV7xeMCgSBeDPS6B0+4of1pQyAyNs=; b=n6jqUVC3doas9QMxg4cslMLpcyxTWFPLgoBBFj3F/SjxcV0PVUJoFjJ2 rWCzMhNmxCXVhjbWdD0VP6k7FFUEfFFAWbQD8hNXNSCchpdk0a6V9nL7K MCMPjT7iDMX1iEljlJq5t5MP6oaxc7N0z0GRvXVHypJ/rK8uub9WJdXwL ovK5Q0um0iC10eriTMbvnr25M7Xx+A7++BnOylK2wwEUnxcKJgY48Y9n6 26ECvkfYTThOhMkbck99nmMvEhJQhQPc1TLGB7iSPTGYoR41Of/J6FmGx BF4/2K7wauKrsExggiEihBjlauC5SDfpvZ91J6tWMt7EZvizLU+V8YgQZ A==; X-CSE-ConnectionGUID: hT+Ik6zdSvKuw+HIw7G53g== X-CSE-MsgGUID: ByS3+t28TL+A/KBybwXehQ== X-IronPort-AV: E=McAfee;i="6700,10204,11219"; a="31649224" X-IronPort-AV: E=Sophos;i="6.11,189,1725346800"; d="scan'208";a="31649224" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2024 03:32:15 -0700 X-CSE-ConnectionGUID: LonwBBU7SiiattjlKVzBpA== X-CSE-MsgGUID: 6+EpdF6pR1uIRwGzG4gy8w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,189,1725346800"; d="scan'208";a="76651285" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa007.jf.intel.com with ESMTP; 09 Oct 2024 03:32:15 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, Bruce Richardson Subject: [PATCH v3 0/3] add support for querying ethdev TM nodes Date: Wed, 9 Oct 2024 11:32:07 +0100 Message-ID: <20241009103210.3858363-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008105350.1396216-1-bruce.richardson@intel.com> References: <20241008105350.1396216-1-bruce.richardson@intel.com> 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 Add support for an ethdev TM query function to allow apps to get details of the TM nodes they previously configured. This patchset includes: * ethdev changes to add the API * implementation of the function in "ice" pmd * testpmd command to allow testing the function v3: updated comments and removed null check on patch 1. Added doc to patch 3. V2: rebase to the head of next-net tree Bruce Richardson (3): ethdev: add traffic manager query function net/ice: add traffic management node query function app/testpmd: add support for querying TM nodes app/test-pmd/cmdline.c | 1 + app/test-pmd/cmdline_tm.c | 131 ++++++++++++++++++++ app/test-pmd/cmdline_tm.h | 1 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 27 ++++ drivers/net/ice/ice_tm.c | 52 ++++++++ lib/ethdev/ethdev_trace.h | 16 +++ lib/ethdev/ethdev_trace_points.c | 3 + lib/ethdev/rte_tm.c | 22 ++++ lib/ethdev/rte_tm.h | 50 ++++++++ lib/ethdev/rte_tm_driver.h | 12 ++ lib/ethdev/version.map | 1 + 11 files changed, 316 insertions(+) -- 2.43.0