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 C371945BB4; Wed, 23 Oct 2024 18:27:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8663042E6A; Wed, 23 Oct 2024 18:27:58 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id 46E1B40B97 for ; Wed, 23 Oct 2024 18:27:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729700877; x=1761236877; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=K9OaqLrY4qhovNJJfMeyk1r4EMPQa/bw0eQnp0IK0Ts=; b=I9K/pQtNTckLfosRu/kDlHS5Ea/T19oKNLp/Zfx2wTE9lerg+E8Vz2JM TVvwklItbb4OrtS105xdRA0LOtKN29Fyd8Gz9FPrMzpx7dk6EYid1/gsx JO17EPKAeGCZGkmKY8uZZ4PRGgtNrGR8LXJgJ0q1I5lO0u702ZheAVVo6 2amv5+XO2m2nVcrJH+JfHv15yzHMNqflywAD+SOOR2R0duMFc7cwkxaz5 SvPQegam4av3X/0rPYRndel/Mo2H1IfEROCQKw3KVdAij+gqAKGuhzPyr 8I70S2nxl7DkAMm6vhwKV2sMylM3jWijN7TuBrbDKGbvWGZjtKhJMpcQ9 g==; X-CSE-ConnectionGUID: imTHMAROSMqyJZR1fVYQbQ== X-CSE-MsgGUID: LxFjVtqmSw2BSLjI6JPHRw== X-IronPort-AV: E=McAfee;i="6700,10204,11234"; a="29521271" X-IronPort-AV: E=Sophos;i="6.11,226,1725346800"; d="scan'208";a="29521271" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2024 09:27:56 -0700 X-CSE-ConnectionGUID: vMYdP1UzRgGIFuqj1UI/Pw== X-CSE-MsgGUID: d065N78ITHqWrA7/vkvI9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,226,1725346800"; d="scan'208";a="103583835" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa002.fm.intel.com with ESMTP; 23 Oct 2024 09:27:56 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH v4 0/5] Improve rte_tm support in ICE driver Date: Wed, 23 Oct 2024 17:27:31 +0100 Message-ID: <20241023162747.453267-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. --- 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 | 18 +- 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 | 90 ++++-- drivers/net/ice/ice_ethdev.h | 20 +- drivers/net/ice/ice_rxtx.c | 10 + drivers/net/ice/ice_tm.c | 513 +++++++++++++------------------ 9 files changed, 368 insertions(+), 352 deletions(-) -- 2.43.0