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 A81C946364 for ; Fri, 7 Mar 2025 13:24:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A2C6A40E3A; Fri, 7 Mar 2025 13:24:39 +0100 (CET) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mails.dpdk.org (Postfix) with ESMTP id 3194B4029E for ; Fri, 7 Mar 2025 13:24:38 +0100 (CET) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-43bccfa7b89so14841995e9.2 for ; Fri, 07 Mar 2025 04:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741350278; x=1741955078; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=M7Y1Nmul4CZ1MoGb9iSyX1DwtTysPaSK26+qMAGI8/s=; b=PLl+ten36bLMCOYU/yMmSJ/wTfRFup7jEwEELCFTbdNz/pz47TBdvrCxhoJP9Ird+8 GDU6aOH7E4kL815Eca5Ga1XCODJdDzxyd9C/6rEd+fvuWLuHi3rixFwEI6g0MhhRK4Ww udI75w86VVDoSoXnxfWXNZulNk2pMJAtwBgPLxLluhjZV5QkYKnA9ujvSGRsBZMix8l8 X4qOsXcxltKNBWNbWBlfQ0WVP7AgXYc4rZClAaRovfML3T4ligXuLlryFQKhQV040h7l J6vNMibelQwuxdKOZXnzVmbSyfJvvqhQNHDLdELCZDbHEFKU0c/3qX4WXrZG0uSLhWY+ 0Z0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741350278; x=1741955078; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M7Y1Nmul4CZ1MoGb9iSyX1DwtTysPaSK26+qMAGI8/s=; b=n0GcysifxkpZPPG2rr0oGjcoYNDmEtTMqAArGcv58BnrpOsgwoi8gNIF7fWm+9iTjT 1o73lMu5jJ69kfsBnnRf7LW6rsSvhhRY2jRDslbxtCYWc63P2uxrBsn43XpO3p9GEYMv fycPkF3g7ob1RVv7/FY0c3qr7FEfMOmI5gSvhdmBH3iAiBQB/80rWaaNYg7HdGE8z86D jpWsnJ2z3Ihyz8UYq+iTmxan6/PA0izOJlyHvrSkSQY1PyhiS6xZ1ISdTcovEs4pAzca TO/uBNPCruQnHrdiPWdfDf2W5/xH4fDs9xXngx/TQW5pA0c6/lJt3cQmhCHLIxIqyroP lOQA== X-Gm-Message-State: AOJu0YxArgos8CDAGUs2mEr8vVXERykH5EwKzhwIt24aYZVK7zNYq2V7 mOzd3gVbxeR0elhDPalNiQEw4G0ZD7zFvuC7a5fmKVfoTzlzYjcA+jBvzi4W X-Gm-Gg: ASbGncv+uspSfdULL/gq2nWp9VYyvRHcBA5nlCNgYbtx3BiKrbJPMscNagLBHeIWU4Q O9O+u3VyFtY31qqJp1zFAp3qT+uxrBgXM6aZ/39skqkDOs/d3suezabU9glSqDjBBI1/4dke+V6 JTDw6R56mpbchMl2xyYbrzyzCL2vgkk0RBMIgckP/JP3QZlhyXMPY0Tmn2CiWMa8qMeWLgOEx2o D/XqEA+4/r5w/1iSxDPAWNl6X2t8LZYAHlTpOG9uklimAIk3Ju2+IDkGfyLFS1lk0QnRhfBYkHq e9wpa0TYw2czq9l3J5VnZpjVidT/3nwBGdYCorPe3ViWvEHUPSM= X-Google-Smtp-Source: AGHT+IEvFeXlFl4axjeGJ6EX/bZpJ/Qp4EMYfdPMYIISIFiy56qciRYzVPh3QLCeYK4FOtmdnHELAA== X-Received: by 2002:a05:600c:1c28:b0:439:8346:506b with SMTP id 5b1f17b1804b1-43c6020847cmr19555825e9.19.1741350277744; Fri, 07 Mar 2025 04:24:37 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:ff31:f049:bd38:f7cf]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-3912bfba66esm5272915f8f.18.2025.03.07.04.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Mar 2025 04:24:37 -0800 (PST) From: luca.boccassi@gmail.com To: Chengwen Feng Cc: dpdk stable Subject: patch 'app/testpmd: show all DCB priority TC map' has been queued to stable release 22.11.8 Date: Fri, 7 Mar 2025 12:24:03 +0000 Message-ID: <20250307122431.1415551-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250307122431.1415551-1-luca.boccassi@gmail.com> References: <20250217170456.1068278-79-luca.boccassi@gmail.com> <20250307122431.1415551-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.8 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/09/25. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/6ce1d999be2fb14f834d33a758b116b485b8be24 Thanks. Luca Boccassi --- >From 6ce1d999be2fb14f834d33a758b116b485b8be24 Mon Sep 17 00:00:00 2001 From: Chengwen Feng Date: Thu, 20 Feb 2025 15:06:50 +0800 Subject: [PATCH] app/testpmd: show all DCB priority TC map [ upstream commit 164d7ac277bba10b27dd96821536e6b4a71cfebf ] Currently, the "show port dcb_tc" command displays only the mapping in the number of TCs. This patch fixes it by show all priority's TC mapping. Fixes: cd80f411a7e7 ("app/testpmd: add command to display DCB info") Signed-off-by: Chengwen Feng --- app/test-pmd/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 189bf68223..7c58fed413 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -6527,8 +6527,8 @@ port_dcb_info_display(portid_t port_id) printf("\n TC : "); for (i = 0; i < dcb_info.nb_tcs; i++) printf("\t%4d", i); - printf("\n Priority : "); - for (i = 0; i < dcb_info.nb_tcs; i++) + printf("\n Prio2TC : "); + for (i = 0; i < RTE_ETH_DCB_NUM_USER_PRIORITIES; i++) printf("\t%4d", dcb_info.prio_tc[i]); printf("\n BW percent :"); for (i = 0; i < dcb_info.nb_tcs; i++) -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-03-07 12:23:38.182131061 +0000 +++ 0004-app-testpmd-show-all-DCB-priority-TC-map.patch 2025-03-07 12:23:37.982837591 +0000 @@ -1 +1 @@ -From 164d7ac277bba10b27dd96821536e6b4a71cfebf Mon Sep 17 00:00:00 2001 +From 6ce1d999be2fb14f834d33a758b116b485b8be24 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 164d7ac277bba10b27dd96821536e6b4a71cfebf ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 08a8ab02ea..e89af21cec 100644 +index 189bf68223..7c58fed413 100644 @@ -22 +23 @@ -@@ -7273,8 +7273,8 @@ port_dcb_info_display(portid_t port_id) +@@ -6527,8 +6527,8 @@ port_dcb_info_display(portid_t port_id)