public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
From: Ciara Loftus <ciara.loftus@intel.com>
To: dev@dpdk.org
Cc: Ciara Loftus <ciara.loftus@intel.com>, stable@dpdk.org
Subject: [PATCH 3/3] net/ice: re-enable strict priority on non-root levels
Date: Thu, 15 Jan 2026 10:38:23 +0000	[thread overview]
Message-ID: <20260115103824.1982220-4-ciara.loftus@intel.com> (raw)
In-Reply-To: <20260115103824.1982220-1-ciara.loftus@intel.com>

Commit 715d449a965b ("net/ice: enhance Tx scheduler hierarchy support")
disabled strict priority on all levels however it will work on all
levels except for the root level. This commit re-enables configurability
of priority on non-root levels.

Fixes: 715d449a965b ("net/ice: enhance Tx scheduler hierarchy support")
Cc: stable@dpdk.org

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
---
 drivers/net/intel/ice/ice_tm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/intel/ice/ice_tm.c b/drivers/net/intel/ice/ice_tm.c
index db895613cc..ff53f2acfd 100644
--- a/drivers/net/intel/ice/ice_tm.c
+++ b/drivers/net/intel/ice/ice_tm.c
@@ -522,7 +522,8 @@ ice_tm_node_add(struct rte_eth_dev *dev, uint32_t node_id,
 	tm_node->parent->children[tm_node->parent->reference_count++] = tm_node;
 	tm_node->params = *params;
 
-	if (tm_node->priority != 0)
+	/* Priority cannot be configured for the root level */
+	if (tm_node->priority != 0 && level_id == 0)
 		PMD_DRV_LOG(WARNING, "priority != 0 not supported in level %d", level_id);
 
 	if (tm_node->weight != 1 && level_id == 0)
-- 
2.43.0


  parent reply	other threads:[~2026-01-15 10:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-15 10:38 [PATCH 0/3] Ice Tx Scheduler Fixes Ciara Loftus
2026-01-15 10:38 ` [PATCH 1/3] net/ice: check for null before dereferencing Ciara Loftus
2026-01-15 10:41   ` Bruce Richardson
2026-01-15 10:38 ` [PATCH 2/3] net/ice: fix priority mode printing in Tx scheduler dump Ciara Loftus
2026-01-15 10:55   ` Bruce Richardson
2026-01-15 10:38 ` Ciara Loftus [this message]
2026-01-15 10:42   ` [PATCH 3/3] net/ice: re-enable strict priority on non-root levels Bruce Richardson
2026-01-16 14:33 ` [PATCH 0/3] Ice Tx Scheduler Fixes Bruce Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260115103824.1982220-4-ciara.loftus@intel.com \
    --to=ciara.loftus@intel.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox