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

Min Hu (Connor) humin29 at huawei.com
Tue Mar 1 04:41:21 CET 2022


Hi, Thomas,
	I have adjust the postions in v2. I think the new postion will
be OK.
	Thanks.

在 2022/2/28 16:57, Thomas Monjalon 写道:
> 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