get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 81001,
    "url": "http://patches.dpdk.org/api/patches/81001/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201015225736.12167-15-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-15-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201015225736.12167-15-stephen@networkplumber.org",
    "date": "2020-10-15T22:57:30",
    "name": "[v7,14/20] examples/performance-thread: replace reference to master lcore",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "96311cf1174b2e30fc82c59d45f7003edd17cb34",
    "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-15-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/81001/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/81001/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 72AE9A04DB;\n\tFri, 16 Oct 2020 01:02:59 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DCFAD1E86E;\n\tFri, 16 Oct 2020 00:58:20 +0200 (CEST)",
            "from mail-pf1-f171.google.com (mail-pf1-f171.google.com\n [209.85.210.171]) by dpdk.org (Postfix) with ESMTP id 5FE071E540\n for <dev@dpdk.org>; Fri, 16 Oct 2020 00:58:08 +0200 (CEST)",
            "by mail-pf1-f171.google.com with SMTP id 144so332204pfb.4\n for <dev@dpdk.org>; Thu, 15 Oct 2020 15:58:08 -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.05\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 15 Oct 2020 15:58:05 -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=3hToSXxpMAQDsMSbvhwDoKaxfWQfQn+SRqp0xCu+ObY=;\n b=rlqwfQSCOewWQdq0qltqZP9uppyQXnR64qoTF8qBT8tC4u8mYvECaGwAs8a81KXpkD\n TGvO8E7Ia6XFmyjq1gj+gPBpMaPly8XmVJMzXWW8QPXUp8N99iULJGtCRsW29Uwwauzx\n +1xaVpzkB5aFVb6coYmrcptrSdiKVDJ0goAH34tcJGITYmZSD6E2vpsrgsU6huI9mpKW\n 1AYnzPyzaMK4vqgCiGG+tcKgbeD22lMbAE0mfzaizx2K6Mn+2Q9Yf8t5Ju1RVeuEB5C3\n g/kcAFTaIKZlXlZZT+nq1xEzAMtl9ODaC5NuTloxy9AH8elwZ40DHj39NqPdUdUIZXGg\n l+PA==",
        "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=3hToSXxpMAQDsMSbvhwDoKaxfWQfQn+SRqp0xCu+ObY=;\n b=CUSgorG7NOfcaVb0NoiY/tyJuJZanw8rZtTqJMyMufCIJ7gJjhxtPrDc8qWsOLknu9\n fmJ07lRMdaj+8Bbd/+UutQWqQH5UQj4FSfLDypnYGtkOuBoPtqQdSX1+VVVhSCPqRFUY\n zeT2Vt+r+7v9NdpQfFoWGgql+XBlKR5ZdOt7aNgmCU5r1RWNrsaR+2hHaAitxtHHcuEx\n mtKxBFnmJaFfRMx/EsQ8H+kEUActcOPCT048sTwES7NoZjpIi12jXLC3nr6FQIjRWQGa\n 12sAE9haGVWeRI3xt93OFiz4dNUmfcDIQoS0ptReWSF6/W5jLnMq35EP8IgI99CnXVpn\n pH8A==",
        "X-Gm-Message-State": "AOAM5300hiaIfrMZhr+7sekEYKjnFIwiy2TPNfA0OgXHeWBCBApkkd/j\n QpKqoZewWubPFTNs27am1LWeX+mK1TI2iA==",
        "X-Google-Smtp-Source": "\n ABdhPJy/KdAvatxcAfIM3hX/kMCvZgale1sdmpKsaFJLywQW6RFdXnc8hVEr2tXqj5b8sFuHRBS1rw==",
        "X-Received": "by 2002:a62:b506:0:b029:155:d56e:5193 with SMTP id\n y6-20020a62b5060000b0290155d56e5193mr849788pfe.52.1602802686121;\n Thu, 15 Oct 2020 15:58:06 -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:30 -0700",
        "Message-Id": "<20201015225736.12167-15-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 14/20] 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\nAcked-by: Anatoly Burakov <anatoly.burakov@intel.com>\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n examples/performance-thread/l3fwd-thread/main.c | 16 ++++++++--------\n examples/performance-thread/pthread_shim/main.c |  4 ++--\n 2 files changed, 10 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c\nindex 818e483d2faa..e96076f2903e 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@@ -3759,14 +3759,14 @@ 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_LCORE_FOREACH_SLAVE(lcore_id) {\n+\t\trte_eal_mp_remote_launch(pthread_run, NULL, CALL_MAIN);\n+\t\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\t\tif (rte_eal_wait_lcore(lcore_id) < 0)\n \t\t\t\treturn -1;\n \t\t}\ndiff --git a/examples/performance-thread/pthread_shim/main.c b/examples/performance-thread/pthread_shim/main.c\nindex 18f83059bc17..23e3b5e311cd 100644\n--- a/examples/performance-thread/pthread_shim/main.c\n+++ b/examples/performance-thread/pthread_shim/main.c\n@@ -252,10 +252,10 @@ 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+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\trte_eal_wait_lcore(lcore_id);\n \t}\n \treturn 0;\n",
    "prefixes": [
        "v7",
        "14/20"
    ]
}