get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83822,
    "url": "http://patches.dpdk.org/api/patches/83822/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201107090038.12802-1-pratekag@gmail.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": "<20201107090038.12802-1-pratekag@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201107090038.12802-1-pratekag@gmail.com",
    "date": "2020-11-07T09:00:38",
    "name": "Made i40 header CPP compatible using extern \"C\". Library headers work directly in cpp code. Linking errors thrown due to the absence of this change in i40e pmd header does not help in resolving the problem. I needed this header directly to use DDP feature",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ae44230e6f93cef2023c9d36464054421ca66150",
    "submitter": {
        "id": 2043,
        "url": "http://patches.dpdk.org/api/people/2043/?format=api",
        "name": "Prateek Agarwal",
        "email": "pratekag@gmail.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201107090038.12802-1-pratekag@gmail.com/mbox/",
    "series": [
        {
            "id": 13729,
            "url": "http://patches.dpdk.org/api/series/13729/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13729",
            "date": "2020-11-07T09:00:38",
            "name": "Made i40 header CPP compatible using extern \"C\". Library headers work directly in cpp code. Linking errors thrown due to the absence of this change in i40e pmd header does not help in resolving the problem. I needed this header directly to use DDP feature",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13729/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/83822/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/83822/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 8A30AA0524;\n\tSat,  7 Nov 2020 10:00:59 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9CFB42C2E;\n\tSat,  7 Nov 2020 10:00:57 +0100 (CET)",
            "from mail-pf1-f193.google.com (mail-pf1-f193.google.com\n [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id B42B8F90\n for <dev@dpdk.org>; Sat,  7 Nov 2020 10:00:55 +0100 (CET)",
            "by mail-pf1-f193.google.com with SMTP id y7so3892872pfq.11\n for <dev@dpdk.org>; Sat, 07 Nov 2020 01:00:55 -0800 (PST)",
            "from localhost.localdomain ([106.212.128.45])\n by smtp.gmail.com with ESMTPSA id hi10sm8497971pjb.0.2020.11.07.01.00.51\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 07 Nov 2020 01:00:53 -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:mime-version\n :content-transfer-encoding;\n bh=9UVC6FtlVjIsIaNs/QEFeHUcyfVa2PN9SfvT29DjUQA=;\n b=dUmS0DWMyIJOZX+Kz9xbpiM6kN18hbtVszReG/qzxkPm77HZ5ku1kxxdpE1auxvYye\n 5Or+NK+AN8zBh8h5T+sVKKRF/0gkqsA2uXSKKCo/60cAmLPkZwW8aqJf2OA+q5urKJDd\n OYXGzBNicCehi4DZ8VFVzM6WYk25RsgFlloJi1NHdIgu+DRyaoJ34cuaxHPWSTTBMHoG\n Gy2MdlDEMOl/YKqTPA3HvWblIHDupG/I5z1VmHlcIJcTCjzHimy3lNtnQ928UJXwvH3A\n 5Gyx5j4Ib8GPx8duHdnd2x76MSZR3aCNZd5CXchZ6GQ4kW8ArNLGavyXkp5Qc+hgUvGI\n MkRA==",
        "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:mime-version\n :content-transfer-encoding;\n bh=9UVC6FtlVjIsIaNs/QEFeHUcyfVa2PN9SfvT29DjUQA=;\n b=SCJuP3Awg6yZ2L9QbUe5nvDUM/n5yyaCD/sgwrueE3PDuylbS8w0BXwA3FpSSx7LQk\n +6wTgIc9LP6akaNRBoRmHWgRfzKEzd0ptH2HcPOYBY1TiWUqIskN6g5avGbdv9c3tUHt\n jvFgp3A0dzYM2wZY8Nu8CS4moVhqiVG4NBOJ45Ve5YtUkHnLRlxmkNmmPsF83o01NEqL\n XdWpkVQ+n6LFd/ftYfga4e6HkMz75MoIaJyb+mvHWf85MGp0LBXWYmWJwXu20AUE9oH4\n nMtIiCU1oUwNnkNyxHADWAgGk/hF94D/KHi2Wt1pldhEl9dznIdaPThSyvnly121Sbvv\n 4X/A==",
        "X-Gm-Message-State": "AOAM530gLkBxtE4VVu7CaPbGGfchYaqDIboAY4tpOXdbT7KDR1N3bSX2\n SHN+zcpjAy9eox6LlyrbA48=",
        "X-Google-Smtp-Source": "\n ABdhPJzZO/l1RmoI1Bf44STdO7yrSWP/Oh5TtfpEytITbJvPpmHxIpJoQM0OgNnrgMRtc4yedUrURg==",
        "X-Received": "by 2002:a62:5a07:0:b029:155:73a4:d73a with SMTP id\n o7-20020a625a070000b029015573a4d73amr5508826pfb.22.1604739653690;\n Sat, 07 Nov 2020 01:00:53 -0800 (PST)",
        "From": "Prateek Agarwal <pratekag@gmail.com>",
        "To": "jia.guo@intel.com",
        "Cc": "dev@dpdk.org,\n\tPrateek Agarwal <pratekag@gmail.com>",
        "Date": "Sat,  7 Nov 2020 14:30:38 +0530",
        "Message-Id": "<20201107090038.12802-1-pratekag@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] Made i40 header CPP compatible using extern \"C\".\n\tLibrary headers work directly in cpp code. Linking errors\n\tthrown due to the absence of this change in i40e pmd header\n\tdoes not help in resolving the problem. I needed this header\n\tdirectly to use DDP feature present in the NIC.",
        "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": "Signed-off-by: Prateek Agarwal <pratekag@gmail.com>\n---\n drivers/net/i40e/rte_pmd_i40e.h | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/drivers/net/i40e/rte_pmd_i40e.h b/drivers/net/i40e/rte_pmd_i40e.h\nindex fc3560c28..4cb21c371 100644\n--- a/drivers/net/i40e/rte_pmd_i40e.h\n+++ b/drivers/net/i40e/rte_pmd_i40e.h\n@@ -14,6 +14,10 @@\n  *\n  */\n \n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n #include <rte_compat.h>\n #include <rte_ethdev.h>\n #include <rte_ether.h>\n@@ -1130,4 +1134,8 @@ __rte_experimental\n int\n rte_pmd_i40e_set_switch_dev(uint16_t port_id, struct rte_eth_dev *switch_dev);\n \n+#ifdef __cplusplus\n+}\n+#endif\n+\n #endif /* _PMD_I40E_H_ */\n",
    "prefixes": []
}