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 3D1DCA0524 for ; Fri, 5 Feb 2021 12:32:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 366E440682; Fri, 5 Feb 2021 12:32:31 +0100 (CET) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mails.dpdk.org (Postfix) with ESMTP id 9AA7640682 for ; Fri, 5 Feb 2021 12:32:27 +0100 (CET) Received: by mail-wr1-f44.google.com with SMTP id c12so7291345wrc.7 for ; Fri, 05 Feb 2021 03:32:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WEjR/7R3ZGnMKliSC0gIvrXq+SMAInK3rkTbyDJCNvs=; b=oVk+2GHuLghnzNdwa9HyztBw+4ejMv2nO6waAVq448bFa3zTFcvpz7YAoAfbMdv1OF 7ZuICWjiNxLt53d08mT8CxgBL1MheNZbr1vZS0ULSMu5cx3rEewX/FAhkhhSQJWukmHs AKU2430V8vxAcknMYmRqTVkYsjqeLCOjm5WhDNnWgee9X4EaeCGTFljBLtouADZX/H+t OEDX0ceR0tOR7Xa7uSGnsvZf84XPGcSr3W0PiNUE/ydkT6Kcup7veGbFx7VR+CLDuWN+ TIBZHDWLYH4CjcVMgYlFJXeq8gChxOIYGZTEecvxxSyBxRm+tpDoj97puYG4PFJc26YQ gEOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WEjR/7R3ZGnMKliSC0gIvrXq+SMAInK3rkTbyDJCNvs=; b=f7dKhmoo5OmKpRFYHzOP/1TBk8Arl5MXi966hVZh0/LA7par/oRRZBL0sYC2H44O8A eFjt/xg4ZZZHafDriSGdiSVeJmz+Vc8TztCDT9jrhElPSXHcJrs5eyYAoscXj6KrT9qO JzFH9vWJ4DRLXVxIzEErOq2gVFxDAOZKZ09m9X17aadMuEFgb3LvCviJkr9CUnX3wjGm v/V1OIig1V5n4NLfymUljw8jOfoOFMMbnsqL4QRaPQYB3TC97f4J8czrRJ/ypQJviXw5 A9u7Tzl5TWAS2MyqIdIu7pYzrML5EYB4evuNvuU5rGfSMQ+fiBBdjqK6MjzfMQ2yaPgm iM6w== X-Gm-Message-State: AOAM530Xrmv1qlQ45LqKUQeJrXwv/zSb+vKGLgxFxz9t0ZHiFMr05tFi evq2Fty2O3j3Achq1zhFe1U= X-Google-Smtp-Source: ABdhPJwqQLupPnq1kXmAnQN6uVw6mDRT7RYiNh+yvjRnPShVi6veEl0AdMW2x3ulgrhgyfR5AHj28w== X-Received: by 2002:a5d:6588:: with SMTP id q8mr4582512wru.294.1612524747431; Fri, 05 Feb 2021 03:32:27 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id d30sm13528958wrc.92.2021.02.05.03.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:32:26 -0800 (PST) From: luca.boccassi@gmail.com To: Karra Satwik Cc: Rahul Lakkireddy , Xiaoyun Li , Ferruh Yigit , dpdk stable Date: Fri, 5 Feb 2021 11:17:04 +0000 Message-Id: <20210205111920.1272063-138-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'app/testpmd: fix start index for showing FEC array' has been queued to stable release 20.11.1 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/07/21. 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/d616d6687130931cd93d6a8b10b0dbf8e9a0b3a1 Thanks. Luca Boccassi --- >From d616d6687130931cd93d6a8b10b0dbf8e9a0b3a1 Mon Sep 17 00:00:00 2001 From: Karra Satwik Date: Mon, 21 Dec 2020 04:17:01 +0530 Subject: [PATCH] app/testpmd: fix start index for showing FEC array [ upstream commit 3de0881210ce974c591561da096f33a1e77c3c5f ] Start from index 0 when going through the FEC array. This will allow "off" to get printed for RTE_ETH_FEC_NOFEC mode. Fixes: b19da32e3151 ("app/testpmd: add FEC command") Signed-off-by: Karra Satwik Signed-off-by: Rahul Lakkireddy Acked-by: Xiaoyun Li Reviewed-by: Ferruh Yigit --- app/test-pmd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 3f6c8642b1..a6a5baa4e1 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -3701,7 +3701,7 @@ show_fec_capability(unsigned int num, struct rte_eth_fec_capa *speed_fec_capa) printf("%s : ", rte_eth_link_speed_to_str(speed_fec_capa[i].speed)); - for (j = RTE_ETH_FEC_AUTO; j < RTE_DIM(fec_mode_name); j++) { + for (j = 0; j < RTE_DIM(fec_mode_name); j++) { if (RTE_ETH_FEC_MODE_TO_CAPA(j) & speed_fec_capa[i].capa) printf("%s ", fec_mode_name[j].name); -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:35.328191858 +0000 +++ 0138-app-testpmd-fix-start-index-for-showing-FEC-array.patch 2021-02-05 11:18:29.022695225 +0000 @@ -1 +1 @@ -From 3de0881210ce974c591561da096f33a1e77c3c5f Mon Sep 17 00:00:00 2001 +From d616d6687130931cd93d6a8b10b0dbf8e9a0b3a1 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 3de0881210ce974c591561da096f33a1e77c3c5f ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org