[dpdk-dev] [PATCH v3 3/4] app/procinfo: add Rx buffer size to --show-port
From: Chengchang Tang <tangchengchang@huawei.com>
Date: 2020-08-29 07:15:51
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Chengchang Tang <tangchengchang@huawei.com>
Date: 2020-08-29 07:15:51
Subsystem:
the rest · Maintainer:
Linus Torvalds
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@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