Add maximum Rx buffer size display.

Signed-off-by: Huisong Li <lihuis...@huawei.com>
---
 app/test-pmd/config.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 11f3a22048..e0a11a35fe 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -880,6 +880,8 @@ port_infos_display(portid_t port_id)
        }
 
        printf("Minimum size of RX buffer: %u\n", dev_info.min_rx_bufsize);
+       if (dev_info.max_rx_bufsize != UINT32_MAX)
+               printf("Maximum size of RX buffer: %u\n", 
dev_info.max_rx_bufsize);
        printf("Maximum configurable length of RX packet: %u\n",
                dev_info.max_rx_pktlen);
        printf("Maximum configurable size of LRO aggregated packet: %u\n",
-- 
2.33.0

Reply via email to