get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8363,
    "url": "http://patches.dpdk.org/api/patches/8363/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1446205886-23823-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": "<1446205886-23823-4-git-send-email-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1446205886-23823-4-git-send-email-david.hunt@intel.com",
    "date": "2015-10-30T11:51:23",
    "name": "[dpdk-dev,v2,3/6] eal/arm: add 64-bit armv8 version of rte_cycles.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "23604f0cc51d88d287d13eecefba886d204e4264",
    "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-4-git-send-email-david.hunt@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/8363/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/8363/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 4686C8E73;\n\tFri, 30 Oct 2015 12:51:50 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id CD6CD8E70\n\tfor <dev@dpdk.org>; Fri, 30 Oct 2015 12:51:48 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby orsmga102.jf.intel.com with ESMTP; 30 Oct 2015 04:51:48 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby FMSMGA003.fm.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\tt9UBpkPQ024780; Fri, 30 Oct 2015 11:51:46 GMT",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t9UBpket023898;\n\tFri, 30 Oct 2015 11:51:46 GMT",
            "(from dhunt5@localhost)\n\tby sivswdev02.ir.intel.com with  id t9UBpkZD023894;\n\tFri, 30 Oct 2015 11:51:46 GMT"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,218,1444719600\"; d=\"scan'208\";a=\"590970819\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 30 Oct 2015 11:51:23 +0000",
        "Message-Id": "<1446205886-23823-4-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 3/6] eal/arm: add 64-bit armv8 version of\n\trte_cycles.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 .../common/include/arch/arm/rte_cycles.h           |  4 ++\n .../common/include/arch/arm/rte_cycles_64.h        | 77 ++++++++++++++++++++++\n 2 files changed, 81 insertions(+)\n create mode 100644 lib/librte_eal/common/include/arch/arm/rte_cycles_64.h",
    "diff": "diff --git a/lib/librte_eal/common/include/arch/arm/rte_cycles.h b/lib/librte_eal/common/include/arch/arm/rte_cycles.h\nindex b2372fa..a8009a0 100644\n--- a/lib/librte_eal/common/include/arch/arm/rte_cycles.h\n+++ b/lib/librte_eal/common/include/arch/arm/rte_cycles.h\n@@ -33,6 +33,10 @@\n #ifndef _RTE_CYCLES_ARM_H_\n #define _RTE_CYCLES_ARM_H_\n \n+#ifdef RTE_ARCH_64\n+#include <rte_cycles_64.h>\n+#else\n #include <rte_cycles_32.h>\n+#endif\n \n #endif /* _RTE_CYCLES_ARM_H_ */\ndiff --git a/lib/librte_eal/common/include/arch/arm/rte_cycles_64.h b/lib/librte_eal/common/include/arch/arm/rte_cycles_64.h\nnew file mode 100644\nindex 0000000..148b9f4\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/arm/rte_cycles_64.h\n@@ -0,0 +1,77 @@\n+/*\n+ *   BSD LICENSE\n+ *\n+ *   Copyright (C) IBM Corporation 2014.\n+ *\n+ *   Redistribution and use in source and binary forms, with or without\n+ *   modification, are permitted provided that the following conditions\n+ *   are met:\n+ *\n+ *     * Redistributions of source code must retain the above copyright\n+ *       notice, this list of conditions and the following disclaimer.\n+ *     * Redistributions in binary form must reproduce the above copyright\n+ *       notice, this list of conditions and the following disclaimer in\n+ *       the documentation and/or other materials provided with the\n+ *       distribution.\n+ *     * Neither the name of IBM Corporation nor the names of its\n+ *       contributors may be used to endorse or promote products derived\n+ *       from this software without specific prior written permission.\n+ *\n+ *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ *   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+*/\n+\n+#ifndef _RTE_CYCLES_ARM64_H_\n+#define _RTE_CYCLES_ARM64_H_\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include \"generic/rte_cycles.h\"\n+\n+/**\n+ * Read the time base register.\n+ *\n+ * @return\n+ *   The time base for this lcore.\n+ */\n+static inline uint64_t\n+rte_rdtsc(void)\n+{\n+\tuint64_t tsc;\n+\n+\tasm volatile(\"mrs %0, CNTVCT_EL0\" : \"=r\" (tsc));\n+\n+#ifdef RTE_TIMER_MULTIPLIER\n+\treturn tsc * RTE_TIMER_MULTIPLIER;\n+#else\n+\treturn tsc;\n+#endif\n+\n+}\n+\n+static inline uint64_t\n+rte_rdtsc_precise(void)\n+{\n+\tasm volatile(\"isb sy\" :::);\n+\treturn rte_rdtsc();\n+}\n+\n+static inline uint64_t\n+rte_get_tsc_cycles(void) { return rte_rdtsc(); }\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_CYCLES_ARM64_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "3/6"
    ]
}