get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7390,
    "url": "https://patches.dpdk.org/api/patches/7390/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/6ee9fff4016c7ef0b8f84251caa11e55a81ee9e7.1443737626.git.viktorin@rehivetech.com/",
    "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": "<6ee9fff4016c7ef0b8f84251caa11e55a81ee9e7.1443737626.git.viktorin@rehivetech.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/6ee9fff4016c7ef0b8f84251caa11e55a81ee9e7.1443737626.git.viktorin@rehivetech.com",
    "date": "2015-10-03T08:58:15",
    "name": "[dpdk-dev,v1,09/12] eal/arm: rwlock support for ARM",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "60ce5ce633ccecb870b3c8d4240585f379ffe1da",
    "submitter": {
        "id": 292,
        "url": "https://patches.dpdk.org/api/people/292/?format=api",
        "name": "Jan Viktorin",
        "email": "viktorin@rehivetech.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/6ee9fff4016c7ef0b8f84251caa11e55a81ee9e7.1443737626.git.viktorin@rehivetech.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7390/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7390/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 CBC728E8D;\n\tSat,  3 Oct 2015 10:59:01 +0200 (CEST)",
            "from we2-f167.wedos.net (w-smtp-out-7.wedos.net [46.28.106.5])\n\tby dpdk.org (Postfix) with ESMTP id 2BAF58E73\n\tfor <dev@dpdk.org>; Sat,  3 Oct 2015 10:58:52 +0200 (CEST)",
            "from ([147.229.13.147])\n\tby we2-f167.wedos.net (WEDOS Mail Server mail2) with ASMTP (SSL) id\n\tQWJ00151; Sat, 03 Oct 2015 10:58:51 +0200"
        ],
        "From": "Jan Viktorin <viktorin@rehivetech.com>",
        "To": "dev@dpdk.org",
        "Date": "Sat,  3 Oct 2015 10:58:15 +0200",
        "Message-Id": "<6ee9fff4016c7ef0b8f84251caa11e55a81ee9e7.1443737626.git.viktorin@rehivetech.com>",
        "X-Mailer": "git-send-email 2.6.0",
        "In-Reply-To": [
            "<cover.1443737626.git.viktorin@rehivetech.com>",
            "<cover.1443737626.git.viktorin@rehivetech.com>"
        ],
        "References": [
            "<cover.1443737626.git.viktorin@rehivetech.com>",
            "<cover.1443737626.git.viktorin@rehivetech.com>"
        ],
        "Cc": "Jan Viktorin <viktorin@rehivetech.com>",
        "Subject": "[dpdk-dev] [PATCH v1 09/12] eal/arm: rwlock support for ARM",
        "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": "Just a copy from PPC.\n\nSigned-off-by: Jan Viktorin <viktorin@rehivetech.com>\n---\n .../common/include/arch/arm/rte_rwlock.h           | 40 ++++++++++++++++++++++\n 1 file changed, 40 insertions(+)\n create mode 100644 lib/librte_eal/common/include/arch/arm/rte_rwlock.h",
    "diff": "diff --git a/lib/librte_eal/common/include/arch/arm/rte_rwlock.h b/lib/librte_eal/common/include/arch/arm/rte_rwlock.h\nnew file mode 100644\nindex 0000000..664bec8\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/arm/rte_rwlock.h\n@@ -0,0 +1,40 @@\n+/* copied from ppc_64 */\n+\n+#ifndef _RTE_RWLOCK_ARM_H_\n+#define _RTE_RWLOCK_ARM_H_\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include \"generic/rte_rwlock.h\"\n+\n+static inline void\n+rte_rwlock_read_lock_tm(rte_rwlock_t *rwl)\n+{\n+\trte_rwlock_read_lock(rwl);\n+}\n+\n+static inline void\n+rte_rwlock_read_unlock_tm(rte_rwlock_t *rwl)\n+{\n+\trte_rwlock_read_unlock(rwl);\n+}\n+\n+static inline void\n+rte_rwlock_write_lock_tm(rte_rwlock_t *rwl)\n+{\n+\trte_rwlock_write_lock(rwl);\n+}\n+\n+static inline void\n+rte_rwlock_write_unlock_tm(rte_rwlock_t *rwl)\n+{\n+\trte_rwlock_write_unlock(rwl);\n+}\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_RWLOCK_ARM_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "v1",
        "09/12"
    ]
}