get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83119,
    "url": "https://patches.dpdk.org/api/patches/83119/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1604109710-31624-6-git-send-email-timothy.mcdaniel@intel.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": "<1604109710-31624-6-git-send-email-timothy.mcdaniel@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1604109710-31624-6-git-send-email-timothy.mcdaniel@intel.com",
    "date": "2020-10-31T02:01:32",
    "name": "[v8,05/23] event/dlb2: add inline functions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e9ed9d437d66708c2672f57cb48094061489eeed",
    "submitter": {
        "id": 826,
        "url": "https://patches.dpdk.org/api/people/826/?format=api",
        "name": "Timothy McDaniel",
        "email": "timothy.mcdaniel@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1604109710-31624-6-git-send-email-timothy.mcdaniel@intel.com/mbox/",
    "series": [
        {
            "id": 13516,
            "url": "https://patches.dpdk.org/api/series/13516/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13516",
            "date": "2020-10-31T02:01:27",
            "name": "Add DLB2 PMD",
            "version": 8,
            "mbox": "https://patches.dpdk.org/series/13516/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/83119/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/83119/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 85F75A04E6;\n\tSat, 31 Oct 2020 03:01:11 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D1B0AC98A;\n\tSat, 31 Oct 2020 03:00:23 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 41F0EC934\n for <dev@dpdk.org>; Sat, 31 Oct 2020 03:00:08 +0100 (CET)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Oct 2020 19:00:07 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by orsmga004.jf.intel.com with ESMTP; 30 Oct 2020 19:00:07 -0700"
        ],
        "IronPort-SDR": [
            "\n GPBm0aY7BJRN7LLKKuGkkMN1res505ryp5Vne38e1sMmxqZTpoa/niFRWfcalvpk7PUdoqF0te\n cFbx7Uv06KGg==",
            "\n qpiXVZGseGkKT8TPIlHPC+Btm1qVXiQQ6+RdShxeqUyVJXh6UuOWP6K7ARcoo2M5JjhFWC7nYb\n o/3wjNsP6LBg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9790\"; a=\"232867021\"",
            "E=Sophos;i=\"5.77,435,1596524400\"; d=\"scan'208\";a=\"232867021\"",
            "E=Sophos;i=\"5.77,435,1596524400\"; d=\"scan'208\";a=\"469704597\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Timothy McDaniel <timothy.mcdaniel@intel.com>",
        "To": "",
        "Cc": "dev@dpdk.org, erik.g.carrillo@intel.com, gage.eads@intel.com,\n harry.van.haaren@intel.com, jerinj@marvell.com, thomas@monjalon.net",
        "Date": "Fri, 30 Oct 2020 21:01:32 -0500",
        "Message-Id": "<1604109710-31624-6-git-send-email-timothy.mcdaniel@intel.com>",
        "X-Mailer": "git-send-email 1.7.10",
        "In-Reply-To": "<1604109710-31624-1-git-send-email-timothy.mcdaniel@intel.com>",
        "References": "<1602958879-8558-2-git-send-email-timothy.mcdaniel@intel.com>\n <1604109710-31624-1-git-send-email-timothy.mcdaniel@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v8 05/23] event/dlb2: add inline functions",
        "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": "Add miscellaneous inline functions that may be called\nfrom multiple files.  These functions include inline\nassembly of new x86 instructions, such as movdir64b,\nsince they are not available as builtin functions in\nthe minimum supported GCC version.\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\nReviewed-by: Gage Eads <gage.eads@intel.com>\n---\n drivers/event/dlb2/dlb2_inline_fns.h | 42 ++++++++++++++++++++++++++++++++++++\n 1 file changed, 42 insertions(+)\n create mode 100644 drivers/event/dlb2/dlb2_inline_fns.h",
    "diff": "diff --git a/drivers/event/dlb2/dlb2_inline_fns.h b/drivers/event/dlb2/dlb2_inline_fns.h\nnew file mode 100644\nindex 0000000..cf7265c\n--- /dev/null\n+++ b/drivers/event/dlb2/dlb2_inline_fns.h\n@@ -0,0 +1,42 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2016-2020 Intel Corporation\n+ */\n+\n+#ifndef _DLB2_INLINE_FNS_H_\n+#define _DLB2_INLINE_FNS_H_\n+\n+/* Inline functions required in more than one source file. */\n+\n+static inline struct dlb2_eventdev *\n+dlb2_pmd_priv(const struct rte_eventdev *eventdev)\n+{\n+\treturn eventdev->data->dev_private;\n+}\n+\n+static inline void\n+dlb2_movntdq_single(void *pp_addr, void *qe4)\n+{\n+\tlong long *_qe  = (long long *)qe4;\n+\t__m128i src_data0 = (__m128i){_qe[0], _qe[1]};\n+\n+\t_mm_stream_si128(pp_addr, src_data0);\n+}\n+\n+static inline void\n+dlb2_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+dlb2_movdir64b(void *pp_addr, void *qe4)\n+{\n+\tasm volatile(\".byte 0x66, 0x0f, 0x38, 0xf8, 0x02\"\n+\t\t     :\n+\t\t     : \"a\" (pp_addr), \"d\" (qe4));\n+}\n+\n+#endif /* _DLB2_INLINE_FNS_H_ */\n",
    "prefixes": [
        "v8",
        "05/23"
    ]
}