get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/77475/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 77475,
    "url": "http://patches.dpdk.org/api/patches/77475/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200911190701.29171-9-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": "<20200911190701.29171-9-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200911190701.29171-9-stephen@networkplumber.org",
    "date": "2020-09-11T19:06:54",
    "name": "[08/15] app/test-eventdev: replace use of master lcore with main lcore",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d1982d16124893e374000be0e6da94e8ee0b1963",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200911190701.29171-9-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 12162,
            "url": "http://patches.dpdk.org/api/series/12162/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12162",
            "date": "2020-09-11T19:06:46",
            "name": "Replace terms master/slave lcore with main/worker lcore",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12162/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77475/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/77475/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 3C1B9A04C0;\n\tFri, 11 Sep 2020 21:08:37 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E950D1C18E;\n\tFri, 11 Sep 2020 21:07:24 +0200 (CEST)",
            "from mail-pf1-f170.google.com (mail-pf1-f170.google.com\n [209.85.210.170]) by dpdk.org (Postfix) with ESMTP id 382031C125\n for <dev@dpdk.org>; Fri, 11 Sep 2020 21:07:21 +0200 (CEST)",
            "by mail-pf1-f170.google.com with SMTP id d6so8093231pfn.9\n for <dev@dpdk.org>; Fri, 11 Sep 2020 12:07:21 -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 z23sm2979984pfg.220.2020.09.11.12.07.18\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 11 Sep 2020 12:07:19 -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=sYX/1uJp3RI1zRBpAagE893+flzpGudQ0Q+0YjBf/Ko=;\n b=crlFnhAXvOHOI0ps0WkrEa2X9mojuqop2CdATmX09UPW79gr/WY11wXCw2X8ErXj17\n uJmt+a7LV7I/7Ab13tVUdrnmiUUNZ+BtS8zuopFD/oq2R/SlDmAjj3w5h5ZSigVWSl7y\n ix4+090CpijY95tYd91Wt6nS/NaT8GLRx2iWfThfhpb96v2j1QQRJwH1yquzQHvhXwKg\n Z5rLrwUA4p4BSHvUtKInbDqIuStCDcRdLhOXK+UCq68GIs5mpkzqIvRDCAnJO/ErouVA\n PWuusYh1sdiSks+rQFbBAZ6rKFmEwgGS2JbEfn2bn7Z3NQOyzXXqwkxLn6V8Xnoa/lv5\n X+tA==",
        "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=sYX/1uJp3RI1zRBpAagE893+flzpGudQ0Q+0YjBf/Ko=;\n b=OXloAOMHtgS3IrDixQZnl5evqo8GIOjOLBFs8Me3ip3D/R2r6iYtwliffLSdiIn1u8\n TGnwY8sVvZrzbzExfoQNqGJKEqA8T6o5ycS5yAiC3TJn290D+3hF+OlRwrNytsk/MSYi\n ZMXpIM92exVMLcIsQzM2soPgG005P3sLilLI5c0zRFs/eZ78Uvmkej2BjWlJvWDhhNCM\n Qxqh09Emn3U0P+Z+PleYgTSz1WO0dUDpATa+1OfVOCdP4irRg8sguNduGXm3h6PfqhlK\n wxrfRpt3kOqfK1QS5zQ6EtSfj0th9VuLf+r/pfCK+MgA/PiJwupVn6Q5ClXWvW/JkSAk\n HmuA==",
        "X-Gm-Message-State": "AOAM530ogulOcTvHqJMxcl3nTIQGwXuBPNtBRXIVZ+uZblqqlvwHBuPw\n 5d3hXHg47HsjGSK02DbztNUASje7S9lsTQ==",
        "X-Google-Smtp-Source": "\n ABdhPJxoImzts+6gMhX1IpPZrSEYSr04JvqJbn+JtLkOf1Q/lrRp0nbtoQIqEBAhvj8D0JwSFUzsLw==",
        "X-Received": "by 2002:a17:902:465:b029:d0:89f1:9e2a with SMTP id\n 92-20020a1709020465b02900d089f19e2amr3646548ple.6.1599851240019;\n Fri, 11 Sep 2020 12:07:20 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Fri, 11 Sep 2020 12:06:54 -0700",
        "Message-Id": "<20200911190701.29171-9-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 08/15] app/test-eventdev: replace use of 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": "Replace master with main lcore.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test-eventdev/evt_options.c          |  2 +-\n app/test-eventdev/test_order_common.c    | 10 +++++-----\n app/test-eventdev/test_perf_common.c     | 12 ++++++------\n app/test-eventdev/test_pipeline_common.c |  6 +++---\n 4 files changed, 15 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/app/test-eventdev/evt_options.c b/app/test-eventdev/evt_options.c\nindex c60b61a904b0..6994ac453c8c 100644\n--- a/app/test-eventdev/evt_options.c\n+++ b/app/test-eventdev/evt_options.c\n@@ -438,7 +438,7 @@ evt_options_dump(struct evt_options *opt)\n \tevt_dump(\"verbose_level\", \"%d\", opt->verbose_level);\n \tevt_dump(\"socket_id\", \"%d\", opt->socket_id);\n \tevt_dump(\"pool_sz\", \"%d\", opt->pool_sz);\n-\tevt_dump(\"master lcore\", \"%d\", rte_get_master_lcore());\n+\tevt_dump(\"main lcore\", \"%d\", rte_get_main_lcore());\n \tevt_dump(\"nb_pkts\", \"%\"PRIu64, opt->nb_pkts);\n \tevt_dump(\"nb_timers\", \"%\"PRIu64, opt->nb_timers);\n \tevt_dump_begin(\"available lcores\");\ndiff --git a/app/test-eventdev/test_order_common.c b/app/test-eventdev/test_order_common.c\nindex 4190f9ade82b..3c72b213fa43 100644\n--- a/app/test-eventdev/test_order_common.c\n+++ b/app/test-eventdev/test_order_common.c\n@@ -81,8 +81,8 @@ order_opt_check(struct evt_options *opt)\n \t}\n \n \t/* Validate worker lcores */\n-\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_master_lcore())) {\n-\t\tevt_err(\"worker lcores overlaps with master lcore\");\n+\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_main_lcore())) {\n+\t\tevt_err(\"worker lcores overlaps with main lcore\");\n \t\treturn -1;\n \t}\n \n@@ -117,8 +117,8 @@ order_opt_check(struct evt_options *opt)\n \t}\n \n \t/* Validate producer lcore */\n-\tif (plcore == (int)rte_get_master_lcore()) {\n-\t\tevt_err(\"producer lcore and master lcore should be different\");\n+\tif (plcore == (int)rte_get_main_lcore()) {\n+\t\tevt_err(\"producer lcore and main lcore should be different\");\n \t\treturn -1;\n \t}\n \tif (!rte_lcore_is_enabled(plcore)) {\n@@ -245,7 +245,7 @@ order_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \n \tint wkr_idx = 0;\n \t/* launch workers */\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (!(opt->wlcores[lcore_id]))\n \t\t\tcontinue;\n \ndiff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c\nindex b3af4bfecaff..81d7f0683d3f 100644\n--- a/app/test-eventdev/test_perf_common.c\n+++ b/app/test-eventdev/test_perf_common.c\n@@ -254,7 +254,7 @@ perf_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \n \tint port_idx = 0;\n \t/* launch workers */\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (!(opt->wlcores[lcore_id]))\n \t\t\tcontinue;\n \n@@ -268,7 +268,7 @@ perf_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \t}\n \n \t/* launch producers */\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (!(opt->plcores[lcore_id]))\n \t\t\tcontinue;\n \n@@ -552,8 +552,8 @@ perf_opt_check(struct evt_options *opt, uint64_t nb_queues)\n \t}\n \n \t/* Validate worker lcores */\n-\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_master_lcore())) {\n-\t\tevt_err(\"worker lcores overlaps with master lcore\");\n+\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_main_lcore())) {\n+\t\tevt_err(\"worker lcores overlaps with main lcore\");\n \t\treturn -1;\n \t}\n \tif (evt_lcores_has_overlap_multi(opt->wlcores, opt->plcores)) {\n@@ -573,8 +573,8 @@ perf_opt_check(struct evt_options *opt, uint64_t nb_queues)\n \t\t\topt->prod_type == EVT_PROD_TYPE_EVENT_TIMER_ADPTR) {\n \t\t/* Validate producer lcores */\n \t\tif (evt_lcores_has_overlap(opt->plcores,\n-\t\t\t\t\trte_get_master_lcore())) {\n-\t\t\tevt_err(\"producer lcores overlaps with master lcore\");\n+\t\t\t\t\trte_get_main_lcore())) {\n+\t\t\tevt_err(\"producer lcores overlaps with main lcore\");\n \t\t\treturn -1;\n \t\t}\n \t\tif (evt_has_disabled_lcore(opt->plcores)) {\ndiff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c\nindex 17088b1b48e4..942a01ac89d9 100644\n--- a/app/test-eventdev/test_pipeline_common.c\n+++ b/app/test-eventdev/test_pipeline_common.c\n@@ -60,7 +60,7 @@ pipeline_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \n \tint port_idx = 0;\n \t/* launch workers */\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (!(opt->wlcores[lcore_id]))\n \t\t\tcontinue;\n \n@@ -129,8 +129,8 @@ pipeline_opt_check(struct evt_options *opt, uint64_t nb_queues)\n \t}\n \n \t/* Validate worker lcores */\n-\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_master_lcore())) {\n-\t\tevt_err(\"worker lcores overlaps with master lcore\");\n+\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_main_lcore())) {\n+\t\tevt_err(\"worker lcores overlaps with main lcore\");\n \t\treturn -1;\n \t}\n \tif (evt_has_disabled_lcore(opt->wlcores)) {\n",
    "prefixes": [
        "08/15"
    ]
}