DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
	Anatoly Burakov <anatoly.burakov@intel.com>
Subject: [dpdk-dev] [PATCH v2 16/17] examples/ipsec-secgw: replace master lcore with main lcore
Date: Mon, 14 Sep 2020 11:20:01 -0700
Message-ID: <20200914182002.6750-17-stephen@networkplumber.org> (raw)
In-Reply-To: <20200914182002.6750-1-stephen@networkplumber.org>

Simple replacement.

Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 examples/ipsec-secgw/event_helper.c | 6 +++---
 examples/ipsec-secgw/ipsec-secgw.c  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/examples/ipsec-secgw/event_helper.c b/examples/ipsec-secgw/event_helper.c
index 865dc911b864..bd60f0359b59 100644
--- a/examples/ipsec-secgw/event_helper.c
+++ b/examples/ipsec-secgw/event_helper.c
@@ -1461,16 +1461,16 @@ eh_conf_init(void)
 
 	/* Set two cores as eth cores for Rx & Tx */
 
-	/* Use first core other than master core as Rx core */
+	/* Use first core other than main core as Rx core */
 	eth_core_id = rte_get_next_lcore(0,	/* curr core */
-					 1,	/* skip master core */
+					 1,	/* skip main core */
 					 0	/* wrap */);
 
 	rte_bitmap_set(em_conf->eth_core_mask, eth_core_id);
 
 	/* Use next core as Tx core */
 	eth_core_id = rte_get_next_lcore(eth_core_id,	/* curr core */
-					 1,		/* skip master core */
+					 1,		/* skip main core */
 					 0		/* wrap */);
 
 	rte_bitmap_set(em_conf->eth_core_mask, eth_core_id);
diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
index 8ba15d23c7e8..339221eecf55 100644
--- a/examples/ipsec-secgw/ipsec-secgw.c
+++ b/examples/ipsec-secgw/ipsec-secgw.c
@@ -2992,8 +2992,8 @@ main(int32_t argc, char **argv)
 #endif /* STATS_INTERVAL */
 
 	/* launch per-lcore init on every lcore */
-	rte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MASTER);
-	RTE_LCORE_FOREACH_SLAVE(lcore_id) {
+	rte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MAIN);
+	RTE_LCORE_FOREACH_WORKER(lcore_id) {
 		if (rte_eal_wait_lcore(lcore_id) < 0)
 			return -1;
 	}
-- 
2.27.0


  parent reply	other threads:[~2020-09-14 18:22 UTC|newest]

