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 197FAA0C41 for ; Tue, 30 Nov 2021 17:41:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1361441170; Tue, 30 Nov 2021 17:41:59 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 0AE8C41170 for ; Tue, 30 Nov 2021 17:41:58 +0100 (CET) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 5FDE040009 for ; Tue, 30 Nov 2021 16:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290517; bh=yZGWgfO7KnF9jt7cb2B39VgukhcJm5zPX1rSGHCAiU8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QqOdgHHj3kKQyDU6W76LM+G32ZxPLuKhg9ifZE0WKywoBzzJufjMVyFIyo2gvDcnw KwvCJp8LnoROGFNYWzZxAswAy/M9qVkEZac/YMWh3rtSKwtoT8oH0glP4WHeUmU4Vi UsEHspQxd3txvBrnUJkVZ9WNTg/KMA15ba+Xss+8WI7q3RXFEcD0geM7iirORvLXnw WE8xckCfa+NLn/BAJx4qVkTm4kqIhYMqBLn9TQ114oMMqNosJtNmgXle52f9UJi80L r9XJoSELeYuJI5OqeVV7dbA75pJHBTIBcbixluybJwcW+ttqs0rBlzJW7g0YDlgLRI x9uPliRySoUdg== Received: by mail-ed1-f71.google.com with SMTP id v10-20020aa7d9ca000000b003e7bed57968so17413315eds.23 for ; Tue, 30 Nov 2021 08:41:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yZGWgfO7KnF9jt7cb2B39VgukhcJm5zPX1rSGHCAiU8=; b=twk4dUlfbhS//bpgyBPLs6NUeHydPNgdkcrtG33Avx13ayO0LxvREcQO0OzmQawl4X ISPvi0KYzSpRpUhPPj+A6T70Erj9AijIg6sBma0kNFnzZpTKdj2Z4wahobTeBFa7u5cy QA49Ay0A1FSCVVD+V73ucYCR+rOl0XJRr0ZAjtd4bpC3M7CNIsHoyCQ4LQ05VJonqAnb 6zfWIZcZc79vbLRrG7uhshMimmhXvdONLyHZu2X0Ans6NmZGxtcio2paa2DXxKFqZUI+ GdEySW1qESGX6sY1pLyqXFd1KU7ABZeaHjK8h1sC7R6GSTLOsZogFg5KUScygzYf3hUC w5SA== X-Gm-Message-State: AOAM531QvURNuhjC+vXOz9oHwGCNvvYkmnQ49CLAWii3xUqNfd6OVw4v JLbMRL1b6Ifnvi223UZa1LXIf8GT2eDE6DH0W+PYdnCbItkqfp+vPW0VPMpAVsfJkwEtvZjzTuD 5DJaY7SZsTde3dDkhSHXV0/Vr X-Received: by 2002:a17:906:b084:: with SMTP id x4mr266151ejy.214.1638290516880; Tue, 30 Nov 2021 08:41:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRRQqvgkpZg/lgKS3FIgU99WFTlj04WnOlQcbh11LQs9473shzqjKKtcxR/pv7jMKDG4rwWg== X-Received: by 2002:a17:906:b084:: with SMTP id x4mr266133ejy.214.1638290516659; Tue, 30 Nov 2021 08:41:56 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id ds17sm9708918ejc.45.2021.11.30.08.41.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:41:56 -0800 (PST) From: christian.ehrhardt@canonical.com To: Maxime Coquelin Cc: Xiaoyun Li , Chenbo Xia , dpdk stable Subject: patch 'app/testpmd: fix RSS type display' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:35:16 +0100 Message-Id: <20211130163605.2460997-112-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.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 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/9fbe544f6723914e3a3e5875277b4a6381615dbf Thanks. Christian Ehrhardt --- >From 9fbe544f6723914e3a3e5875277b4a6381615dbf Mon Sep 17 00:00:00 2001 From: Maxime Coquelin Date: Wed, 27 Oct 2021 16:22:11 +0200 Subject: [PATCH] app/testpmd: fix RSS type display [ upstream commit 88232b54eed87d80782aae2c0c7a3db5089e61cc ] This patch fixes the display of the RSS hash types configured in the port, which displayed "all" even if only a single type was configured Fixes: 3c90743dd3b9 ("app/testpmd: support more types for flow RSS") Signed-off-by: Maxime Coquelin Acked-by: Xiaoyun Li Reviewed-by: Chenbo Xia --- app/test-pmd/config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index a693960785..664b63e32f 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -2124,7 +2124,9 @@ port_rss_hash_conf_show(portid_t port_id, int show_rss_key) } printf("RSS functions:\n "); for (i = 0; rss_type_table[i].str; i++) { - if (rss_hf & rss_type_table[i].rss_type) + if (rss_type_table[i].rss_type == 0) + continue; + if ((rss_hf & rss_type_table[i].rss_type) == rss_type_table[i].rss_type) printf("%s ", rss_type_table[i].str); } printf("\n"); -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:12.314094153 +0100 +++ 0112-app-testpmd-fix-RSS-type-display.patch 2021-11-30 16:50:05.926874528 +0100 @@ -1 +1 @@ -From 88232b54eed87d80782aae2c0c7a3db5089e61cc Mon Sep 17 00:00:00 2001 +From 9fbe544f6723914e3a3e5875277b4a6381615dbf Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 88232b54eed87d80782aae2c0c7a3db5089e61cc ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index dde6cdcff1..5dfc8a15da 100644 +index a693960785..664b63e32f 100644 @@ -24 +25 @@ -@@ -3021,7 +3021,9 @@ port_rss_hash_conf_show(portid_t port_id, int show_rss_key) +@@ -2124,7 +2124,9 @@ port_rss_hash_conf_show(portid_t port_id, int show_rss_key)