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 ADE1F45BB4; Wed, 23 Oct 2024 18:56:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F32E42EAC; Wed, 23 Oct 2024 18:56:06 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by mails.dpdk.org (Postfix) with ESMTP id 69B1F409FA for ; Wed, 23 Oct 2024 18:56:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729702566; x=1761238566; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=W5rX0bjIvaThfH/rJguOQ3z5kHmlPd/AkQf6bob/RAk=; b=bML4wJ3Z+BahERh3XRLGuFP+YvRvmH9hE+VWXlwEET9DxeoMCPjdadQJ z+9Qz/sa0TuRJbrqo5NcM480mRr0J/ohTNIweUs2wsEfWDVkyw3s6TtgJ wwuROmExSepdAjHnNo0evqmEc3oo+/D2XhPlNM6C9qqaFbbxcYgggUOw9 rDQAlPEMWIwLXFx6gUC1F6Vd3oJzPq8OzPZWgjqVUO0X7WTcJP93hHAra vyo0Z/MYDCnwmXfyo0OpItIhO+3Xb4WF4ZZgoKJ4EFAgZ1pgka7R7A451 BIPKvviTeqjTG5hVvceQEDsxHOjZTIwHm7/mJuXN6pSvllnPFM9EfJ33S Q==; X-CSE-ConnectionGUID: Lt/9keEVSniuGbg5VR2EIg== X-CSE-MsgGUID: ke0G0OjtQhCS+m5PVZBTog== X-IronPort-AV: E=McAfee;i="6700,10204,11234"; a="32159396" X-IronPort-AV: E=Sophos;i="6.11,226,1725346800"; d="scan'208";a="32159396" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2024 09:56:05 -0700 X-CSE-ConnectionGUID: UFrsA2cyTPekLYeGhklsbg== X-CSE-MsgGUID: 2A/CYuOBQ/2xzZhjA/mn5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,226,1725346800"; d="scan'208";a="85073308" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa005.jf.intel.com with ESMTP; 23 Oct 2024 09:56:04 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH v5 0/5] Improve rte_tm support in ICE driver Date: Wed, 23 Oct 2024 17:55:35 +0100 Message-ID: <20241023165540.893269-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. --- 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 | 91 ++++-- drivers/net/ice/ice_ethdev.h | 20 +- drivers/net/ice/ice_rxtx.c | 10 + drivers/net/ice/ice_tm.c | 513 +++++++++++++------------------ 9 files changed, 371 insertions(+), 352 deletions(-) -- 2.43.0