Hi Connor,

> -----Original Message-----
> From: Min Hu (Connor) <humi...@huawei.com>
> Sent: Friday, March 4, 2022 9:28 AM
> To: dev@dpdk.org
> Cc: Huisong Li <lihuis...@huawei.com>; sta...@dpdk.org; Min Hu
> <humi...@huawei.com>; Li, Xiaoyun <xiaoyun...@intel.com>; Singh, Aman
> Deep <aman.deep.si...@intel.com>; Zhang, Yuying <yuying.zh...@intel.com>;
> Ajit Khaparde <ajit.khapa...@broadcom.com>; Andrew Rybchenko
> <andrew.rybche...@oktetlabs.ru>; Yigit, Ferruh <ferruh.yi...@intel.com>
> Subject: [PATCH v4] app/testpmd: add help messages for multi-process
> 
> From: Huisong Li <lihuis...@huawei.com>
> 
> This patch adds help messages for multi-process.
> --num-procs <N>, where N is the total number of symmetric_mp instances that
> will be run side-by-side to perform packet processing. This parameter is used 
> to
> configure the appropriate number of receive queues on each network port.
> 
> --proc-id <n>, where n is a numeric value in the range 0 <= n < N (number of
> processes, specified above). This identifies which symmetric_mp instance is
> being run, so that each process can read a unique receive queue on each
> network port.
> 
> Fixes: a550baf24af9 ("app/testpmd: support multi-process")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Huisong Li <lihuis...@huawei.com>
> Signed-off-by: Min Hu (Connor) <humi...@huawei.com>
> ---
> v4:
> * update description for parameters.
> v3,v2:
> * adjust the position of parameters.
> ---
>  app/test-pmd/parameters.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index
> daf6a31b2b..908e8a15f5 100644
> --- a/app/test-pmd/parameters.c
> +++ b/app/test-pmd/parameters.c
> @@ -61,6 +61,8 @@ usage(char* progname)
>              "extended statistics to show. Used with --stats-period "
>              "specified or interactive commands that show Rx/Tx statistics "
>              "(i.e. 'show port stats').\n");
> +     printf("  --num-procs: the total number of symmetric_mp instances that
> will be run side-by-side\n");
> +     printf("  --proc-id  : the id of the current process (id < num-procs)
> +to identify which symmetric_mp instance is being run\n");

Could you delete the space before colon?

>       printf("  --nb-cores=N: set the number of forwarding cores "
>              "(1 <= N <= %d).\n", nb_lcores);
>       printf("  --nb-ports=N: set the number of forwarding ports "
> --
> 2.33.0

Reply via email to