get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 105034,
    "url": "http://patchwork.dpdk.org/api/patches/105034/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1638990000-3228-9-git-send-email-jizh@linux.microsoft.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1638990000-3228-9-git-send-email-jizh@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1638990000-3228-9-git-send-email-jizh@linux.microsoft.com",
    "date": "2021-12-08T18:59:57",
    "name": "[v14,08/11] app/test: resolve name collision",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "232916d5e041de90319e4fe3cf1b8f5fc4a98880",
    "submitter": {
        "id": 1934,
        "url": "http://patchwork.dpdk.org/api/people/1934/?format=api",
        "name": "Jie Zhou",
        "email": "jizh@linux.microsoft.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1638990000-3228-9-git-send-email-jizh@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 20895,
            "url": "http://patchwork.dpdk.org/api/series/20895/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20895",
            "date": "2021-12-08T18:59:52",
            "name": "app/test: enable subset of tests on Windows",
            "version": 14,
            "mbox": "http://patchwork.dpdk.org/series/20895/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/105034/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/105034/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 24814A00C2;\n\tWed,  8 Dec 2021 20:00:51 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B287742710;\n\tWed,  8 Dec 2021 20:00:16 +0100 (CET)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 858914114F\n for <dev@dpdk.org>; Wed,  8 Dec 2021 20:00:07 +0100 (CET)",
            "from\n linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net\n (linux.microsoft.com [13.77.154.182])\n by linux.microsoft.com (Postfix) with ESMTPSA id 71EA620B718B;\n Wed,  8 Dec 2021 11:00:06 -0800 (PST)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 71EA620B718B",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1638990006;\n bh=l7fE7rR5cUsqlFJr5f/Ru6P/9Q44hFOWSCOyg+D0ovE=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=nbkcqrengwESJH0OybtvBaWKCZdqk4kT4nc7ksmN2gGJtmAb5cNL/BkINMg0UaO8j\n RIPQL8k1isjfLQE3s2Bw5IrMlWuMOXclSia83dtiG4IzHQjyCLYhXXyre06mA6KXLZ\n YeO4l4UD/EuhNF7j7ljPvSDJl50pDD5vlUArEF3w=",
        "From": "Jie Zhou <jizh@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "dmitry.kozliuk@gmail.com, bruce.richardson@intel.com,\n roretzla@microsoft.com, navasile@linux.microsoft.com,\n dmitrym@microsoft.com, pallavi.kadam@intel.com, talshn@nvidia.com,\n thomas@monjalon.net, aconole@redhat.com",
        "Subject": "[PATCH v14 08/11] app/test: resolve name collision",
        "Date": "Wed,  8 Dec 2021 10:59:57 -0800",
        "Message-Id": "<1638990000-3228-9-git-send-email-jizh@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1638990000-3228-1-git-send-email-jizh@linux.microsoft.com>",
        "References": "<1638928262-13177-1-git-send-email-jizh@linux.microsoft.com>\n <1638990000-3228-1-git-send-email-jizh@linux.microsoft.com>",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "Add OP_ prefix to resolve name collision to enable hash_perf test\n\nSigned-off-by: Jie Zhou <jizh@linux.microsoft.com>\n\n---\n app/test/test_hash_perf.c | 16 ++++++++--------\n 1 file changed, 8 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/app/test/test_hash_perf.c b/app/test/test_hash_perf.c\nindex 76cdac5d53..7e98ec3964 100644\n--- a/app/test/test_hash_perf.c\n+++ b/app/test/test_hash_perf.c\n@@ -30,10 +30,10 @@\n #define BURST_SIZE 16\n \n enum operations {\n-\tADD = 0,\n-\tLOOKUP,\n-\tLOOKUP_MULTI,\n-\tDELETE,\n+\tOP_ADD = 0,\n+\tOP_LOOKUP,\n+\tOP_LOOKUP_MULTI,\n+\tOP_DELETE,\n \tNUM_OPERATIONS\n };\n \n@@ -308,7 +308,7 @@ timed_adds(unsigned int with_hash, unsigned int with_data,\n \tconst uint64_t end_tsc = rte_rdtsc();\n \tconst uint64_t time_taken = end_tsc - start_tsc;\n \n-\tcycles[table_index][ADD][with_hash][with_data] = time_taken/keys_to_add;\n+\tcycles[table_index][OP_ADD][with_hash][with_data] = time_taken/keys_to_add;\n \n \treturn 0;\n }\n@@ -385,7 +385,7 @@ timed_lookups(unsigned int with_hash, unsigned int with_data,\n \tconst uint64_t end_tsc = rte_rdtsc();\n \tconst uint64_t time_taken = end_tsc - start_tsc;\n \n-\tcycles[table_index][LOOKUP][with_hash][with_data] = time_taken/num_lookups;\n+\tcycles[table_index][OP_LOOKUP][with_hash][with_data] = time_taken/num_lookups;\n \n \treturn 0;\n }\n@@ -511,7 +511,7 @@ timed_lookups_multi(unsigned int with_hash, unsigned int with_data,\n \tconst uint64_t end_tsc = rte_rdtsc();\n \tconst uint64_t time_taken = end_tsc - start_tsc;\n \n-\tcycles[table_index][LOOKUP_MULTI][with_hash][with_data] =\n+\tcycles[table_index][OP_LOOKUP_MULTI][with_hash][with_data] =\n \t\ttime_taken/num_lookups;\n \n \treturn 0;\n@@ -550,7 +550,7 @@ timed_deletes(unsigned int with_hash, unsigned int with_data,\n \tconst uint64_t end_tsc = rte_rdtsc();\n \tconst uint64_t time_taken = end_tsc - start_tsc;\n \n-\tcycles[table_index][DELETE][with_hash][with_data] = time_taken/keys_to_add;\n+\tcycles[table_index][OP_DELETE][with_hash][with_data] = time_taken/keys_to_add;\n \n \treturn 0;\n }\n",
    "prefixes": [
        "v14",
        "08/11"
    ]
}