[PATCH v6 5/7] app/testpmd: use space separator in dump commands

Morten Brørup mb at smartsharesystems.com
Thu Oct 16 11:28:35 CEST 2025


> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Tuesday, 14 October 2025 14.34
> 
> In order to make dump commands look like other commands
> which have keywords separated with space,
> replace these commands:
> 	- dump_physmem
> 	- dump_socket_mem
> 	- dump_memzone
> 	- dump_struct_sizes
> 	- dump_ring [name]
> 	- dump_mempool [name]
> 	- dump_devargs
> 	- dump_lcores
> 	- dump_trace
> 	- dump_log_types
> with these ones:
> 	- dump physmem
> 	- dump socket_mem
> 	- dump memzone
> 	- dump struct_sizes
> 	- dump ring [name]
> 	- dump mempool [name]
> 	- dump devargs
> 	- dump lcores
> 	- dump trace
> 	- dump log_types
> 
> Both parsing functions (with and without name argument)
> are merged together.
> 
> The function cmd_dump_init() is removed
> as it seems useless to define tokens at runtime.
> 
> Trace is explicitly warned as not supported on Windows,
> because #ifndef in the tokens is not possible with MSVC.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---

Acked-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list