get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 60726,
    "url": "https://patches.dpdk.org/api/patches/60726/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191008211220.31586-6-honnappa.nagarahalli@arm.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20191008211220.31586-6-honnappa.nagarahalli@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191008211220.31586-6-honnappa.nagarahalli@arm.com",
    "date": "2019-10-08T21:12:18",
    "name": "[v2,5/7] test/rcu: use correct nomenclature while printing results",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "28488681c5c2401654f5ac4b3c53f797739c8e75",
    "submitter": {
        "id": 1045,
        "url": "https://patches.dpdk.org/api/people/1045/?format=api",
        "name": "Honnappa Nagarahalli",
        "email": "honnappa.nagarahalli@arm.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191008211220.31586-6-honnappa.nagarahalli@arm.com/mbox/",
    "series": [
        {
            "id": 6749,
            "url": "https://patches.dpdk.org/api/series/6749/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6749",
            "date": "2019-10-08T21:12:13",
            "name": "typo, doc, simple fixes and some optimizations",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/6749/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/60726/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/60726/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DD2E81D419;\n\tTue,  8 Oct 2019 23:12:51 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n\tby dpdk.org (Postfix) with ESMTP id 696301C134;\n\tTue,  8 Oct 2019 23:12:43 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E9BA928;\n\tTue,  8 Oct 2019 14:12:42 -0700 (PDT)",
            "from qc2400f-1.austin.arm.com (qc2400f-1.austin.arm.com\n\t[10.118.12.34])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id\n\tE22BD3F68E; Tue,  8 Oct 2019 14:12:42 -0700 (PDT)"
        ],
        "From": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>",
        "To": "honnappa.nagarahalli@arm.com, david.marchand@redhat.com,\n\tkonstantin.ananyev@intel.com",
        "Cc": "dev@dpdk.org,\n\truifeng.wang@arm.com,\n\tstable@dpdk.org,\n\tnd@arm.com",
        "Date": "Tue,  8 Oct 2019 16:12:18 -0500",
        "Message-Id": "<20191008211220.31586-6-honnappa.nagarahalli@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20191008211220.31586-1-honnappa.nagarahalli@arm.com>",
        "References": "<20191008211220.31586-1-honnappa.nagarahalli@arm.com>",
        "Subject": "[dpdk-dev] [PATCH v2 5/7] test/rcu: use correct nomenclature while\n\tprinting results",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Use 'quiescent state updates' instead of just 'updates'.\n\nSigned-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\nReviewed-by: Gavin Hu <gavin.hu@arm.com>\n---\n app/test/test_rcu_qsbr_perf.c | 16 ++++++++++------\n 1 file changed, 10 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/app/test/test_rcu_qsbr_perf.c b/app/test/test_rcu_qsbr_perf.c\nindex 280f1811f..d35a6d089 100644\n--- a/app/test/test_rcu_qsbr_perf.c\n+++ b/app/test/test_rcu_qsbr_perf.c\n@@ -167,8 +167,10 @@ test_rcu_qsbr_perf(void)\n \t/* Wait until all readers have exited */\n \trte_eal_mp_wait_lcore();\n \n-\tprintf(\"Total RCU updates = %\"PRIi64\"\\n\", rte_atomic64_read(&updates));\n-\tprintf(\"Cycles per %d updates: %\"PRIi64\"\\n\", RCU_SCALE_DOWN,\n+\tprintf(\"Total quiescent state updates = %\"PRIi64\"\\n\",\n+\t\trte_atomic64_read(&updates));\n+\tprintf(\"Cycles per %d quiescent state updates: %\"PRIi64\"\\n\",\n+\t\tRCU_SCALE_DOWN,\n \t\trte_atomic64_read(&update_cycles) /\n \t\t(rte_atomic64_read(&updates) / RCU_SCALE_DOWN));\n \tprintf(\"Total RCU checks = %\"PRIi64\"\\n\", rte_atomic64_read(&checks));\n@@ -217,8 +219,10 @@ test_rcu_qsbr_rperf(void)\n \t/* Wait until all readers have exited */\n \trte_eal_mp_wait_lcore();\n \n-\tprintf(\"Total RCU updates = %\"PRIi64\"\\n\", rte_atomic64_read(&updates));\n-\tprintf(\"Cycles per %d updates: %\"PRIi64\"\\n\", RCU_SCALE_DOWN,\n+\tprintf(\"Total quiescent state updates = %\"PRIi64\"\\n\",\n+\t\trte_atomic64_read(&updates));\n+\tprintf(\"Cycles per %d quiescent state updates: %\"PRIi64\"\\n\",\n+\t\tRCU_SCALE_DOWN,\n \t\trte_atomic64_read(&update_cycles) /\n \t\t(rte_atomic64_read(&updates) / RCU_SCALE_DOWN));\n \n@@ -462,7 +466,7 @@ test_rcu_qsbr_sw_sv_1qs(void)\n \trte_free(keys);\n \n \tprintf(\"Following numbers include calls to rte_hash functions\\n\");\n-\tprintf(\"Cycles per 1 update(online/update/offline): %\"PRIi64\"\\n\",\n+\tprintf(\"Cycles per 1 quiescent state update(online/update/offline): %\"PRIi64\"\\n\",\n \t\trte_atomic64_read(&update_cycles) /\n \t\trte_atomic64_read(&updates));\n \n@@ -578,7 +582,7 @@ test_rcu_qsbr_sw_sv_1qs_non_blocking(void)\n \trte_free(keys);\n \n \tprintf(\"Following numbers include calls to rte_hash functions\\n\");\n-\tprintf(\"Cycles per 1 update(online/update/offline): %\"PRIi64\"\\n\",\n+\tprintf(\"Cycles per 1 quiescent state update(online/update/offline): %\"PRIi64\"\\n\",\n \t\trte_atomic64_read(&update_cycles) /\n \t\trte_atomic64_read(&updates));\n \n",
    "prefixes": [
        "v2",
        "5/7"
    ]
}