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 EEF4C45ADE; Tue, 8 Oct 2024 12:54:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBC7540650; Tue, 8 Oct 2024 12:54:03 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by mails.dpdk.org (Postfix) with ESMTP id D21C840612 for ; Tue, 8 Oct 2024 12:54:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728384842; x=1759920842; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=T+9LGLLmsD+Gnnlattg4znzNvYZqxfxRBmJGGZoq9Pc=; b=HZ/jFJ99M31gex5MVDmkqXRwPHX+nBKdb9sVV5SQrF4yzdvvFimJky8X qpgNhDHZ//Eckxfp7vq4mrf+6cgLoOYic33umN4gQjKeHwYX+jrdYkUAL DGhjsDm96vm6X/fERGZc7fRpPs7YW0AXkDe5jbSwBXwSoPfwpx7qMjhZv mCufsyvO6JKd1Ug5zo1mzY+SVklcZgi6tIFYSGAcKiZQTzPHIGzLoKnvO wA27TLUIrGxbhIlVeLbh1wnl3ezugzzYFgBQtNSmvqzH3OcCdvunPaPBm 3U2DfxbDs7Cs2yCH9sRBoEbdg7r0NprLQQrQW3HJKOpWiecyYgUiWfYZu g==; X-CSE-ConnectionGUID: rsetm1FiQyqBMVzGlF761w== X-CSE-MsgGUID: ztCXC+FITp2Iv4bh1nxlhw== X-IronPort-AV: E=McAfee;i="6700,10204,11218"; a="27025120" X-IronPort-AV: E=Sophos;i="6.11,186,1725346800"; d="scan'208";a="27025120" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2024 03:54:01 -0700 X-CSE-ConnectionGUID: KEq74swFS22GvQ8IxZHtww== X-CSE-MsgGUID: RKG5Ixi/StKnfx9HOHNhQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,186,1725346800"; d="scan'208";a="106547837" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa001.fm.intel.com with ESMTP; 08 Oct 2024 03:54:00 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, Bruce Richardson Subject: [PATCH 0/3] add support for querying ethdev TM nodes Date: Tue, 8 Oct 2024 11:53:47 +0100 Message-ID: <20241008105350.1396216-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.43.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 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 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 | 90 ++++++++++++++++++++++++++++++++ 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 | 3 ++ 10 files changed, 253 insertions(+) -- 2.43.0