get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8246,
    "url": "http://patches.dpdk.org/api/patches/8246/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1446139794-16071-4-git-send-email-david.hunt@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": "<1446139794-16071-4-git-send-email-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1446139794-16071-4-git-send-email-david.hunt@intel.com",
    "date": "2015-10-29T17:29:52",
    "name": "[dpdk-dev,3/5] eal: fix compilation for armv8 64-bit",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d579786b1f21b12e141c13d0c98969148e80bb48",
    "submitter": {
        "id": 342,
        "url": "http://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1446139794-16071-4-git-send-email-david.hunt@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/8246/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/8246/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 BED568E8B;\n\tThu, 29 Oct 2015 18:30:42 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 8F7458E74\n\tfor <dev@dpdk.org>; Thu, 29 Oct 2015 18:30:39 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga102.jf.intel.com with ESMTP; 29 Oct 2015 10:30:08 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 29 Oct 2015 10:30:03 -0700",
            "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt9THU15a006149; Thu, 29 Oct 2015 17:30:01 GMT",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t9THU1lT016188;\n\tThu, 29 Oct 2015 17:30:01 GMT",
            "(from dhunt5@localhost)\n\tby sivswdev02.ir.intel.com with  id t9THU1vt016184;\n\tThu, 29 Oct 2015 17:30:01 GMT"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,215,1444719600\"; d=\"scan'208\";a=\"806725561\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 29 Oct 2015 17:29:52 +0000",
        "Message-Id": "<1446139794-16071-4-git-send-email-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1446139794-16071-1-git-send-email-david.hunt@intel.com>",
        "References": "<1446139794-16071-1-git-send-email-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 3/5] eal: fix compilation for armv8 64-bit",
        "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": "Signed-off-by: David Hunt <david.hunt@intel.com>\n---\n lib/librte_eal/common/include/arch/arm/rte_cpuflags.h | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h b/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h\nindex 7ce9d14..27d49c0 100644\n--- a/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h\n+++ b/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h\n@@ -141,12 +141,21 @@ rte_cpu_get_features(__attribute__((unused)) uint32_t leaf,\n \t__attribute__((unused)) uint32_t subleaf, cpuid_registers_t out)\n {\n \tint auxv_fd;\n+#ifdef RTE_ARCH_64\n+\tElf64_auxv_t auxv;\n+#else\n \tElf32_auxv_t auxv;\n+#endif\n \n \tauxv_fd = open(\"/proc/self/auxv\", O_RDONLY);\n \tassert(auxv_fd);\n+#ifdef RTE_ARCH_64\n+\twhile (read(auxv_fd, &auxv,\n+\t\tsizeof(Elf64_auxv_t)) == sizeof(Elf64_auxv_t)) {\n+#else\n \twhile (read(auxv_fd, &auxv,\n \t\tsizeof(Elf32_auxv_t)) == sizeof(Elf32_auxv_t)) {\n+#endif\n \t\tif (auxv.a_type == AT_HWCAP)\n \t\t\tout[REG_HWCAP] = auxv.a_un.a_val;\n \t\telse if (auxv.a_type == AT_HWCAP2)\n",
    "prefixes": [
        "dpdk-dev",
        "3/5"
    ]
}