get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86077,
    "url": "https://patches.dpdk.org/api/patches/86077/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210107013114.3477-1-ashish.sadanandan@gmail.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": "<20210107013114.3477-1-ashish.sadanandan@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210107013114.3477-1-ashish.sadanandan@gmail.com",
    "date": "2021-01-07T01:31:14",
    "name": "[v2,1/1] mbuf: fix rte_mbuf_dyn.h inclusion from C++",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2e9cc0ae94ddef61e4e2dca644d5e7330630442d",
    "submitter": {
        "id": 2031,
        "url": "https://patches.dpdk.org/api/people/2031/?format=api",
        "name": "Ashish Sadanandan",
        "email": "ashish.sadanandan@gmail.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210107013114.3477-1-ashish.sadanandan@gmail.com/mbox/",
    "series": [
        {
            "id": 14563,
            "url": "https://patches.dpdk.org/api/series/14563/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14563",
            "date": "2021-01-07T01:31:14",
            "name": "[v2,1/1] mbuf: fix rte_mbuf_dyn.h inclusion from C++",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/14563/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/86077/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/86077/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 (xvm-189-124.dc0.ghst.net [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 79444A09FF;\n\tThu,  7 Jan 2021 02:32:03 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0B315140E5B;\n\tThu,  7 Jan 2021 02:32:03 +0100 (CET)",
            "from mail-pj1-f47.google.com (mail-pj1-f47.google.com\n [209.85.216.47])\n by mails.dpdk.org (Postfix) with ESMTP id 04C17140E4C;\n Thu,  7 Jan 2021 02:32:01 +0100 (CET)",
            "by mail-pj1-f47.google.com with SMTP id l23so2667961pjg.1;\n Wed, 06 Jan 2021 17:32:01 -0800 (PST)",
            "from asadanan-lnx.qualcomm.com (i-global254.qualcomm.com.\n [199.106.103.254]) by smtp.googlemail.com with ESMTPSA id\n z125sm3478238pfz.121.2021.01.06.17.31.59\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Wed, 06 Jan 2021 17:32:00 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id;\n bh=uZ6vU35yGlvgnvEaXt0dOwkEDDoeXwEas/ReDDqhBpI=;\n b=Ax65BtOLeKkyNAyJFqXi+6biHd/gHssXjDSq5xVobnA1uoX+980jS35ud23EGCv3ze\n QVB20KvZhhzo+EbcGIWwmVanDUHk4C8X4N8zDqGBbDcALw+10s+iOkCS9DSEf4zj9p3i\n 8+tR63XyteuMFwwfV0kfCa107ZVdC2DJEvUqG67qkMMzyJ3x8YDVWtxZti1YmvwTH8ED\n BhqHTXinHWbZNVzSlzZf+p5Kv0ZAbdDJbvnr05ZYVE3js2wS7tYt3nuDnc+9SOUdIFDy\n rPsii9h5nz8onJEyO09ULeI0f+BdkxAUG52l+6wBL1eO2t0ih7asml7qVwMDrzIKkgwO\n Fqhw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id;\n bh=uZ6vU35yGlvgnvEaXt0dOwkEDDoeXwEas/ReDDqhBpI=;\n b=RZPh48YYYekH87bO0zfeH4WVW3Pfm6d+na09c7zJFRcUlQljbz8gxChci66T7BrEvD\n x3+7BwwAd7zS0w0oDnSGVN8HBgxRM2B1OqeD9gQmy4Z2HASwxL9nTboSGNUnk2JRfybI\n lWmbzbhjJkqJDon/dxlBKJtd9TVXjV0zvLk7LqFRePfCxp7k2OOhxg77nkDWi35Swv8n\n 8SSpqbT7BAUL7EAgtLiPg1cSLNzAFlIEWT9RWDuJsSWQHAWaUHMAJDEjRZ/d0/RaxbW8\n bJAZ2k/1p0fCARIwaSsdIak+bLWUa8nUV2KhpmdKxTAYcFZ7iBFSfID4Bnhw2NtasZtl\n wrfw==",
        "X-Gm-Message-State": "AOAM530SAyrO00m1DStON/DzTBrdAlMIvLhpAq9LHGlOdk4iamlQkkGz\n 2I+X0gNbW9q+WL9ZrSQn4ck=",
        "X-Google-Smtp-Source": "\n ABdhPJzBhbbN1imr+023AeXZbytzCbufnErr2CX4e0CdgrmTRgcyQXU29hErjTcr3vwdbPeMBx5GJw==",
        "X-Received": "by 2002:a17:902:8541:b029:da:fcd1:7bf with SMTP id\n d1-20020a1709028541b02900dafcd107bfmr6681994plo.56.1609983121197;\n Wed, 06 Jan 2021 17:32:01 -0800 (PST)",
        "From": "Ashish Sadanandan <ashish.sadanandan@gmail.com>",
        "To": "olivier.matz@6wind.com",
        "Cc": "dev@dpdk.org, Ashish Sadanandan <ashish.sadanandan@gmail.com>,\n stable@dpdk.org",
        "Date": "Wed,  6 Jan 2021 18:31:14 -0700",
        "Message-Id": "<20210107013114.3477-1-ashish.sadanandan@gmail.com>",
        "X-Mailer": "git-send-email 2.9.3",
        "Subject": "[dpdk-dev] [PATCH v2 1/1] mbuf: fix rte_mbuf_dyn.h inclusion from\n C++",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The header was missing the extern \"C\" directive which causes name\nmangling of functions by C++ compilers, leading to linker errors\ncomplaining of undefined references to these functions.\n\nFixes: 4958ca3a443a (\"mbuf: support dynamic fields and flags\")\nCc: olivier.matz@6wind.com\nCc: stable@dpdk.org\n\nChange-Id: I9a92ada0278ff8455cc2718f8231597b0a7c6b48\nSigned-off-by: Ashish Sadanandan <ashish.sadanandan@gmail.com>\n---\n\nv2:\n* No functional change\n* Add fixes tag with reference to commit that introduced the header\n* CC stable@dpdk.org\n\n lib/librte_mbuf/rte_mbuf_dyn.h | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf_dyn.h b/lib/librte_mbuf/rte_mbuf_dyn.h\nindex d88e7ba..fc4eee7 100644\n--- a/lib/librte_mbuf/rte_mbuf_dyn.h\n+++ b/lib/librte_mbuf/rte_mbuf_dyn.h\n@@ -67,6 +67,11 @@\n  */\n \n #include <sys/types.h>\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n /**\n  * Maximum length of the dynamic field or flag string.\n  */\n@@ -326,4 +331,8 @@ int rte_mbuf_dyn_rx_timestamp_register(int *field_offset, uint64_t *rx_flag);\n __rte_experimental\n int rte_mbuf_dyn_tx_timestamp_register(int *field_offset, uint64_t *tx_flag);\n \n+#ifdef __cplusplus\n+}\n #endif\n+\n+#endif /* _RTE_MBUF_DYN_H_ */\n",
    "prefixes": [
        "v2",
        "1/1"
    ]
}