[PATCH] app/testpmd: add help messages for multi-process

Thomas Monjalon thomas at monjalon.net
Mon Feb 28 09:57:36 CET 2022


28/02/2022 04:26, Min Hu (Connor):
> --- a/app/test-pmd/parameters.c
> +++ b/app/test-pmd/parameters.c
> @@ -210,6 +210,8 @@ usage(char* progname)
>  	printf("  --hairpin-mode=0xXX: bitmask set the hairpin port mode.\n"
>  	       "    0x10 - explicit Tx rule, 0x02 - hairpin ports paired\n"
>  	       "    0x01 - hairpin ports loop, 0x00 - hairpin port self\n");
> +	printf("  --num-procs: the number of processes which will be used\n");
> +	printf("  --proc-id  : the id of the current process (id < num-procs)\n");
>  }

Can we find a better order instead of just adding these options at the end?




More information about the dev mailing list