[dpdk-stable] patch 'app/testpmd: fix start index for showing FEC array' has been queued to stable release 20.11.1

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Feb 5 12:17:04 CET 2021


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 <kaara.satwik at chelsio.com>
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 <kaara.satwik at chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy at chelsio.com>
Acked-by: Xiaoyun Li <xiaoyun.li at intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
 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 at dpdk.org


More information about the stable mailing list