Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/77749/?format=api
http://patches.dpdk.org/api/patches/77749/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200915151114.12024-17-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20200915151114.12024-17-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20200915151114.12024-17-stephen@networkplumber.org", "date": "2020-09-15T15:11:13", "name": "[v3,16/17] examples/ipsec-secgw: replace master lcore with main lcore", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ef1c68f765abeff5421ffcb767c628658afd7f5f", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200915151114.12024-17-stephen@networkplumber.org/mbox/", "series": [ { "id": 12238, "url": "http://patches.dpdk.org/api/series/12238/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12238", "date": "2020-09-15T15:11:09", "name": "Replace terms master/slave", "version": 3, "mbox": "http://patches.dpdk.org/series/12238/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/77749/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/77749/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B9FBAA04C7;\n\tTue, 15 Sep 2020 17:20:27 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 182601C137;\n\tTue, 15 Sep 2020 17:19:35 +0200 (CEST)", "from mail-pl1-f195.google.com (mail-pl1-f195.google.com\n [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id BED821C10C\n for <dev@dpdk.org>; Tue, 15 Sep 2020 17:19:33 +0200 (CEST)", "by mail-pl1-f195.google.com with SMTP id c3so1515124plz.5\n for <dev@dpdk.org>; Tue, 15 Sep 2020 08:19:33 -0700 (PDT)", "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n by smtp.gmail.com with ESMTPSA id c127sm13742278pfa.165.2020.09.15.08.11.48\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 15 Sep 2020 08:11:49 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=1gz3kmI1EzHhv6feLfB9aVZr6+kuS/rBjRm2KdjL7qM=;\n b=mvBmLKCZEa0+haiXNqcuT4avxwovUx6IB318kLNT86Gsn5rd2UqSZd60ZFSEFpaM4U\n 22Ge16g0XmgJibolS3NrzgqQRt0j8QVKs1UHrA6M8ls6w9bl2TE0Ba7wCVFAGpOXbRd1\n O02Eo5XQ3kOuIpEi5ej4oSTwYSgR63h1o82enU/hCV4eRRSgY5RXqKTRRbJUuect1HTK\n 7QeB63//FvnlRkpQFQr1LdtZhrocfBJ5AMVxz3QpzrIuDqXDzFjdvRg3uHBRahR/T4ev\n z0yNSSPeIDvnwKNOr2i+sJKiubK5+g/gP0TRq4XQm7ak+3JlO4d16kXoVnAfOuoVwKAS\n f7cw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=1gz3kmI1EzHhv6feLfB9aVZr6+kuS/rBjRm2KdjL7qM=;\n b=AerndwPPQmIU1aHlJjtEZ717RNg6tbBrVNzzQ2fQUOhkfnoWV4WkaJqTCgoMg62IT2\n kBiNo/oyZKHvOup+cMVIhAtSO5EXPCHw+MBexobMtANMqa8IVn30A3JhfJdVCN1psQDA\n UH/XxubTR55hVYt8AeeD8GDeY6jhtXOJc+wb5EL63OUdZP3zEJfyonUGAS+sn0mGyoZZ\n ZlkDxt6wjy62GbRWBEMv8YItabkguPgjAz/Ei1CZqbrSjF4oxPOq3cnsn+fWSASlJWp9\n b89j3rCgIcR2Sv649F5CqG1GaC0i+RMUg9U2kDvhwKCo/tbBuB4uRKjn177NQ3+o6qax\n 8Qtg==", "X-Gm-Message-State": "AOAM531S1OS3MLx2Q6ox7h793UKOkSOym7NhgcvRjQvMoN+kEd2uw+SK\n gBZIzjHdCkYvWS3K9uOVMhQaOtBzlfZQ5Q==", "X-Google-Smtp-Source": "\n ABdhPJzEJDhbpgTB+9pShjLmdUcQ5BKrsksLM8VSVdAuDRkhijosrB/Zfe0tvKaPVWsJsOGppRhRVw==", "X-Received": "by 2002:a17:902:eb03:b029:d1:8c50:aafb with SMTP id\n l3-20020a170902eb03b02900d18c50aafbmr19987405plb.29.1600182709785;\n Tue, 15 Sep 2020 08:11:49 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Anatoly Burakov <anatoly.burakov@intel.com>", "Date": "Tue, 15 Sep 2020 08:11:13 -0700", "Message-Id": "<20200915151114.12024-17-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20200915151114.12024-1-stephen@networkplumber.org>", "References": "<20200911190701.29171-1-stephen@networkplumber.org>\n <20200915151114.12024-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v3 16/17] examples/ipsec-secgw: replace master\n\tlcore with main lcore", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Simple replacement.\n\nAcked-by: Anatoly Burakov <anatoly.burakov@intel.com>\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n examples/ipsec-secgw/event_helper.c | 6 +++---\n examples/ipsec-secgw/ipsec-secgw.c | 4 ++--\n 2 files changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/examples/ipsec-secgw/event_helper.c b/examples/ipsec-secgw/event_helper.c\nindex 865dc911b864..bd60f0359b59 100644\n--- a/examples/ipsec-secgw/event_helper.c\n+++ b/examples/ipsec-secgw/event_helper.c\n@@ -1461,16 +1461,16 @@ eh_conf_init(void)\n \n \t/* Set two cores as eth cores for Rx & Tx */\n \n-\t/* Use first core other than master core as Rx core */\n+\t/* Use first core other than main core as Rx core */\n \teth_core_id = rte_get_next_lcore(0,\t/* curr core */\n-\t\t\t\t\t 1,\t/* skip master core */\n+\t\t\t\t\t 1,\t/* skip main core */\n \t\t\t\t\t 0\t/* wrap */);\n \n \trte_bitmap_set(em_conf->eth_core_mask, eth_core_id);\n \n \t/* Use next core as Tx core */\n \teth_core_id = rte_get_next_lcore(eth_core_id,\t/* curr core */\n-\t\t\t\t\t 1,\t\t/* skip master core */\n+\t\t\t\t\t 1,\t\t/* skip main core */\n \t\t\t\t\t 0\t\t/* wrap */);\n \n \trte_bitmap_set(em_conf->eth_core_mask, eth_core_id);\ndiff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c\nindex 8ba15d23c7e8..339221eecf55 100644\n--- a/examples/ipsec-secgw/ipsec-secgw.c\n+++ b/examples/ipsec-secgw/ipsec-secgw.c\n@@ -2992,8 +2992,8 @@ main(int32_t argc, char **argv)\n #endif /* STATS_INTERVAL */\n \n \t/* launch per-lcore init on every lcore */\n-\trte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MASTER);\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\trte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MAIN);\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (rte_eal_wait_lcore(lcore_id) < 0)\n \t\t\treturn -1;\n \t}\n", "prefixes": [ "v3", "16/17" ] }{ "id": 77749, "url": "