From 48588943dc0986ac68d59152a322498de868bdd2 Mon Sep 17 00:00:00 2001 From: Huisong Li Date: Thu, 9 Jun 2022 16:52:34 +0800 Subject: [PATCH] app/testpmd: add help messages for multi-process This patch adds help messages for multi-process. --num-procs=N: set the total number of multi-process instances. --proc-id=id: set the id of the current process from multi-process instances(0 <= id < num-procs). Fixes: a550baf24af9 ("app/testpmd: support multi-process") Cc: stable@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Ferruh Yigit --- app/test-pmd/parameters.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 641c9c767e..e3c9757f3f 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -61,6 +61,9 @@ 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=N: set the total number of multi-process instances.\n"); + printf(" --proc-id=id: set the id of the current process from " + "multi-process instances (0 <= id < num-procs).\n"); 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.20.1