get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 80585,
    "url": "http://patches.dpdk.org/api/patches/80585/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201013152610.2589-10-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": "<20201013152610.2589-10-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201013152610.2589-10-stephen@networkplumber.org",
    "date": "2020-10-13T15:26:01",
    "name": "[v5,09/18] app/test-pmd: replace master lcore with main lcore",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a240bfabd4570cba1b01aa644ce7774f64c67053",
    "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/20201013152610.2589-10-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 12924,
            "url": "http://patches.dpdk.org/api/series/12924/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12924",
            "date": "2020-10-13T15:25:52",
            "name": "Replace terms master/slave",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/12924/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/80585/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/80585/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 3A26AA04B7;\n\tTue, 13 Oct 2020 17:30:29 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B17801DD5B;\n\tTue, 13 Oct 2020 17:27:19 +0200 (CEST)",
            "from mail-pg1-f196.google.com (mail-pg1-f196.google.com\n [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id E7DF11DD55\n for <dev@dpdk.org>; Tue, 13 Oct 2020 17:27:17 +0200 (CEST)",
            "by mail-pg1-f196.google.com with SMTP id x16so17787924pgj.3\n for <dev@dpdk.org>; Tue, 13 Oct 2020 08:27:17 -0700 (PDT)",
            "from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127])\n by smtp.gmail.com with ESMTPSA id z12sm23815233pfr.197.2020.10.13.08.27.08\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 13 Oct 2020 08:27:08 -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=Y3aaE9OGA/mZnkFZYNEbYHN9r1yOV/2+5XTLgeuR39Y=;\n b=FLepOhvlVS0lOgVAU5YuyBfGbhYXPZyhwdUOnt7fJuCNqw59kdvSS1D6OrkjI9qhJH\n dmmbdcI69KyIyUt+fWLVUHkHloPT7YkKHpklQkpM4zexkwS6kmFU2JrasKErMPspGsww\n WbmnXk4MPeciFtapIpg2fZ8bTWEu0CzybsiaFMNsFJqbpCgLwXTTYCD6E27kkDwrE5XE\n OCo75NIv8uWbSkvB5F4a/mXkeTa7mEN361/eDc9Tfy4zn5HvDm+JEj+epi1bqlKJ+her\n VruH4nk6rKdeB9FjccQ0vALxqVC+4prHMu4BHU9vRjy7IGO8mWtkvEvGqcWBw3S60YEh\n NYhQ==",
        "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=Y3aaE9OGA/mZnkFZYNEbYHN9r1yOV/2+5XTLgeuR39Y=;\n b=PE/mPgtAJGVJUmDz6ZMLOHNAlUJ9STUHWDbptPLb+Y6rMh0pnwBgnQOqV9t9FJ+RQc\n 8DThpf7oelfSUddc46MOs4nbus35ui481CZ8T9qrm/Koi1nIobugp4k6Ei95vAKRb86g\n xf+ucqGKxZtgmKVkXt990njG+IQJnDaUA7sNDiGWAdpG8Gz27CjxAbT2qYcjjPc78i8U\n C2WUZN8kGcxZG27uNBH8PFDjgLb9LK8cPc7MAgfnWOJzVbP1HvCw6boi7mFeOiMMwsgB\n oqhGWsLVnXOBbn27rdEI9l/7SukhwrlCyEq9p3dWE+rXLW5Xska/JNKwcSgfAhBmg38O\n Jt/Q==",
        "X-Gm-Message-State": "AOAM53026kMTJfsL9btlGO5TObqHzbbQ0ELQAZLi7zQ/Yf48ORR4AB6r\n 5M33CzeYR98y+78GpD+cMgVtvJkQSUeA1Q==",
        "X-Google-Smtp-Source": "\n ABdhPJzKXEsEuLiEbRRghbuuyJdGqwici8XTeG8PtW09S/UmcnFdhetU4sqzUI9gtayLglbmMH5jYA==",
        "X-Received": "by 2002:aa7:97ba:0:b029:152:879f:4789 with SMTP id\n d26-20020aa797ba0000b0290152879f4789mr210958pfq.81.1602602834654;\n Tue, 13 Oct 2020 08:27:14 -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>,\n Wenzhuo Lu <wenzhuo.lu@intel.com>, Beilei Xing <beilei.xing@intel.com>,\n Bernard Iremonger <bernard.iremonger@intel.com>",
        "Date": "Tue, 13 Oct 2020 08:26:01 -0700",
        "Message-Id": "<20201013152610.2589-10-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20201013152610.2589-1-stephen@networkplumber.org>",
        "References": "<20200914182002.6750-1-stephen@networkplumber.org>\n <20201013152610.2589-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v5 09/18] app/test-pmd: replace master lcore with\n\tmain 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 wording around main lcore.\n\nAcked-by: Anatoly Burakov <anatoly.burakov@intel.com>\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test-pmd/cmdline.c    | 2 +-\n app/test-pmd/config.c     | 4 ++--\n app/test-pmd/parameters.c | 2 +-\n app/test-pmd/testpmd.c    | 4 ++--\n 4 files changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex 273fb1af627a..1cb4718d7e07 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -20109,7 +20109,7 @@ cmdline_read_from_file(const char *filename)\n \tprintf(\"Read CLI commands from %s\\n\", filename);\n }\n \n-/* prompt function, called from main on MASTER lcore */\n+/* prompt function, called from main on MAIN lcore */\n void\n prompt(void)\n {\ndiff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 8ccd989562a9..4f8fafbcb02c 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -2929,9 +2929,9 @@ set_fwd_lcores_list(unsigned int *lcorelist, unsigned int nb_lc)\n \t\t\tprintf(\"lcore %u not enabled\\n\", lcore_cpuid);\n \t\t\treturn -1;\n \t\t}\n-\t\tif (lcore_cpuid == rte_get_master_lcore()) {\n+\t\tif (lcore_cpuid == rte_get_main_lcore()) {\n \t\t\tprintf(\"lcore %u cannot be masked on for running \"\n-\t\t\t       \"packet forwarding, which is the master lcore \"\n+\t\t\t       \"packet forwarding, which is the main lcore \"\n \t\t\t       \"and reserved for command line parsing only\\n\",\n \t\t\t       lcore_cpuid);\n \t\t\treturn -1;\ndiff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c\nindex 1ead59579bfc..712d9ec70b66 100644\n--- a/app/test-pmd/parameters.c\n+++ b/app/test-pmd/parameters.c\n@@ -89,7 +89,7 @@ usage(char* progname)\n \tprintf(\"  --nb-ports=N: set the number of forwarding ports \"\n \t       \"(1 <= N <= %d).\\n\", nb_ports);\n \tprintf(\"  --coremask=COREMASK: hexadecimal bitmask of cores running \"\n-\t       \"the packet forwarding test. The master lcore is reserved for \"\n+\t       \"the packet forwarding test. The main lcore is reserved for \"\n \t       \"command line parsing only, and cannot be masked on for \"\n \t       \"packet forwarding.\\n\");\n \tprintf(\"  --portmask=PORTMASK: hexadecimal bitmask of ports used \"\ndiff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex ccba71c07610..21f977cc3f3b 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -83,7 +83,7 @@\n uint16_t verbose_level = 0; /**< Silent by default. */\n int testpmd_logtype; /**< Log type for testpmd logs */\n \n-/* use master core for command line ? */\n+/* use main core for command line ? */\n uint8_t interactive = 0;\n uint8_t auto_start = 0;\n uint8_t tx_first;\n@@ -566,7 +566,7 @@ set_default_fwd_lcores_config(void)\n \t\t\t}\n \t\t\tsocket_ids[num_sockets++] = sock_num;\n \t\t}\n-\t\tif (i == rte_get_master_lcore())\n+\t\tif (i == rte_get_main_lcore())\n \t\t\tcontinue;\n \t\tfwd_lcores_cpuids[nb_lc++] = i;\n \t}\n",
    "prefixes": [
        "v5",
        "09/18"
    ]
}