[dpdk-dev] [PATCH v4 3/5] app/procinfo: add Rx buffer size to --show-port
Chengchang Tang
tangchengchang at huawei.com
Sat Sep 5 11:07:32 CEST 2020
Add Rx buffer size to show_port function to display it in the port PMD
information so that the user can get the buffer length used by HW queue
of receiving packets.
Signed-off-by: Chengchang Tang <tangchengchang at huawei.com>
---
app/proc-info/main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index abeca4a..e840dea 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
@@ -711,11 +711,13 @@ show_port(void)
if (ret == 0) {
printf("\t -- queue %d rx scatter %d"
" descriptors %d"
+ " rx buffer size %d"
" offloads 0x%"PRIx64
" mempool socket %d\n",
j,
queue_info.scattered_rx,
queue_info.nb_desc,
+ queue_info.rx_buf_size,
queue_info.conf.offloads,
queue_info.mp->socket_id);
}
--
2.7.4
More information about the dev
mailing list