get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 129463,
    "url": "http://patchwork.dpdk.org/api/patches/129463/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1689094157-16873-12-git-send-email-roretzla@linux.microsoft.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1689094157-16873-12-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1689094157-16873-12-git-send-email-roretzla@linux.microsoft.com",
    "date": "2023-07-11T16:49:14",
    "name": "[v9,11/14] eal: exclude exposure of rte atomic APIs for MSVC builds",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "63bf45520498ed578e6261402803a0d4bd0639ea",
    "submitter": {
        "id": 2077,
        "url": "http://patchwork.dpdk.org/api/people/2077/?format=api",
        "name": "Tyler Retzlaff",
        "email": "roretzla@linux.microsoft.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1689094157-16873-12-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 28906,
            "url": "http://patchwork.dpdk.org/api/series/28906/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28906",
            "date": "2023-07-11T16:49:04",
            "name": "msvc integration changes",
            "version": 9,
            "mbox": "http://patchwork.dpdk.org/series/28906/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/129463/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/129463/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 E21D542E48;\n\tTue, 11 Jul 2023 18:50:09 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B97FA42D39;\n\tTue, 11 Jul 2023 18:49:29 +0200 (CEST)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 2999C40C35\n for <dev@dpdk.org>; Tue, 11 Jul 2023 18:49:20 +0200 (CEST)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id 1BC0821C426F; Tue, 11 Jul 2023 09:49:18 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 1BC0821C426F",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1689094159;\n bh=Zd2j52QQJPm8bxZ40nCSB12LzcUyq299oMfkdipuZQo=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=p40eJi0Go1cnxZqTYmvpGKFlPKTnnVLhGlnRjqpwO7GBd8m3pG94uwg/RGktgfwkZ\n 3yoUUb11gJlEgcVM+QSjPIRFCX5095lVrCDbJSGWSBP/H6XNQW73Apk8RMHytlfKD8\n 6E1iTChJGxEnu+xoWyz07krVamDk/0VFc30UpS3k=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Ciara Power <ciara.power@intel.com>, thomas@monjalon.net,\n david.marchand@redhat.com, mb@smartsharesystems.com,\n Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "Subject": "[PATCH v9 11/14] eal: exclude exposure of rte atomic APIs for MSVC\n builds",
        "Date": "Tue, 11 Jul 2023 09:49:14 -0700",
        "Message-Id": "<1689094157-16873-12-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1689094157-16873-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1680558751-17931-1-git-send-email-roretzla@linux.microsoft.com>\n <1689094157-16873-1-git-send-email-roretzla@linux.microsoft.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "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": "It's discouraged to use rte_atomics APIs instead standard APIs should be\nused from C11. Since MSVC is a new toolchain/platform combination block\nvisibility of the rte_atomic APIs from day 1.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n lib/eal/include/generic/rte_atomic.h | 7 +++++++\n lib/eal/x86/include/rte_atomic.h     | 4 ++++\n 2 files changed, 11 insertions(+)",
    "diff": "diff --git a/lib/eal/include/generic/rte_atomic.h b/lib/eal/include/generic/rte_atomic.h\nindex 6a6c394..0112208 100644\n--- a/lib/eal/include/generic/rte_atomic.h\n+++ b/lib/eal/include/generic/rte_atomic.h\n@@ -131,6 +131,8 @@\n \n /*------------------------- 16 bit atomic operations -------------------------*/\n \n+#ifndef RTE_TOOLCHAIN_MSVC\n+\n /**\n  * Atomic compare and set.\n  *\n@@ -1038,8 +1040,11 @@ static inline void rte_atomic64_clear(rte_atomic64_t *v)\n }\n #endif\n \n+#endif\n+\n /*------------------------ 128 bit atomic operations -------------------------*/\n \n+\n /**\n  * 128-bit integer structure.\n  */\n@@ -1049,8 +1054,10 @@ static inline void rte_atomic64_clear(rte_atomic64_t *v)\n \tunion {\n \t\tuint64_t val[2];\n #ifdef RTE_ARCH_64\n+#ifndef RTE_TOOLCHAIN_MSVC\n \t\t__extension__ __int128 int128;\n #endif\n+#endif\n \t};\n } __rte_aligned(16) rte_int128_t;\n \ndiff --git a/lib/eal/x86/include/rte_atomic.h b/lib/eal/x86/include/rte_atomic.h\nindex 7aba1c3..9ba61f8 100644\n--- a/lib/eal/x86/include/rte_atomic.h\n+++ b/lib/eal/x86/include/rte_atomic.h\n@@ -83,6 +83,8 @@\n \n #define rte_io_rmb() rte_compiler_barrier()\n \n+#ifndef RTE_TOOLCHAIN_MSVC\n+\n /**\n  * Synchronization fence between threads based on the specified memory order.\n  *\n@@ -279,6 +281,8 @@ static inline int rte_atomic32_dec_and_test(rte_atomic32_t *v)\n #include \"rte_atomic_64.h\"\n #endif\n \n+#endif\n+\n #ifdef __cplusplus\n }\n #endif\n",
    "prefixes": [
        "v9",
        "11/14"
    ]
}