Thread overview: 157+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-11 19:06 [dpdk-dev] [PATCH 00/15] Replace terms master/slave lcore with main/worker lcore Stephen Hemminger
2020-09-11 19:06 ` [dpdk-dev] [PATCH 01/15] eal: add macro to mark macros as deprecated Stephen Hemminger
2020-09-14  8:43   ` Bruce Richardson
2020-09-11 19:06 ` [dpdk-dev] [PATCH 02/15] eal: rename lcore word choices Stephen Hemminger
2020-09-14 14:40   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 03/15] rte_power: replace rte_master_lcore with rte_main_lcore Stephen Hemminger
2020-09-14 14:41   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 04/15] drivers: replace master lcore with main lcore Stephen Hemminger
2020-09-14 14:42   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 05/15] doc: " Stephen Hemminger
2020-09-14 14:56   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 06/15] app/test: replace uses of master/slave Stephen Hemminger
2020-09-14 15:02   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 07/15] app/test-pmd: replace master lcore with main lcore Stephen Hemminger
2020-09-14 15:04   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 08/15] app/test-eventdev: replace use of " Stephen Hemminger
2020-09-14 15:07   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 09/15] app: replace references to master/slave Stephen Hemminger
2020-09-14 15:10   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 10/15] examples: replace use of master with main Stephen Hemminger
2020-09-14 15:14   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 11/15] examples/multi_process: replace references to master/slave Stephen Hemminger
2020-09-14 15:16   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 12/15] examples/performance-thread: replace reference to master lcore Stephen Hemminger
2020-09-14 15:17   ` Burakov, Anatoly
2020-09-11 19:06 ` [dpdk-dev] [PATCH 13/15] examples/qos: replace references to master Stephen Hemminger
2020-09-14 15:18   ` Burakov, Anatoly
2020-09-11 19:07 ` [dpdk-dev] [PATCH 14/15] examples/ipsec-secgw: replace master lcore with main lcore Stephen Hemminger
2020-09-14 15:19   ` Burakov, Anatoly
2020-09-11 19:07 ` [dpdk-dev] [PATCH 15/15] examples: " Stephen Hemminger
2020-09-14 15:26   ` Burakov, Anatoly
2020-09-14 18:19 ` [dpdk-dev] [PATCH v2 00/17] Replace terms master/slave Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 01/17] doc/coding_style: add policy about master/slave Stephen Hemminger
2020-09-15  9:46     ` Burakov, Anatoly
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 02/17] eal: add macro to mark macros as deprecated Stephen Hemminger
2020-09-15  9:48     ` Burakov, Anatoly
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 03/17] eal: rename lcore word choices Stephen Hemminger
2020-09-15  9:57     ` Burakov, Anatoly
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 04/17] rte_power: replace rte_master_lcore with rte_main_lcore Stephen Hemminger
2020-09-15  9:57     ` Burakov, Anatoly
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 05/17] drivers: replace master lcore with main lcore Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 06/17] net/memif: replace master/slave arguments with server/client Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 07/17] doc: replace master lcore with main lcore Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 08/17] app/test: replace uses of master/slave Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 09/17] app/test-pmd: replace master lcore with main lcore Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 10/17] app/test-eventdev: replace use of " Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 11/17] app: replace references to master/slave Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 12/17] examples: replace use of master with main Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 13/17] examples/multi_process: replace references to master/slave Stephen Hemminger
2020-09-14 18:19   ` [dpdk-dev] [PATCH v2 14/17] examples/performance-thread: replace reference to master lcore Stephen Hemminger
2020-09-14 18:20   ` [dpdk-dev] [PATCH v2 15/17] examples/qos: replace references to master Stephen Hemminger
2020-09-14 18:20   ` Stephen Hemminger [this message]
2020-09-14 18:20   ` [dpdk-dev] [PATCH v2 17/17] examples: replace master lcore with main lcore Stephen Hemminger
2020-09-15 10:09   ` [dpdk-dev] [PATCH v2 00/17] Replace terms master/slave Burakov, Anatoly
2020-10-13 15:25   ` [dpdk-dev] [PATCH v5 00/18] " Stephen Hemminger
2020-10-13 15:25     ` [dpdk-dev] [PATCH v5 01/18] doc/coding_style: add policy about master/slave Stephen Hemminger
2020-10-13 15:25     ` [dpdk-dev] [PATCH v5 02/18] eal: add macro to mark macros as deprecated Stephen Hemminger
2020-10-13 15:25     ` [dpdk-dev] [PATCH v5 03/18] eal: rename lcore word choices Stephen Hemminger
2020-10-13 15:25     ` [dpdk-dev] [PATCH v5 04/18] rte_power: replace rte_master_lcore with rte_main_lcore Stephen Hemminger
2020-10-13 15:25     ` [dpdk-dev] [PATCH v5 05/18] drivers: replace master lcore with main lcore Stephen Hemminger
2020-10-13 17:00       ` [dpdk-dev] [EXT] " Liron Himi
2020-10-13 15:25     ` [dpdk-dev] [PATCH v5 06/18] net/memif: replace master/slave arguments with server/client Stephen Hemminger
2020-10-13 15:25     ` [dpdk-dev] [PATCH v5 07/18] doc: replace master lcore with main lcore Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 08/18] app/test: replace uses of master/slave Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 09/18] app/test-pmd: replace master lcore with main lcore Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 10/18] app/test-eventdev: replace use of " Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 11/18] app: replace references to master/slave Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 12/18] examples: replace use of master with main Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 13/18] examples/multi_process: replace references to master/slave Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 14/18] examples/performance-thread: replace reference to master lcore Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 15/18] examples/qos: replace references to master Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 16/18] examples/ipsec-secgw: replace master lcore with main lcore Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 17/18] examples/pipeline: fix master/slave usage Stephen Hemminger
2020-10-13 15:26     ` [dpdk-dev] [PATCH v5 18/18] examples: replace master lcore with main lcore Stephen Hemminger
2020-09-15 15:10 ` [dpdk-dev] [PATCH v3 00/17] Replace terms master/slave Stephen Hemminger
2020-09-15 15:10   ` [dpdk-dev] [PATCH v3 01/17] doc/coding_style: add policy about master/slave Stephen Hemminger
2020-09-15 15:10   ` [dpdk-dev] [PATCH v3 02/17] eal: add macro to mark macros as deprecated Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 03/17] eal: rename lcore word choices Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 04/17] rte_power: replace rte_master_lcore with rte_main_lcore Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 05/17] drivers: replace master lcore with main lcore Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 06/17] net/memif: replace master/slave arguments with server/client Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 07/17] doc: replace master lcore with main lcore Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 08/17] app/test: replace uses of master/slave Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 09/17] app/test-pmd: replace master lcore with main lcore Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 10/17] app/test-eventdev: replace use of " Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 11/17] app: replace references to master/slave Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 12/17] examples: replace use of master with main Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 13/17] examples/multi_process: replace references to master/slave Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 14/17] examples/performance-thread: replace reference to master lcore Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 15/17] examples/qos: replace references to master Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 16/17] examples/ipsec-secgw: replace master lcore with main lcore Stephen Hemminger
2020-09-15 15:11   ` [dpdk-dev] [PATCH v3 17/17] examples: " Stephen Hemminger
2020-09-15 15:58   ` [dpdk-dev] [PATCH v3 00/17] Replace terms master/slave Stephen Hemminger
2020-09-16  9:31   ` Burakov, Anatoly
2020-10-09 21:38 ` [dpdk-dev] [PATCH v4 " Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 01/17] doc/coding_style: add policy about master/slave Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 02/17] eal: add macro to mark macros as deprecated Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 03/17] eal: rename lcore word choices Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 04/17] rte_power: replace rte_master_lcore with rte_main_lcore Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 05/17] drivers: replace master lcore with main lcore Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 06/17] net/memif: replace master/slave arguments with server/client Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 07/17] doc: replace master lcore with main lcore Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 08/17] app/test: replace uses of master/slave Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 09/17] app/test-pmd: replace master lcore with main lcore Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 10/17] app/test-eventdev: replace use of " Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 11/17] app: replace references to master/slave Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 12/17] examples: replace use of master with main Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 13/17] examples/multi_process: replace references to master/slave Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 14/17] examples/performance-thread: replace reference to master lcore Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 15/17] examples/qos: replace references to master Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 16/17] examples/ipsec-secgw: replace master lcore with main lcore Stephen Hemminger
2020-10-09 21:38   ` [dpdk-dev] [PATCH v4 17/17] examples: " Stephen Hemminger
2020-10-09 21:55   ` [dpdk-dev] [PATCH v4 00/17] Replace terms master/slave Stephen Hemminger
2020-10-13  9:31     ` David Marchand
2020-10-14 15:27 ` [dpdk-dev] [PATCH v6 00/18] " Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 01/18] doc/coding_style: add policy about master/slave Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 02/18] eal: add macro to mark macros as deprecated Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 03/18] eal: rename lcore word choices Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 04/18] rte_power: replace rte_master_lcore with rte_main_lcore Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 05/18] drivers: replace master lcore with main lcore Stephen Hemminger
2020-10-14 15:35     ` Ajit Khaparde
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 06/18] net/memif: replace master/slave arguments with server/client Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 07/18] doc: replace master lcore with main lcore Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 08/18] app/test: replace uses of master/slave Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 09/18] app/test-pmd: replace master lcore with main lcore Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 10/18] app/test-eventdev: replace use of " Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 11/18] app: replace references to master/slave Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 12/18] examples: replace use of master with main Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 13/18] examples/multi_process: replace references to master/slave Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 14/18] examples/performance-thread: replace reference to master lcore Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 15/18] examples/qos: replace references to master Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 16/18] examples/ipsec-secgw: replace master lcore with main lcore Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 17/18] examples/pipeline: fix master/slave usage Stephen Hemminger
2020-10-14 15:27   ` [dpdk-dev] [PATCH v6 18/18] examples: replace master lcore with main lcore Stephen Hemminger
2020-10-15 22:57 ` [dpdk-dev] [PATCH v7 00/20] Replace terms master/slave Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 01/20] doc/coding_style: add policy about master/slave Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 02/20] eal: add macro to mark macros as deprecated Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 03/20] eal: rename lcore word choices Stephen Hemminger
2020-10-20 10:21     ` Thomas Monjalon
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 04/20] rte_power: replace rte_master_lcore with rte_main_lcore Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 05/20] drivers: replace master lcore with main lcore Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 06/20] net/memif: replace master/slave arguments with server/client Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 07/20] doc: replace master lcore with main lcore Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 08/20] app/test: replace uses of master/slave Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 09/20] app/test-pmd: replace master lcore with main lcore Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 10/20] app/test-eventdev: replace use of " Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 11/20] app: replace references to master/slave Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 12/20] examples: replace use of master with main Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 13/20] examples/multi_process: replace references to master/slave Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 14/20] examples/performance-thread: replace reference to master lcore Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 15/20] examples/qos: replace references to master Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 16/20] examples/ipsec-secgw: replace master lcore with main lcore Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 17/20] examples/pipeline: fix master/slave usage Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 18/20] examples: replace master lcore with main lcore Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 19/20] drivers/octeontx2: replace master/slave wording Stephen Hemminger
2020-10-15 22:57   ` [dpdk-dev] [PATCH v7 20/20] drivers/failsafe: replace references to slave devices Stephen Hemminger
2020-10-20 10:23   ` [dpdk-dev] [PATCH v7 00/20] Replace terms master/slave Thomas Monjalon

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=20200914182002.6750-17-stephen@networkplumber.org \
    --to=stephen@networkplumber.org \
    --cc=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    /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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git