[PATCH v4 2/2] app/testpmd: add command to process Rx metadata negotiation

Stephen Hemminger stephen at networkplumber.org
Tue Dec 20 22:23:05 CET 2022


On Wed, 21 Dec 2022 01:32:50 +0530
Hanumanth Pothula <hpothula at marvell.com> wrote:

> @@ -12851,6 +12908,7 @@ static cmdline_parse_ctx_t builtin_ctx[] = {
>  	(cmdline_parse_inst_t *)&cmd_show_capability,
>  	(cmdline_parse_inst_t *)&cmd_set_flex_is_pattern,
>  	(cmdline_parse_inst_t *)&cmd_set_flex_spec_pattern,
> +	(cmdline_parse_inst_t *)&cmd_config_port_rx_metadata_parse,
>  	NULL,
>  };
>  

Why are all these casts necessary? the function should match the prototype.


More information about the dev mailing list