get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8366,
    "url": "http://patches.dpdk.org/api/patches/8366/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1446205886-23823-5-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": "<1446205886-23823-5-git-send-email-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1446205886-23823-5-git-send-email-david.hunt@intel.com",
    "date": "2015-10-30T11:51:24",
    "name": "[dpdk-dev,v2,4/6] eal/arm: fix 64-bit armv8 compilation of rte_cpuflags.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9d0961f191d343dc7ff5aa01272dcbaadcc6fa02",
    "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/1446205886-23823-5-git-send-email-david.hunt@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/8366/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/8366/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 1B7028E86;\n\tFri, 30 Oct 2015 12:51:56 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 244548E71\n\tfor <dev@dpdk.org>; Fri, 30 Oct 2015 12:51:49 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga101.fm.intel.com with ESMTP; 30 Oct 2015 04:51:49 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 30 Oct 2015 04:51:47 -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\tt9UBplcM024786; Fri, 30 Oct 2015 11:51:47 GMT",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t9UBplb7023906;\n\tFri, 30 Oct 2015 11:51:47 GMT",
            "(from dhunt5@localhost)\n\tby sivswdev02.ir.intel.com with  id t9UBpl8S023902;\n\tFri, 30 Oct 2015 11:51:47 GMT"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,218,1444719600\"; d=\"scan'208\";a=\"807421588\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 30 Oct 2015 11:51:24 +0000",
        "Message-Id": "<1446205886-23823-5-git-send-email-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1446205886-23823-1-git-send-email-david.hunt@intel.com>",
        "References": "<1446205886-23823-1-git-send-email-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 4/6] eal/arm: fix 64-bit armv8 compilation of\n\trte_cpuflags.h",
        "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 | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)",
    "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..5c5fd6a 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,16 @@ 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 \twhile (read(auxv_fd, &auxv,\n-\t\tsizeof(Elf32_auxv_t)) == sizeof(Elf32_auxv_t)) {\n+\t\tsizeof(auxv)) == sizeof(auxv)) {\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",
        "v2",
        "4/6"
    ]
}