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 DFB3845AE2; Tue, 8 Oct 2024 16:43:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4A8B4025C; Tue, 8 Oct 2024 16:43:38 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 0318C4021E for ; Tue, 8 Oct 2024 16:43:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728398617; x=1759934617; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=giemLuBWRNKTnrOmP3dpQ7I3eA/705nM+4HfU9c5NHU=; b=eYewYXVpAeh/PyKd/go7i3qlRBGZYUbpR7nJGBtxvI4mBeMr8tEsyAh8 8mOpOPsuOjLEX1TwoHCQLRACxRsWBw31p/9KSKVxodttQtMyhOl4gqH+W 2rmMXP4RGSnhYpEWbX/hQRfgH7floAr5WQ5YZf6b84B0vfjgVzg3PyfNB lcUia6Pv1MZZ8b+nKOyeJUTYI7B98QKD7HL2mYhRFK24MTQjU4hIAav68 cXMSG6yqkRBaWVsCkW+UfkcoBx84fyXjVm5XHksyuSRltb3vlvQwu8YTM zVMwzmgELDd+1qjXTyPvCvBq3jXjbYT91ubKj6JvhrzimCuaOmiWn2UyB w==; X-CSE-ConnectionGUID: 6YRfZlZ/SPGakXEenhUQyQ== X-CSE-MsgGUID: CaPrbcg7QsSsaegqZ/k3Og== X-IronPort-AV: E=McAfee;i="6700,10204,11219"; a="50133732" X-IronPort-AV: E=Sophos;i="6.11,187,1725346800"; d="scan'208";a="50133732" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2024 07:43:36 -0700 X-CSE-ConnectionGUID: PHdkAxvzStG/0+GYdW4lKA== X-CSE-MsgGUID: FVrO0nPMQ6qfrugPx+2l1A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,187,1725346800"; d="scan'208";a="106615396" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa001.fm.intel.com with ESMTP; 08 Oct 2024 07:43:35 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, Bruce Richardson Subject: [PATCH v2 0/3] add support for querying ethdev TM nodes Date: Tue, 8 Oct 2024 15:43:17 +0100 Message-ID: <20241008144320.1632138-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 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 + 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 | 25 ++++++ lib/ethdev/rte_tm.h | 50 ++++++++++++ lib/ethdev/rte_tm_driver.h | 12 +++ lib/ethdev/version.map | 1 + 10 files changed, 292 insertions(+) -- 2.43.0