Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/81003/?format=api
http://patches.dpdk.org/api/patches/81003/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201015225736.12167-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": "<20201015225736.12167-17-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20201015225736.12167-17-stephen@networkplumber.org", "date": "2020-10-15T22:57:32", "name": "[v7,16/20] examples/ipsec-secgw: replace master lcore with main lcore", "commit_ref": null, "pull_url": null, "state": "accepted", "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/20201015225736.12167-17-stephen@networkplumber.org/mbox/", "series": [ { "id": 13030, "url": "http://patches.dpdk.org/api/series/13030/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13030", "date": "2020-10-15T22:57:16", "name": "Replace terms master/slave", "version": 7, "mbox": "http://patches.dpdk.org/series/13030/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/81003/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/81003/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 6BD33A04DB;\n\tFri, 16 Oct 2020 01:03:41 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5801B1E886;\n\tFri, 16 Oct 2020 00:58:24 +0200 (CEST)", "from mail-pl1-f194.google.com (mail-pl1-f194.google.com\n [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 01BF01E553\n for <dev@dpdk.org>; Fri, 16 Oct 2020 00:58:10 +0200 (CEST)", "by mail-pl1-f194.google.com with SMTP id b19so207339pld.0\n for <dev@dpdk.org>; Thu, 15 Oct 2020 15:58:10 -0700 (PDT)", "from hermes.corp.microsoft.com (204-195-22-127.wavecable.com.\n [204.195.22.127])\n by smtp.gmail.com with ESMTPSA id x4sm324055pfm.86.2020.10.15.15.58.07\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 15 Oct 2020 15:58:07 -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=p7tqLTLHY/bSkFa/kfcqZutFbu9VWjsg0fUS0dfsVKo=;\n b=BR714eFPOF8LQlqNloTBUqJNNWR+0k9317jFRviF7YCPLsmz3YcvZt8OLf8Bw5G3JN\n GJpEX64hF2mhtMFJ3BDPyHjRcbtrVtli/YNEswD6H6B0Isnqi5fub4TxQlN+u1x4tsh/\n jn1sgCJPN+hE4byw5apwX31VFyoiDsNSU0KMjdkYyQ9ot8nlpOYbQBlBGCrCCpAfuWBb\n RfD2oyWdX3VAJEPjbkpZbk89bW3veJNMXVjHQ3HohMdVN0Mf2QWi8Qleu7j+/FM3hUte\n 1o4tQfbjmSw3Jkd0hDiXTiGv03F4GV4Q0HKXfeLt5OvfAoLkJmQ4sStYGFXh/VuLGmTK\n nD6Q==", "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=p7tqLTLHY/bSkFa/kfcqZutFbu9VWjsg0fUS0dfsVKo=;\n b=mKHuGwr64QdMInc2pbj+qiuEYjQAjvI8yomD2B7N/DcogY+TdzfGEoVdC4c20/OwhF\n 6U0/evi3EFdI/36D25oBRhCxJJbSkT117Oko2Ud+E/z5YXpYB1tZv6QQ3d4CNt0GjtWs\n aoWeKqdRYW4zPX22uOqYFo0lRxWHDa6MLQFT3nBg9Jn8bHRNs4R2MiwyRDy6L9YgRshk\n nenXM/gAePbWsQTtdGFuI4EkDSRrqakBSXXREyCX5dLFpkG8F2tg32KpjWxkbOBzX1tj\n eK40JP154BQeJoTDDPXs+ZK0UqU6/0zM3uw2nUVQOEj6nY5TdMyMgZ8I3sWlhPEkT9N9\n DPEg==", "X-Gm-Message-State": "AOAM533lmKJtb5X9yCiylLfgbWFtrKMYLstP5tFOwtGx5hNygqkdwGEj\n TSRlUuYBM6RnGKxFMoszldZ8zPGc53FgTA==", "X-Google-Smtp-Source": "\n ABdhPJwcUCKOq32Owb4StPz64eyHj1rWizKQfbaYBrnjTpo0euHH6Lj7gbLyKH5AAGWxSvcze/vdDg==", "X-Received": "by 2002:a17:90a:f3d3:: with SMTP id\n ha19mr975635pjb.58.1602802688726;\n Thu, 15 Oct 2020 15:58:08 -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": "Thu, 15 Oct 2020 15:57:32 -0700", "Message-Id": "<20201015225736.12167-17-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20201015225736.12167-1-stephen@networkplumber.org>", "References": "<20200911190701.29171-1-stephen@networkplumber.org>\n <20201015225736.12167-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v7 16/20] 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 60132c4bd7e4..b2ef24df3a6c 100644\n--- a/examples/ipsec-secgw/ipsec-secgw.c\n+++ b/examples/ipsec-secgw/ipsec-secgw.c\n@@ -2989,8 +2989,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": [ "v7", "16/20" ] }{ "id": 81003, "url": "