app/testpmd: report minimum and maximum MTU
PATCH 1/1 app/testpmd: report minimum and maximum MTU
Add reporting of minimum and maximum allowed MTU on a given port to "show port info <id>" command.
Signed-off-by Dariusz Sosnowski <[email protected]>
---
This patch allowed simpler testing of mlx5 patch:
https://patches.dpdk.org/project/dpdk/patch/[email protected]/
app/test-pmd/config.c | 2 ++ 1 file changed, 2 insertions(+)
app/test-pmd/config.c +2 -0
@@ -852,6 +852,8 @@ port_infos_display(portid_t port_id)if (!rte_eth_dev_get_mtu (port_id, &mtu))printf ("MTU: %u\n" , mtu); +printf ("Minimum MTU: %u\n" , dev_info.min_mtu); +printf ("Maximum MTU: %u\n" , dev_info.max_mtu);printf ("Promiscuous mode: %s\n" ,rte_eth_promiscuous_get (port_id) ?"enabled" :"disabled" );
--
2.39.5
Stephen Hemminger
AppliedQuoted 6 lines · On Wed, 16 Jul 2025 12:28:46 +0200 Dariusz Sosnowski <[email protected]>…
Add reporting of minimum and maximum allowed MTU on a given port to "show port info <id>" command.
Signed-off-by Dariusz Sosnowski <[email protected]>---
Queued to next-net for 25.11