[v3,3/4] app/procinfo: add Rx buffer size to --show-port
Checks
Commit Message
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(+)
--
2.7.4
@@ -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);
}