get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77745,
    "url": "http://patches.dpdk.org/api/patches/77745/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200915151114.12024-14-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-14-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200915151114.12024-14-stephen@networkplumber.org",
    "date": "2020-09-15T15:11:10",
    "name": "[v3,13/17] examples/multi_process: replace references to master/slave",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "853a8415ae388bff2367bd8cf149036f309637c2",
    "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-14-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/77745/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/77745/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 B28B1A04C7;\n\tTue, 15 Sep 2020 17:19:37 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C4A3D1C124;\n\tTue, 15 Sep 2020 17:19:04 +0200 (CEST)",
            "from mail-qv1-f66.google.com (mail-qv1-f66.google.com\n [209.85.219.66]) by dpdk.org (Postfix) with ESMTP id DAEA91C0CD\n for <dev@dpdk.org>; Tue, 15 Sep 2020 17:19:01 +0200 (CEST)",
            "by mail-qv1-f66.google.com with SMTP id cr8so1871363qvb.10\n for <dev@dpdk.org>; Tue, 15 Sep 2020 08:19:01 -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.43\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 15 Sep 2020 08:11:44 -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=4rPShPdSFCQFey5Zcd14Go057sqzNnuaZT8t6i9Ry3A=;\n b=yfB6nEFTXEZkJ0JLlMOzfn19yze6XFulAisujjmh1w+EFh6SKBlAGaJlfNr/m13ra1\n UxpTgpryDROoc7nojAorkjQz1mQPuEW63Ed0jwOa3SExqHOtTbJoOOgLygri87UtbKQm\n K6+Fg86QqKmG0U+nC7XTQBtJNVK53x1weBJCLnn6jalJgnqJnKnMQrYzJv8zMWwNDz6/\n wRY+qwwz/naease/ljMkAhgUa8RU6YFkdJAAg7NpX27SJuLD2N/CtZmG8TjOtrH6DjlK\n yKIMzBrvo+S5zA7bilrSndMJVz5ww4yXI7w43nO3pQI6v/Ant+PD5JHaa6UA77+Ct2d8\n uc2Q==",
        "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=4rPShPdSFCQFey5Zcd14Go057sqzNnuaZT8t6i9Ry3A=;\n b=j4Fm26QzFK0SziowHWWqMJ+gAkqnUB2KhJ8fhNHs/rlqZBUHTfTy7GSmyUZK35sAzp\n bAIElPhrSZM9EoHOm15VaUQCPV5+VAJVWJG04Y9jRtCWH0/HZYH2+YEnD/IkxbWRwMWb\n ELc4dP9PLEQW6Ycgx17o7MUtoChVrX4QbMQ80c5katVJ5TJhHWbG/4z8ji/8FIrjg10s\n 7Z8dqLlSlwhPEl1vt3CrvG5B+g60mreSxhF66zReXSKt2IukbW/hTiM5b2/ks4xafM0c\n L0yN4MK+/vFVHpuNTzOSE6yCYdIuFrxGzZLl1e3QW5peoGvUQ9ktAbrZpWxuXAeqc9Qk\n 37Sg==",
        "X-Gm-Message-State": "AOAM533j7WuFw61LbUehA31eM0hmLyQl9bDeOVsrockMTa01GZUpb/1G\n ATMPsMdCOlXHl7gXbC5O2O5jMuXHTXoWjA==",
        "X-Google-Smtp-Source": "\n ABdhPJx3u15fJthcZTqOnzwx76GMTPjb9ELObceMCj6b1I/4JmRdq0XP3Xu3U0mU0qKBDVHMQRaHOQ==",
        "X-Received": "by 2002:a17:902:b682:b029:d1:e5e7:bdeb with SMTP id\n c2-20020a170902b682b02900d1e5e7bdebmr2235657pls.75.1600182705243;\n Tue, 15 Sep 2020 08:11:45 -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:10 -0700",
        "Message-Id": "<20200915151114.12024-14-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 13/17] examples/multi_process: replace\n\treferences to master/slave",
        "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 and slave with worker.\nFix the wording in comments.\n\nAcked-by: Anatoly Burakov <anatoly.burakov@intel.com>\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n .../multi_process/client_server_mp/mp_server/main.c    | 10 +++++-----\n examples/multi_process/simple_mp/main.c                |  4 ++--\n examples/multi_process/symmetric_mp/main.c             |  2 +-\n 3 files changed, 8 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/examples/multi_process/client_server_mp/mp_server/main.c b/examples/multi_process/client_server_mp/mp_server/main.c\nindex 280dab867281..ec7f6b11f30e 100644\n--- a/examples/multi_process/client_server_mp/mp_server/main.c\n+++ b/examples/multi_process/client_server_mp/mp_server/main.c\n@@ -84,7 +84,7 @@ get_printable_mac_addr(uint16_t port)\n /*\n  * This function displays the recorded statistics for each port\n  * and for each client. It uses ANSI terminal codes to clear\n- * screen when called. It is called from a single non-master\n+ * screen when called. It is called from a single worker\n  * thread in the server process, when the process is run with more\n  * than one lcore enabled.\n  */\n@@ -146,7 +146,7 @@ do_stats_display(void)\n }\n \n /*\n- * The function called from each non-master lcore used by the process.\n+ * The function called from each worker lcore used by the process.\n  * The test_and_set function is used to randomly pick a single lcore on which\n  * the code to display the statistics will run. Otherwise, the code just\n  * repeatedly sleeps.\n@@ -244,7 +244,7 @@ process_packets(uint32_t port_num __rte_unused,\n }\n \n /*\n- * Function called by the master lcore of the DPDK process.\n+ * Function called by the main lcore of the DPDK process.\n  */\n static void\n do_packet_forwarding(void)\n@@ -297,8 +297,8 @@ main(int argc, char *argv[])\n \t/* clear statistics */\n \tclear_stats();\n \n-\t/* put all other cores to sleep bar master */\n-\trte_eal_mp_remote_launch(sleep_lcore, NULL, SKIP_MASTER);\n+\t/* put all other cores to sleep except main */\n+\trte_eal_mp_remote_launch(sleep_lcore, NULL, SKIP_MAIN);\n \n \tdo_packet_forwarding();\n \treturn 0;\ndiff --git a/examples/multi_process/simple_mp/main.c b/examples/multi_process/simple_mp/main.c\nindex fc79528462e9..86b7d244a91f 100644\n--- a/examples/multi_process/simple_mp/main.c\n+++ b/examples/multi_process/simple_mp/main.c\n@@ -108,12 +108,12 @@ main(int argc, char **argv)\n \n \tRTE_LOG(INFO, APP, \"Finished Process Init.\\n\");\n \n-\t/* call lcore_recv() on every slave lcore */\n+\t/* call lcore_recv() on every worker lcore */\n \tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n \t\trte_eal_remote_launch(lcore_recv, NULL, lcore_id);\n \t}\n \n-\t/* call cmd prompt on master lcore */\n+\t/* call cmd prompt on main lcore */\n \tstruct cmdline *cl = cmdline_stdin_new(simple_mp_ctx, \"\\nsimple_mp > \");\n \tif (cl == NULL)\n \t\trte_exit(EXIT_FAILURE, \"Cannot create cmdline instance\\n\");\ndiff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c\nindex 9a16e198cbf4..95ef436c56eb 100644\n--- a/examples/multi_process/symmetric_mp/main.c\n+++ b/examples/multi_process/symmetric_mp/main.c\n@@ -473,7 +473,7 @@ main(int argc, char **argv)\n \n \tRTE_LOG(INFO, APP, \"Finished Process Init.\\n\");\n \n-\trte_eal_mp_remote_launch(lcore_main, NULL, CALL_MASTER);\n+\trte_eal_mp_remote_launch(lcore_main, NULL, CALL_MAIN);\n \n \treturn 0;\n }\n",
    "prefixes": [
        "v3",
        "13/17"
    ]
}