get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75060,
    "url": "http://patches.dpdk.org/api/patches/75060/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1596138614-17409-10-git-send-email-timothy.mcdaniel@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": "<1596138614-17409-10-git-send-email-timothy.mcdaniel@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1596138614-17409-10-git-send-email-timothy.mcdaniel@intel.com",
    "date": "2020-07-30T19:49:56",
    "name": "[09/27] event/dlb: add inline functions used in multiple files",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "80dd869b59b8423d91353b2e9ef0676608e31cb7",
    "submitter": {
        "id": 826,
        "url": "http://patches.dpdk.org/api/people/826/?format=api",
        "name": "Timothy McDaniel",
        "email": "timothy.mcdaniel@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1596138614-17409-10-git-send-email-timothy.mcdaniel@intel.com/mbox/",
    "series": [
        {
            "id": 11425,
            "url": "http://patches.dpdk.org/api/series/11425/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11425",
            "date": "2020-07-30T19:49:47",
            "name": "Add Intel DLM PMD to 20.11",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11425/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75060/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/75060/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A496AA052B;\n\tThu, 30 Jul 2020 21:54:40 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 366C91C0CF;\n\tThu, 30 Jul 2020 21:53:24 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by dpdk.org (Postfix) with ESMTP id 468041C002\n for <dev@dpdk.org>; Thu, 30 Jul 2020 21:53:11 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Jul 2020 12:53:10 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by orsmga005.jf.intel.com with ESMTP; 30 Jul 2020 12:53:10 -0700"
        ],
        "IronPort-SDR": [
            "\n DVogf01F2BSw0v/yuuukinEMR0wAOuMEJQ5ed1KByGtJysOHFPY8+9lD2WtItd+oAZW4gy4qWM\n aWG3NK9xjs0w==",
            "\n JxGGrGWYWfBCi67aDZsDD5KZQojwjzl5XqF7KQVKSV+ji8rAgfFnNcuVzEeTICCoElw6Qzr4mF\n oQMi+Q9D9Srw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9698\"; a=\"139672302\"",
            "E=Sophos;i=\"5.75,415,1589266800\"; d=\"scan'208\";a=\"139672302\"",
            "E=Sophos;i=\"5.75,415,1589266800\"; d=\"scan'208\";a=\"465378099\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "\"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>",
        "To": "jerinj@marvell.com",
        "Cc": "mattias.ronnblom@ericsson.com, dev@dpdk.org, gage.eads@intel.com,\n harry.van.haaren@intel.com,\n \"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>",
        "Date": "Thu, 30 Jul 2020 14:49:56 -0500",
        "Message-Id": "<1596138614-17409-10-git-send-email-timothy.mcdaniel@intel.com>",
        "X-Mailer": "git-send-email 1.7.10",
        "In-Reply-To": "<1596138614-17409-1-git-send-email-timothy.mcdaniel@intel.com>",
        "References": "<1593232671-5690-0-git-send-email-timothy.mcdaniel@intel.com>\n <1596138614-17409-1-git-send-email-timothy.mcdaniel@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 09/27] event/dlb: add inline functions used in\n\tmultiple files",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: \"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>\n\nSigned-off-by: McDaniel, Timothy <timothy.mcdaniel@intel.com>\n---\n drivers/event/dlb/dlb_inline_fns.h |   80 ++++++++++++++++++++++++++++++++++++\n 1 file changed, 80 insertions(+)\n create mode 100644 drivers/event/dlb/dlb_inline_fns.h",
    "diff": "diff --git a/drivers/event/dlb/dlb_inline_fns.h b/drivers/event/dlb/dlb_inline_fns.h\nnew file mode 100644\nindex 0000000..6feae12\n--- /dev/null\n+++ b/drivers/event/dlb/dlb_inline_fns.h\n@@ -0,0 +1,80 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2016-2020 Intel Corporation\n+ */\n+\n+#include \"rte_memcpy.h\"\n+#include \"rte_io.h\"\n+\n+/* Inline functions required in more than one source file.\n+ */\n+\n+static inline struct dlb_eventdev *\n+dlb_pmd_priv(const struct rte_eventdev *eventdev)\n+{\n+\treturn eventdev->data->dev_private;\n+}\n+\n+static inline void\n+dlb_umonitor(volatile void *addr)\n+{\n+\tasm volatile(\".byte 0xf3, 0x0f, 0xae, 0xf7\\t\\n\"\n+\t\t\t:\n+\t\t\t: \"D\" (addr));\n+}\n+\n+static inline void\n+dlb_umwait(int state, uint64_t timeout)\n+{\n+\tuint32_t eax = timeout & UINT32_MAX;\n+\tuint32_t edx = timeout >> 32;\n+\n+\tasm volatile(\".byte 0xf2, 0x0f, 0xae, 0xf7\\t\\n\"\n+\t\t\t:\n+\t\t\t: \"D\" (state),  \"a\" (eax), \"d\" (edx));\n+}\n+\n+static inline void\n+dlb_movntdq(void *dest, void *src)\n+{\n+\t/* Move entire 64B cache line of QEs, 128 bits (16B) at a time. */\n+\tlong long *_src  = (long long *)src;\n+\t__v2di src_data0 = (__v2di){_src[0], _src[1]};\n+\t__v2di src_data1 = (__v2di){_src[2], _src[3]};\n+\t__v2di src_data2 = (__v2di){_src[4], _src[5]};\n+\t__v2di src_data3 = (__v2di){_src[6], _src[7]};\n+\n+\t__builtin_ia32_movntdq((__v2di *)dest + 0, (__v2di)src_data0);\n+\trte_wmb();\n+\t__builtin_ia32_movntdq((__v2di *)dest + 1, (__v2di)src_data1);\n+\trte_wmb();\n+\t__builtin_ia32_movntdq((__v2di *)dest + 2, (__v2di)src_data2);\n+\trte_wmb();\n+\t__builtin_ia32_movntdq((__v2di *)dest + 3, (__v2di)src_data3);\n+\trte_wmb();\n+}\n+\n+static inline void\n+dlb_movntdq_single(void *dest, void *src)\n+{\n+\tlong long *_src  = (long long *)src;\n+\t__v2di src_data0 = (__v2di){_src[0], _src[1]};\n+\n+\t__builtin_ia32_movntdq((__v2di *)dest, (__v2di)src_data0);\n+}\n+\n+static inline void\n+dlb_cldemote(void *addr)\n+{\n+\t/* Load addr into RSI, then demote the cache line of the address\n+\t * contained in that register.\n+\t */\n+\tasm volatile(\".byte 0x0f, 0x1c, 0x06\" :: \"S\" (addr));\n+}\n+\n+static inline void\n+dlb_movdir64b(void *dest, void *src)\n+{\n+\tasm volatile(\".byte 0x66, 0x0f, 0x38, 0xf8, 0x02\"\n+\t\t     :\n+\t\t     : \"a\" (dest), \"d\" (src));\n+}\n",
    "prefixes": [
        "09/27"
    ]
}