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 9909D45BC0; Tue, 29 Oct 2024 18:02:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BE6942ED2; Tue, 29 Oct 2024 18:02:08 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mails.dpdk.org (Postfix) with ESMTP id 16BF342E10 for ; Tue, 29 Oct 2024 18:02:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730221327; x=1761757327; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Yw8fafBdxEZ27zetpVlsw96Nn/gwl0wyp1z2aNNIlI4=; b=CjtTxVwQF66pzZ0oqc+kgoOEJ2ilsh+QMoWtrgZC9++tUNOEXi6WMQ48 QYCIJDhpPvDBbA9j1JQjosEj2/Sybu+VoBraU2Ur97To4o8hvzs9Sy41G RTd+QoZZ/8TDehwzDhGmHtpS7j4+1IP02LhtdPZN6A5N60rh1jrRa6CJt gpb2YAgylPxUwMU4CDZ0mXdSkmiD4rc8vRWZt0Fg4ut9hNqUhowwMfrWz uPI4lMQy+oMpOb94RkwmQGOk7QfN59x1DJYFx2roO8MWAAE71rtodR+dx tNW0lfhEYwinB/bvcir9uQ+kM79Xuv4ZhKyT7ENL/36GDMjM8av8A/mke g==; X-CSE-ConnectionGUID: tAQHSDNRQ6O0GtsZMQk7Xw== X-CSE-MsgGUID: EDqbRlqHRveW1GfImR2hXA== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="40977536" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="40977536" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2024 10:02:06 -0700 X-CSE-ConnectionGUID: OrxlWP3rSXe02Gcx5PzU0Q== X-CSE-MsgGUID: pCKcDsqURmmkDCQabhNJew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,241,1725346800"; d="scan'208";a="119494629" Received: from silpixa00400496-oob.ir.intel.com (HELO silpixa00401385.ir.intel.com) ([10.237.214.43]) by orviesa001.jf.intel.com with ESMTP; 29 Oct 2024 10:02:06 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: vladimir.medvedkin@intel.com, Bruce Richardson Subject: [PATCH v6 0/5] Improve rte_tm support in ICE driver Date: Tue, 29 Oct 2024 17:01:52 +0000 Message-ID: <20241029170157.1390724-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240807093407.452784-1-bruce.richardson@intel.com> References: <20240807093407.452784-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 This patchset expands the capabilities of the traffic management support in the ICE driver. It allows the driver to support different sizes of topologies, and support >256 queues and more than 3 hierarchy layers. --- v6: * remove char arithmetic in patch 1 * rework parameter checks in patch 3 to shorten and simplify code v5: * fix checkpatch flagged issues v4: * set reduces to only 5 patches: - base code changes mostly covered by separate base code patchset (merged rc1) - additional minor fixes and enhancements covered by set [1] (merged to next-net-intel for rc2) * additional work included in set: - automatic stopping and restarting of port on configuration - ability to reconfigure the sched topology post-commit and then apply that via new commit call v3: * remove/implement some code TODOs * add patch 16 to set. v2: * Correct typo in commit log of one patch * Add missing depends-on tag to the cover letter [1] https://patches.dpdk.org/project/dpdk/list/?series=33609&state=* Bruce Richardson (5): net/ice: add option to download scheduler topology net/ice/base: make context alloc function non-static net/ice: enhance Tx scheduler hierarchy support net/ice: allowing stopping port to apply TM topology net/ice: provide parameter to limit scheduler layers doc/guides/nics/ice.rst | 60 +++- drivers/net/ice/base/ice_ddp.c | 20 +- drivers/net/ice/base/ice_ddp.h | 4 +- drivers/net/ice/base/ice_sched.c | 2 +- drivers/net/ice/base/ice_sched.h | 3 + drivers/net/ice/ice_ethdev.c | 93 +++-- drivers/net/ice/ice_ethdev.h | 22 +- drivers/net/ice/ice_rxtx.c | 10 + drivers/net/ice/ice_tm.c | 566 +++++++++++++------------------ 9 files changed, 397 insertions(+), 383 deletions(-) -- 2.43.0