DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhang, Yuying" <yuying.zhang@intel.com>
To: "Min Hu (Connor)" <humin29@huawei.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: Huisong Li <lihuisong@huawei.com>,
	"stable@dpdk.org" <stable@dpdk.org>,
	"Li, Xiaoyun" <xiaoyun.li@intel.com>,
	"Singh, Aman Deep" <aman.deep.singh@intel.com>,
	Ajit Khaparde <ajit.khaparde@broadcom.com>,
	Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
	"Yigit, Ferruh" <ferruh.yigit@intel.com>
Subject: RE: [PATCH v4] app/testpmd: add help messages for multi-process
Date: Fri, 4 Mar 2022 02:50:05 +0000	[thread overview]
Message-ID: <DM6PR11MB3516FD7749A406EBD1E8234F8E059@DM6PR11MB3516.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220304012748.53004-1-humin29@huawei.com>

Hi Connor,

> -----Original Message-----
> From: Min Hu (Connor) <humin29@huawei.com>
> Sent: Friday, March 4, 2022 9:28 AM
> To: dev@dpdk.org
> Cc: Huisong Li <lihuisong@huawei.com>; stable@dpdk.org; Min Hu
> <humin29@huawei.com>; Li, Xiaoyun <xiaoyun.li@intel.com>; Singh, Aman
> Deep <aman.deep.singh@intel.com>; Zhang, Yuying <yuying.zhang@intel.com>;
> Ajit Khaparde <ajit.khaparde@broadcom.com>; Andrew Rybchenko
> <andrew.rybchenko@oktetlabs.ru>; Yigit, Ferruh <ferruh.yigit@intel.com>
> Subject: [PATCH v4] app/testpmd: add help messages for multi-process
> 
> From: Huisong Li <lihuisong@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: stable@dpdk.org
> 
> Signed-off-by: Huisong Li <lihuisong@huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29@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	other threads:[~2022-03-04  2:50 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-28  3:26 [PATCH] " Min Hu (Connor)
2022-02-28  8:57 ` Thomas Monjalon
2022-03-01  3:41   ` Min Hu (Connor)
2022-03-01  8:36     ` Thomas Monjalon
2022-03-01  9:19       ` Min Hu (Connor)
2022-03-01  3:39 ` [PATCH v2] " Min Hu (Connor)
2022-03-01  8:35   ` Thomas Monjalon
2022-03-01  9:17     ` Min Hu (Connor)
2022-03-01  9:16 ` [PATCH v3] " Min Hu (Connor)
2022-03-03 12:09   ` Ferruh Yigit
2022-03-03 14:59     ` Ajit Khaparde
2022-03-04  1:28     ` Min Hu (Connor)
2022-03-04  1:22 ` [PATCH] 1 version Min Hu (Connor)
2022-03-04  1:22   ` [PATCH] app/testpmd: add help messages for multi-process Min Hu (Connor)
2022-03-04  1:25     ` Min Hu (Connor)
2022-03-04  1:22   ` [PATCH] dpdk: show dev basic info Min Hu (Connor)
2022-03-04  1:25     ` Min Hu (Connor)
2022-03-04  1:22   ` [PATCH v4] ethdev: introduce dump API Min Hu (Connor)
2022-03-04  1:26     ` Min Hu (Connor)
2022-03-04  1:22   ` [PATCH] net/bonding: fix slaves initializing on mtu setting Min Hu (Connor)
2022-03-04  1:27     ` Min Hu (Connor)
2022-03-04  1:25   ` [PATCH] 1 version Min Hu (Connor)
2022-03-04  1:27 ` [PATCH v4] app/testpmd: add help messages for multi-process Min Hu (Connor)
2022-03-04  2:50   ` Zhang, Yuying [this message]
2022-03-04  6:29     ` Min Hu (Connor)
2022-03-04  6:26 ` [PATCH v5] " Min Hu (Connor)
2022-03-04  9:11   ` Zhang, Yuying
2022-03-04 15:35     ` Ferruh Yigit
2022-03-06 22:52       ` Thomas Monjalon
2022-03-07  1:05         ` Min Hu (Connor)
2022-03-04 14:46   ` Ferruh Yigit
2022-03-07  1:04 ` Min Hu (Connor)
2022-04-25  6:51   ` Min Hu (Connor)
2022-06-02  2:24   ` Min Hu (Connor)
2022-06-02 23:08     ` Ferruh Yigit
2022-06-09  8:07       ` Dongdong Liu
2022-06-09  8:52 ` [PATCH v6] " Dongdong Liu
2022-06-09 14:06   ` Ferruh Yigit
2022-06-09 14:58     ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR11MB3516FD7749A406EBD1E8234F8E059@DM6PR11MB3516.namprd11.prod.outlook.com \
    --to=yuying.zhang@intel.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=aman.deep.singh@intel.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=humin29@huawei.com \
    --cc=lihuisong@huawei.com \
    --cc=stable@dpdk.org \
    --cc=xiaoyun.li@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).