get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 125830,
    "url": "http://patches.dpdk.org/api/patches/125830/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1680741919-22102-2-git-send-email-roretzla@linux.microsoft.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": "<1680741919-22102-2-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1680741919-22102-2-git-send-email-roretzla@linux.microsoft.com",
    "date": "2023-04-06T00:45:09",
    "name": "[v3,01/11] eal: use rdtsc intrinsic when compiling with msvc",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7a96c08328e6fb75508f2396071fdee769fcf6dc",
    "submitter": {
        "id": 2077,
        "url": "http://patches.dpdk.org/api/people/2077/?format=api",
        "name": "Tyler Retzlaff",
        "email": "roretzla@linux.microsoft.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1680741919-22102-2-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 27633,
            "url": "http://patches.dpdk.org/api/series/27633/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27633",
            "date": "2023-04-06T00:45:11",
            "name": "msvc integration changes",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/27633/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/125830/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/125830/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id C17B4428D0;\n\tThu,  6 Apr 2023 02:45:40 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 786D042D13;\n\tThu,  6 Apr 2023 02:45:26 +0200 (CEST)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 3506142BAC\n for <dev@dpdk.org>; Thu,  6 Apr 2023 02:45:22 +0200 (CEST)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id 2BACD210DEF8; Wed,  5 Apr 2023 17:45:21 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 2BACD210DEF8",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1680741921;\n bh=5ltsvVaUMbKkOdztLnohPoEDJyNO4qKJ6XNaAjGfoFU=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=pma9vWmYXTzGClP1g+/yGmKG+75xx9GzaPZCN3lJWV0tXvoKdDfCkZ3kCrZZ92J9q\n ppyDz0hEzZQXf/1XaNONEgC9WrEOVwfXnC3zx0T1iNkb+gSwzCNHMeFa9tOwoWjyvj\n HZicF8QQKszVRrWexnod4B6eP9YqbIF+XV3i9ARY=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com, david.marchand@redhat.com,\n thomas@monjalon.net,\n mb@smartsharesystems.com, konstantin.ananyev@huawei.com,\n Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "Subject": "[PATCH v3 01/11] eal: use rdtsc intrinsic when compiling with msvc",
        "Date": "Wed,  5 Apr 2023 17:45:09 -0700",
        "Message-Id": "<1680741919-22102-2-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1680741919-22102-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1680558751-17931-1-git-send-email-roretzla@linux.microsoft.com>\n <1680741919-22102-1-git-send-email-roretzla@linux.microsoft.com>",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "Inline assembly is not supported for msvc x64 instead use __rdtsc\nintrinsic.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/eal/x86/include/rte_cycles.h | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/lib/eal/x86/include/rte_cycles.h b/lib/eal/x86/include/rte_cycles.h\nindex a461a4d..0c142ce 100644\n--- a/lib/eal/x86/include/rte_cycles.h\n+++ b/lib/eal/x86/include/rte_cycles.h\n@@ -6,6 +6,10 @@\n #ifndef _RTE_CYCLES_X86_64_H_\n #define _RTE_CYCLES_X86_64_H_\n \n+#ifdef RTE_TOOLCHAIN_MSVC\n+#include <intrin.h>\n+#endif\n+\n #ifdef __cplusplus\n extern \"C\" {\n #endif\n@@ -23,6 +27,7 @@\n static inline uint64_t\n rte_rdtsc(void)\n {\n+#ifndef RTE_TOOLCHAIN_MSVC\n \tunion {\n \t\tuint64_t tsc_64;\n \t\tRTE_STD_C11\n@@ -47,6 +52,9 @@\n \t\t     \"=a\" (tsc.lo_32),\n \t\t     \"=d\" (tsc.hi_32));\n \treturn tsc.tsc_64;\n+#else\n+\treturn __rdtsc();\n+#endif\n }\n \n static inline uint64_t\n",
    "prefixes": [
        "v3",
        "01/11"
    ]
}