From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8930AA04C0; Fri, 11 Sep 2020 21:09:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 48ED41C1BC; Fri, 11 Sep 2020 21:07:33 +0200 (CEST) Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by dpdk.org (Postfix) with ESMTP id 3E1741C1A8 for ; Fri, 11 Sep 2020 21:07:29 +0200 (CEST) Received: by mail-pj1-f65.google.com with SMTP id b17so2133193pji.1 for ; Fri, 11 Sep 2020 12:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KzWID008IWwGazwi6ro/65WVknfVu9Ovm0vmYT7LrcE=; b=UytqLiUrtJ93kWolRJVKiGbE7by0MgJa5PC3bw2P0yeaD+k8w3q77Sz/w+2FF/SNis wQ3t3vOB0EFge7PaoTTDI20YngukUyhpBL9tcn0Pi8xTtoYVHAD5+c9G23QudBwyC0YW EJpcY1nMSByoUNZtaNbuBW+krJ62OTHccPTn4caD977dnmPdYylFBNaLTLMLjKMz7YEb phPNkbJTKLbJbBh2663YLscnJ/7/tb0mAZebNtsASfGdkPBHwwT07kM1BmJLS/X0Cyxb gzVv6S1IJBY/APXDO49hlIm9tqylozKBXY0oGXvuEC1bek9W2ZWttjKxunPN72fUpYcd MV8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KzWID008IWwGazwi6ro/65WVknfVu9Ovm0vmYT7LrcE=; b=jjP/ZbRsB0dRYqItG8bc5bj44bGXZKeSDD5uSC2akwTLoQ6ZwVyvCs+ZTWf77dk7lb mcLlv/cH48FK/stZ6N/3C3m0H5XXKoHjKBJfDnc0cSeoICNg7O34uJ1QT4n3Q5IAhwxv Tnkp3NDeqeZNQKUbQn/8FcouYaIkY27UTFX7yiBFjY+95roGzzx5YHawGKIs6xkSwZTw fC61uoTKvUlAWXiPRKHX4hwiVJbdrX08s90TgPMQbl9KE4KgbJhX5g6Rmbc1NFRF2BZF SMrTDPlAwNzD7vcYLJWEBXGSpemvRSr2s8z0xENs1aj7bUEY9n+V/s/YKRt7zVdowlvb h57w== X-Gm-Message-State: AOAM532NgGe0znNjOzOuP6GtpDxCwg74PeUMRdSbszhDQQ70jUcQQlBL MZIop3cqB0/MqIm5MwYMK+uX4d83V2tdTQ== X-Google-Smtp-Source: ABdhPJzdSjiCSH7JRo4XiYomz9x1wkjM0rCSdQ7IX/GSnz2FAceWzqI0WXmanncj9sWqu/Uswg8Jrg== X-Received: by 2002:a17:90a:2ec8:: with SMTP id h8mr3535573pjs.173.1599851248044; Fri, 11 Sep 2020 12:07:28 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z23sm2979984pfg.220.2020.09.11.12.07.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 12:07:27 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 11 Sep 2020 12:07:00 -0700 Message-Id: <20200911190701.29171-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200911190701.29171-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 14/15] examples/ipsec-secgw: replace master lcore with main lcore X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Simple replacement. Signed-off-by: Stephen Hemminger --- examples/ipsec-secgw/event_helper.c | 6 +++--- examples/ipsec-secgw/ipsec-secgw.c | 2 +- 2 files changed, 4 insertions(+), 4 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..49d8a93a12cc 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -2992,7 +2992,7 @@ 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_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MAIN); RTE_LCORE_FOREACH_SLAVE(lcore_id) { if (rte_eal_wait_lcore(lcore_id) < 0) return -1; -- 2.27.0