get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 11895,
    "url": "http://patches.dpdk.org/api/patches/11895/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1459523029-44243-2-git-send-email-pablo.de.lara.guarch@intel.com/",
    "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": "<1459523029-44243-2-git-send-email-pablo.de.lara.guarch@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1459523029-44243-2-git-send-email-pablo.de.lara.guarch@intel.com",
    "date": "2016-04-01T15:03:48",
    "name": "[dpdk-dev,v3,1/2] hash: use RTE_ARCH_X86 macro for X86 systems",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e1d0ce9b1fcc8f3a993c96dcd948b063054868ae",
    "submitter": {
        "id": 9,
        "url": "http://patches.dpdk.org/api/people/9/?format=api",
        "name": "De Lara Guarch, Pablo",
        "email": "pablo.de.lara.guarch@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1459523029-44243-2-git-send-email-pablo.de.lara.guarch@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/11895/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/11895/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 909561C52;\n\tFri,  1 Apr 2016 17:05:26 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 3198911C5\n\tfor <dev@dpdk.org>; Fri,  1 Apr 2016 17:05:25 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga103.fm.intel.com with ESMTP; 01 Apr 2016 08:03:53 -0700",
            "from sie-lab-214-036.ir.intel.com (HELO\n\tsie-lab-214-36.ir.intel.com) ([10.237.214.36])\n\tby orsmga002.jf.intel.com with ESMTP; 01 Apr 2016 08:03:51 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.24,427,1455004800\"; d=\"scan'208\";a=\"946115797\"",
        "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com,\n\tPablo de Lara <pablo.de.lara.guarch@intel.com>",
        "Date": "Fri,  1 Apr 2016 16:03:48 +0100",
        "Message-Id": "<1459523029-44243-2-git-send-email-pablo.de.lara.guarch@intel.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "In-Reply-To": "<1459523029-44243-1-git-send-email-pablo.de.lara.guarch@intel.com>",
        "References": "<1459359297-31549-1-git-send-email-pablo.de.lara.guarch@intel.com>\n\t<1459523029-44243-1-git-send-email-pablo.de.lara.guarch@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 1/2] hash: use RTE_ARCH_X86 macro for X86\n\tsystems",
        "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": "Instead of using RTE_ARCH_X86_64, RTE_ARCH_X86_32\nand RTE_ARCH_I686, use directly RTTE_ARCH_X86\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n lib/librte_hash/rte_cuckoo_hash.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/librte_hash/rte_cuckoo_hash.c b/lib/librte_hash/rte_cuckoo_hash.c\nindex 71b5b76..b9b0b65 100644\n--- a/lib/librte_hash/rte_cuckoo_hash.c\n+++ b/lib/librte_hash/rte_cuckoo_hash.c\n@@ -59,7 +59,7 @@\n #include <rte_compat.h>\n \n #include \"rte_hash.h\"\n-#if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686) || defined(RTE_ARCH_X86_X32)\n+#if defined(RTE_ARCH_X86)\n #include \"rte_cmp_x86.h\"\n #endif\n \n@@ -287,8 +287,7 @@ rte_hash_create(const struct rte_hash_parameters *params)\n  * If x86 architecture is used, select appropriate compare function,\n  * which may use x86 instrinsics, otherwise use memcmp\n  */\n-#if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686) ||\\\n-\t defined(RTE_ARCH_X86_X32) || defined(RTE_ARCH_ARM64)\n+#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64)\n \t/* Select function to compare keys */\n \tswitch (params->key_len) {\n \tcase 16:\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "1/2"
    ]
}