app/testpmd: fix start index for showing FEC array
authorKarra Satwik <kaara.satwik@chelsio.com>
Sun, 20 Dec 2020 22:47:01 +0000 (04:17 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:13 +0000 (03:30 +0100)
commit3de0881210ce974c591561da096f33a1e77c3c5f
tree90bd1941994c36c28fc06467b39c84a32f5208b6
parenta91fb48a8c248293f1035cdd8b36ad712ae9478f
app/testpmd: fix start index for showing FEC array

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")
Cc: stable@dpdk.org
Signed-off-by: Karra Satwik <kaara.satwik@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/config.c