This patch fix the mixed use of RX/Rx/TX/Tx in testpmd command "show config
rxtx" output by change to unified use Rx/Tx.
Signed-off-by: Hongbo Zheng <zhenghong...@huawei.com>
Signed-off-by: Lijun Ou <ouli...@huawei.com>
---
app/test-pmd/config.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index
576d5ac..2435c26 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -2505,7 +2505,7 @@ rxtx_config_display(void)
int32_t rc;
/* per port config */
- printf(" port %d: RX queue number: %d Tx queue
number: %d\n",
+ printf(" port %d: Rx queue number: %d Tx queue number: %d\n",
(unsigned int)pid, nb_rxq, nb_txq);
printf(" Rx offloads=0x%"PRIx64" Tx offloads=0x%"PRIx64"\n",
@@ -2533,13 +2533,13 @@ rxtx_config_display(void)
offloads_tmp = rx_qinfo.conf.offloads;
}
- printf(" RX queue: %d\n", qid);
- printf(" RX desc=%d - RX free threshold=%d\n",
+ printf(" Rx queue: %d\n", qid);
+ printf(" Rx desc=%d - Rx free threshold=%d\n",
nb_rx_desc_tmp, rx_free_thresh_tmp);
- printf(" RX threshold registers: pthresh=%d
hthresh=%d "
+ printf(" Rx threshold registers: pthresh=%d
hthresh=%d "
" wthresh=%d\n",
pthresh_tmp, hthresh_tmp, wthresh_tmp);
- printf(" RX Offloads=0x%"PRIx64"\n", offloads_tmp);
+ printf(" Rx Offloads=0x%"PRIx64"\n", offloads_tmp);
}
/* per tx queue config only for first queue to be less verbose
*/
@@ -2565,13 +2565,13 @@ rxtx_config_display(void)
tx_rs_thresh_tmp = tx_qinfo.conf.tx_rs_thresh;
}
- printf(" TX queue: %d\n", qid);
- printf(" TX desc=%d - TX free threshold=%d\n",
+ printf(" Tx queue: %d\n", qid);
+ printf(" Tx desc=%d - Tx free threshold=%d\n",
nb_tx_desc_tmp, tx_free_thresh_tmp);
- printf(" TX threshold registers: pthresh=%d
hthresh=%d "
+ printf(" Tx threshold registers: pthresh=%d
hthresh=%d "
" wthresh=%d\n",
pthresh_tmp, hthresh_tmp, wthresh_tmp);
- printf(" TX offloads=0x%"PRIx64" - TX RS bit
threshold=%d\n",
+ printf(" Tx offloads=0x%"PRIx64" - Tx RS bit
threshold=%d\n",
offloads_tmp, tx_rs_thresh_tmp);
}
}
--
2.7.4