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 87DD7A0093 for ; Thu, 17 Mar 2022 15:17:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31F1F41145; Thu, 17 Mar 2022 15:17:56 +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 BF1784067B for ; Thu, 17 Mar 2022 15:17:54 +0100 (CET) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 77A023F1E5 for ; Thu, 17 Mar 2022 14:17:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647526674; bh=f+h3xvPNU4EGPM2A2tzUIrYt3WoyobPpl5/Vi7fhbbY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jj16lq8Aatn4yEbUB6aClW7fN/3EzzlmFHkVgJFxY7BMHMOj99EPHJtaL1W+ytVpw kTfAffA9gtqZukFrex8zIhlLEVBVr6/NnRSpTi1XhlL1jubCMUrACytxSpFkcX8tDV uMCnPF1+VQrJrcO2M9bpJ+SfeEif9TmEtGW87EcdVsgEvBuLwllPBs3AzUQDrA7r6e nTzXq315zWiKmxWKS1mJEqUyrfu0cipuXcHkPH/SmBmX+iC6jAAMPx1W/SJg2ads22 hDr1KtMBzBruaQnIoNEHSwNVm0OJfUbiFU0/8JX6erljnWFNP0FhlQlBUMUuFj+vBZ JEfQJbqX+XJdg== Received: by mail-ed1-f70.google.com with SMTP id b71-20020a509f4d000000b00418d658e9d1so3164510edf.19 for ; Thu, 17 Mar 2022 07:17:54 -0700 (PDT) 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=f+h3xvPNU4EGPM2A2tzUIrYt3WoyobPpl5/Vi7fhbbY=; b=QQIysWohjL2hWh6kN2DmDCYCLkZsgY2veeP4MsJlLTNPwUGWZ7ek8axBU9Kl4ZOW4a B0VFDIWzhdQXRewFtP9LApE/ZGZpO3iVGj8mjlFUyNA5CB1ZwiPBe+Yfxq2uKHIeNGDN FGksNpvAdqKHieZognwJf66gIqExCvUIGnaxRspU9Qem9Aa0+9ZNU3zj22OSYpq+p/5v G0WTWCNZX2Jy9+7the/89/tsAjobx1cpKuJ8eu8YCgg2ikh0hApXz/Z0kh0Yio9ACj0D vcjGsQUbvS0MIpJiMyfJpLGrbmcX4maPT4zsDC1E4GZWTOuMYONtMazcB7F+2wgeUTZq shEg== X-Gm-Message-State: AOAM5330Cst7aYjcpWSoyyJeAGnqJzDCKAmUCXAkgfBULnJQtLWQue9b fVziwG2cm538dsbj/PXdGnHR9F3exv+sQLFq3y670uShTzAoEMYIj8Qh7qygSeopyQ4fYI8GBwD CXG42QewP2V7TJPCx4oPzG7tI X-Received: by 2002:a17:906:c151:b0:6db:2b7f:302f with SMTP id dp17-20020a170906c15100b006db2b7f302fmr4743161ejc.4.1647526673751; Thu, 17 Mar 2022 07:17:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkaSMd0dF3UVGl6i4pQ+2Ree9ZuFewrWZutiMX1L4Lqz0Dc2EFs65mh9b3ZlBZCpoevaTGoQ== X-Received: by 2002:a17:906:c151:b0:6db:2b7f:302f with SMTP id dp17-20020a170906c15100b006db2b7f302fmr4743143ejc.4.1647526673486; Thu, 17 Mar 2022 07:17:53 -0700 (PDT) Received: from localhost.localdomain (068-133-067-156.ip-addr.inexio.net. [156.67.133.68]) by smtp.gmail.com with ESMTPSA id h22-20020a1709062dd600b006dac66b8076sm2382541eji.95.2022.03.17.07.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 07:17:53 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Adham Masarwah Cc: Aman Singh , dpdk stable Subject: patch 'app/testpmd: fix show RSS RETA on Windows' has been queued to stable release 19.11.12 Date: Thu, 17 Mar 2022 15:17:41 +0100 Message-Id: <20220317141747.1955930-3-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220317141747.1955930-1-christian.ehrhardt@canonical.com> References: <20220317141747.1955930-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.12 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/19/22. 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/61f29e70737e3a20541cc4fc07589436a14c7972 Thanks. Christian Ehrhardt --- >From 61f29e70737e3a20541cc4fc07589436a14c7972 Mon Sep 17 00:00:00 2001 From: Adham Masarwah Date: Sun, 13 Mar 2022 14:57:02 +0200 Subject: [PATCH] app/testpmd: fix show RSS RETA on Windows [ upstream commit 5aae2723cddba81b179162b5e7e4f6bd429eaac5 ] Replaced using strtoul with strtoull when converting to 64-bit mask field. In Windows strtoul returns 32-bit values which cause an issue with show RSS RETA. Fixes: 66c594904ac ("ethdev: support multiple sizes of redirection table") Signed-off-by: Adham Masarwah Acked-by: Aman Singh --- app/test-pmd/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index e5e922dda1..3a2ba414c8 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -3062,7 +3062,7 @@ showport_parse_reta_config(struct rte_eth_rss_reta_entry64 *conf, return -1; } for (i = 0; i < ret; i++) - conf[i].mask = (uint64_t)strtoul(str_fld[i], &end, 0); + conf[i].mask = (uint64_t)strtoull(str_fld[i], &end, 0); return 0; } -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-17 14:33:42.061851270 +0100 +++ 0003-app-testpmd-fix-show-RSS-RETA-on-Windows.patch 2022-03-17 14:33:41.868623019 +0100 @@ -1 +1 @@ -From 5aae2723cddba81b179162b5e7e4f6bd429eaac5 Mon Sep 17 00:00:00 2001 +From 61f29e70737e3a20541cc4fc07589436a14c7972 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5aae2723cddba81b179162b5e7e4f6bd429eaac5 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index 7ab0575e64..6ffea8e21a 100644 +index e5e922dda1..3a2ba414c8 100644 @@ -24 +25 @@ -@@ -3127,7 +3127,7 @@ showport_parse_reta_config(struct rte_eth_rss_reta_entry64 *conf, +@@ -3062,7 +3062,7 @@ showport_parse_reta_config(struct rte_eth_rss_reta_entry64 *conf,