get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139398,
    "url": "http://patches.dpdk.org/api/patches/139398/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1713225913-20792-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": "<1713225913-20792-2-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1713225913-20792-2-git-send-email-roretzla@linux.microsoft.com",
    "date": "2024-04-16T00:04:58",
    "name": "[v4,01/16] eal: provide pack start macro for MSVC",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e9aee0d010f2a4eb75ad5f84a9b92338c1bbe5fd",
    "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/1713225913-20792-2-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 31751,
            "url": "http://patches.dpdk.org/api/series/31751/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31751",
            "date": "2024-04-16T00:04:58",
            "name": "fix packing of structs when building with MSVC",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/31751/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139398/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139398/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 DDA1A43E80;\n\tTue, 16 Apr 2024 02:05:17 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9217B402E4;\n\tTue, 16 Apr 2024 02:05:17 +0200 (CEST)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 96EE340293\n for <dev@dpdk.org>; Tue, 16 Apr 2024 02:05:15 +0200 (CEST)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id DC55520FD433; Mon, 15 Apr 2024 17:05:14 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com DC55520FD433",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1713225914;\n bh=Voq+F+SyxuZBC+ZYqhgF2Bm6b+40Msje8TCyGJ0TmoA=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=XnULCzRl1QO9w8AwAyWbpsqFSPL8dg7g2AwTdINLM1WsLbQFTLy89GYrxo+Dnz7p8\n aLwNVJwr9USGq69348CAFoRrxvA1oafBHvS8wjg3T/EJEEaSMigL4nNA5VrrkHBW/h\n lYmvVZZzkAG7lsGa/OV0B4Px3kVo/NkEvv1N5oak=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "Akhil Goyal <gakhil@marvell.com>, Aman Singh <aman.deep.singh@intel.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Byron Marohn <byron.marohn@intel.com>, Conor Walsh <conor.walsh@intel.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Dariusz Sosnowski <dsosnowski@nvidia.com>,\n David Hunt <david.hunt@intel.com>, Jerin Jacob <jerinj@marvell.com>,\n Jingjing Wu <jingjing.wu@intel.com>,\n Kirill Rybalchenko <kirill.rybalchenko@intel.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Matan Azrad <matan@nvidia.com>, Ori Kam <orika@nvidia.com>,\n Radu Nicolau <radu.nicolau@intel.com>, Ruifeng Wang <ruifeng.wang@arm.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Sivaprasad Tummala <sivaprasad.tummala@amd.com>,\n Suanming Mou <suanmingm@nvidia.com>, Sunil Kumar Kori <skori@marvell.com>,\n Vamsi Attunuru <vattunuru@marvell.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>,\n Yuying Zhang <Yuying.Zhang@intel.com>,\n Yuying Zhang <yuying.zhang@intel.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "Subject": "[PATCH v4 01/16] eal: provide pack start macro for MSVC",
        "Date": "Mon, 15 Apr 2024 17:04:58 -0700",
        "Message-Id": "<1713225913-20792-2-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1713225913-20792-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1710968771-16435-1-git-send-email-roretzla@linux.microsoft.com>\n <1713225913-20792-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": "MSVC struct packing is not compatible with GCC provide a macro that can\nbe used to push existing pack value and sets packing to 1-byte. The\nexisting __rte_packed macro is then used to restore the pack value\nprior to the push.\n\nInstead of providing macros exclusively for MSVC and for GCC the\nexisting macro is deliberately utilized to trigger a warning if no\nexisting packing has been pushed allowing easy identification of\nlocations where the __rte_msvc_pack is missing.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/eal/include/rte_common.h | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/eal/include/rte_common.h b/lib/eal/include/rte_common.h\nindex 298a5c6..44825ed 100644\n--- a/lib/eal/include/rte_common.h\n+++ b/lib/eal/include/rte_common.h\n@@ -97,8 +97,10 @@\n  * Force a structure to be packed\n  */\n #ifdef RTE_TOOLCHAIN_MSVC\n-#define __rte_packed\n+#define __rte_msvc_pack __pragma(pack(push, 1))\n+#define __rte_packed __pragma(pack(pop))\n #else\n+#define __rte_msvc_pack\n #define __rte_packed __attribute__((__packed__))\n #endif\n \n",
    "prefixes": [
        "v4",
        "01/16"
    ]
}