get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77479,
    "url": "http://patches.dpdk.org/api/patches/77479/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200911190701.29171-13-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-13-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200911190701.29171-13-stephen@networkplumber.org",
    "date": "2020-09-11T19:06:58",
    "name": "[12/15] examples/performance-thread: replace reference to master lcore",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b43b0a75a581175b5d7b4e3bbc9ef33944847a13",
    "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-13-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/77479/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/77479/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 EBB2EA04C0;\n\tFri, 11 Sep 2020 21:09:18 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C145E1C1B1;\n\tFri, 11 Sep 2020 21:07:30 +0200 (CEST)",
            "from mail-pj1-f46.google.com (mail-pj1-f46.google.com\n [209.85.216.46]) by dpdk.org (Postfix) with ESMTP id 631731C196\n for <dev@dpdk.org>; Fri, 11 Sep 2020 21:07:26 +0200 (CEST)",
            "by mail-pj1-f46.google.com with SMTP id t7so2156532pjd.3\n for <dev@dpdk.org>; Fri, 11 Sep 2020 12:07:26 -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.23\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 11 Sep 2020 12:07:24 -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=XtefX5MH5WPzY2uokmhuhnzrKblk/LAjdWX13tcdcFs=;\n b=t0WlUX/JObVlYn7JQEWQywqHZzQFsaF6KlBpSaqhjJH4xiXz2xOpbb6/ZJZ2kygGIt\n /gQg+sxoyvRyW2GCP4HpckBZqOREiMZdgJjeZdSKDmG7L+Bac3froYLSBk4GCirwJuIX\n uF5Vrw8m00p4iZn52+BWpoTbvtMhnfY6x4Yy5dh5UqkpV3dTPOUm6/yPrmlClGyBVhun\n zfjcmbCW11eZeoT5HOjgNdnIIauckfNacnPhw4oI7Ga/cyxKn+BKAeEtHHPmjPiyMsLf\n ezNS16RxvmCoBiB76NjHTiYLvDaq6+oa3ytbdVHC6RGd7JPTZAfoKDW36QUK4uOn8pwx\n IhYw==",
        "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=XtefX5MH5WPzY2uokmhuhnzrKblk/LAjdWX13tcdcFs=;\n b=HJSAoxZ10reUJUg6OawmZxM6Yzyxx72E5vjwfaEGwYKrN5RocKa96szRgcpktN2gnG\n sm6QZ0RbmiLS4tPUQaNfT/ldmV347QTkmb6AsAHfN6rFuMBk4bCOafJ8JU0JEZTGaH8B\n cB+l8GNB3QR6K99KrwswJlhPsV/BzljjQrLmNdtH1pePUK/nxHJm59wUFj2XvYMp6S6E\n LS1oVMa880dXRYJ8H2TRa0bgjwK6V/IHkdE0rpsM/+UmhVYDKd8o53OgGcPRf5tJzOOB\n OercPyJ74Ui1c/nJzPE/Q1NlQWiW+a5N5HZ12Kxsd863E3P2OQj6NhoXVGCc4eDa/HKX\n BTqg==",
        "X-Gm-Message-State": "AOAM530mETgf/M2zFsCxz5UuUSFjMWjWiix6wnexNwdvXsEt02P5P028\n Wy+x2CRMYp/tblPdXcTXmdJu+jDvCMsUyA==",
        "X-Google-Smtp-Source": "\n ABdhPJy/X8z15Hf0kfN9CRHHnS6b7aOUI5IdIl7b4RK4v16TF4zRb4aCcQjF4E4Nu2wVN93+MNL81w==",
        "X-Received": "by 2002:a17:90a:c20f:: with SMTP id\n e15mr2935016pjt.163.1599851244944;\n Fri, 11 Sep 2020 12:07:24 -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:58 -0700",
        "Message-Id": "<20200911190701.29171-13-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 12/15] examples/performance-thread: replace\n\treference to master 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 term master with main here.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n examples/performance-thread/l3fwd-thread/main.c | 14 +++++++-------\n examples/performance-thread/pthread_shim/main.c |  2 +-\n 2 files changed, 8 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c\nindex e32802aa9b8b..9b4993e0fd63 100644\n--- a/examples/performance-thread/l3fwd-thread/main.c\n+++ b/examples/performance-thread/l3fwd-thread/main.c\n@@ -2211,7 +2211,7 @@ lthread_rx(void *dummy)\n /*\n  * Start scheduler with initial lthread on lcore\n  *\n- * This lthread loop spawns all rx and tx lthreads on master lcore\n+ * This lthread loop spawns all rx and tx lthreads on main lcore\n  */\n \n static void *\n@@ -2261,11 +2261,11 @@ lthread_spawner(__rte_unused void *arg)\n }\n \n /*\n- * Start master scheduler with initial lthread spawning rx and tx lthreads\n- * (main_lthread_master).\n+ * Start main scheduler with initial lthread spawning rx and tx lthreads\n+ * (main_lthread_main).\n  */\n static int\n-lthread_master_spawner(__rte_unused void *arg) {\n+lthread_main_spawner(__rte_unused void *arg) {\n \tstruct lthread *lt;\n \tint lcore_id = rte_lcore_id();\n \n@@ -3762,13 +3762,13 @@ main(int argc, char **argv)\n #endif\n \n \t\tlthread_num_schedulers_set(nb_lcores);\n-\t\trte_eal_mp_remote_launch(sched_spawner, NULL, SKIP_MASTER);\n-\t\tlthread_master_spawner(NULL);\n+\t\trte_eal_mp_remote_launch(sched_spawner, NULL, SKIP_MAIN);\n+\t\tlthread_main_spawner(NULL);\n \n \t} else {\n \t\tprintf(\"Starting P-Threading Model\\n\");\n \t\t/* launch per-lcore init on every lcore */\n-\t\trte_eal_mp_remote_launch(pthread_run, NULL, CALL_MASTER);\n+\t\trte_eal_mp_remote_launch(pthread_run, NULL, CALL_MAIN);\n \t\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n \t\t\tif (rte_eal_wait_lcore(lcore_id) < 0)\n \t\t\t\treturn -1;\ndiff --git a/examples/performance-thread/pthread_shim/main.c b/examples/performance-thread/pthread_shim/main.c\nindex 18f83059bc17..d5477ef2324d 100644\n--- a/examples/performance-thread/pthread_shim/main.c\n+++ b/examples/performance-thread/pthread_shim/main.c\n@@ -252,7 +252,7 @@ int main(int argc, char **argv)\n \tlthread_num_schedulers_set(num_sched);\n \n \t/* launch all threads */\n-\trte_eal_mp_remote_launch(lthread_scheduler, (void *)NULL, CALL_MASTER);\n+\trte_eal_mp_remote_launch(lthread_scheduler, (void *)NULL, CALL_MAIN);\n \n \t/* wait for threads to stop */\n \tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n",
    "prefixes": [
        "12/15"
    ]
}