get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1322,
    "url": "https://patches.dpdk.org/api/patches/1322/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/cb937bee7e7f3d73cfccb10f5bd138865e404dac.1416280649.git.e_zhumabekov@sts.kz/",
    "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": "<cb937bee7e7f3d73cfccb10f5bd138865e404dac.1416280649.git.e_zhumabekov@sts.kz>",
    "list_archive_url": "https://inbox.dpdk.org/dev/cb937bee7e7f3d73cfccb10f5bd138865e404dac.1416280649.git.e_zhumabekov@sts.kz",
    "date": "2014-11-18T03:21:55",
    "name": "[dpdk-dev,v3,2/5] hash: add new rte_hash_crc_8byte call",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e986e17276058e4681224e1ab33521d561cf63c5",
    "submitter": {
        "id": 36,
        "url": "https://patches.dpdk.org/api/people/36/?format=api",
        "name": "Yerden Zhumabekov",
        "email": "e_zhumabekov@sts.kz"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/cb937bee7e7f3d73cfccb10f5bd138865e404dac.1416280649.git.e_zhumabekov@sts.kz/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1322/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1322/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 15032595B;\n\tTue, 18 Nov 2014 04:11:13 +0100 (CET)",
            "from mgw.gov.kz (mgw.gov.kz [89.218.88.242])\n\tby dpdk.org (Postfix) with ESMTP id 955D43975\n\tfor <dev@dpdk.org>; Tue, 18 Nov 2014 04:11:11 +0100 (CET)",
            "from mgw.gov.kz (mx.ctsat.kz [178.89.4.95])\n\tby mgw.gov.kz  with ESMTP id sAI3LRTV028011-sAI3LRTZ028011\n\t(version=TLSv1.0 cipher=AES128-SHA bits=128 verify=NO);\n\tTue, 18 Nov 2014 09:21:28 +0600",
            "from EXCASHUB2.rgp.local (192.168.40.53) by EdgeForefront.rgp.local\n\t(192.168.40.59) with Microsoft SMTP Server (TLS) id 14.2.247.3;\n\tTue, 18 Nov 2014 09:21:17 +0600",
            "from r220.rgp.local (192.168.59.10) by excashub2.rgp.local\n\t(192.168.40.48) with Microsoft SMTP Server (TLS) id 14.2.247.3;\n\tTue, 18 Nov 2014 09:21:37 +0600"
        ],
        "From": "Yerden Zhumabekov <e_zhumabekov@sts.kz>",
        "To": "<dev@dpdk.org>",
        "Date": "Tue, 18 Nov 2014 09:21:55 +0600",
        "Message-ID": "<cb937bee7e7f3d73cfccb10f5bd138865e404dac.1416280649.git.e_zhumabekov@sts.kz>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "In-Reply-To": "<cover.1416280649.git.e_zhumabekov@sts.kz>",
        "References": "<1416160760-16087-1-git-send-email-e_zhumabekov@sts.kz>\n\t<cover.1416280649.git.e_zhumabekov@sts.kz>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[192.168.59.10]",
        "X-FEAS-SYSTEM-WL": "e_zhumabekov@sts.kz",
        "Subject": "[dpdk-dev] [PATCH v3 2/5] hash: add new rte_hash_crc_8byte call",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "SSE4.2 provides _mm_crc32_u64 intrinsic with 8-byte operand.\n\nSigned-off-by: Yerden Zhumabekov <e_zhumabekov@sts.kz>\n---\n lib/librte_hash/rte_hash_crc.h |   16 ++++++++++++++++\n 1 file changed, 16 insertions(+)",
    "diff": "diff --git a/lib/librte_hash/rte_hash_crc.h b/lib/librte_hash/rte_hash_crc.h\nindex 4d7532a..15f687a 100644\n--- a/lib/librte_hash/rte_hash_crc.h\n+++ b/lib/librte_hash/rte_hash_crc.h\n@@ -380,6 +380,22 @@ rte_hash_crc_4byte(uint32_t data, uint32_t init_val)\n }\n \n /**\n+ * Use single crc32 instruction to perform a hash on a 8 byte value.\n+ *\n+ * @param data\n+ *   Data to perform hash on.\n+ * @param init_val\n+ *   Value to initialise hash generator.\n+ * @return\n+ *   32bit calculated hash value.\n+ */\n+static inline uint32_t\n+rte_hash_crc_8byte(uint64_t data, uint32_t init_val)\n+{\n+\treturn _mm_crc32_u64(init_val, data);\n+}\n+\n+/**\n  * Use crc32 instruction to perform a hash.\n  *\n  * @param data\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "2/5"
    ]
}