get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 34897,
    "url": "http://patches.dpdk.org/api/patches/34897/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180202164050.13017-3-adrien.mazarguil@6wind.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": "<20180202164050.13017-3-adrien.mazarguil@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180202164050.13017-3-adrien.mazarguil@6wind.com",
    "date": "2018-02-02T16:46:14",
    "name": "[dpdk-dev,v2,2/4] net/mlx: fix missing includes for rdma-core glue",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1538dde5282b2aa59bcfeb4ef0fb457e91318162",
    "submitter": {
        "id": 165,
        "url": "http://patches.dpdk.org/api/people/165/?format=api",
        "name": "Adrien Mazarguil",
        "email": "adrien.mazarguil@6wind.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180202164050.13017-3-adrien.mazarguil@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/34897/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/34897/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 000EE1B170;\n\tFri,  2 Feb 2018 17:46:30 +0100 (CET)",
            "from mail-wm0-f66.google.com (mail-wm0-f66.google.com\n\t[74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 92B0A1B16F\n\tfor <dev@dpdk.org>; Fri,  2 Feb 2018 17:46:28 +0100 (CET)",
            "by mail-wm0-f66.google.com with SMTP id v71so13674936wmv.2\n\tfor <dev@dpdk.org>; Fri, 02 Feb 2018 08:46:28 -0800 (PST)",
            "from 6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\th14sm2394928wrb.29.2018.02.02.08.46.26\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 02 Feb 2018 08:46:26 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to;\n\tbh=ZfhtuHOD8Ge0OBZwayUcnLGik2TA5/z+JBPr3rvNmMg=;\n\tb=ODSTkhNdK0slnJR7xRqB2axBpZDH+d7Q3Ervr5AUZqb7IVorr2QhAqVDp5KtkPjb2L\n\tavHlCVpkPpKdygIv8UNBD35by5KcwYb0VGmuEkrhf37v7FrN34u3vfGNHUoZ43QnodEL\n\tCa9/OQ4L9Wf/lp+fLvxkFIJIx+1n8P0peRoyu4CCUCAc7OqRNa2xQLz2UOw025LSLEp4\n\teio41Ko5RitPkOIz2oJYMPdm2YCMHNOsgD+oio+QpJDKIbLRX2hBOL4r46GRpHLXYQHX\n\tHLIIiHIsOM/Uw0uQ/vmYivbMOhTbSWROVlCamH3gyN95WGK5grEu7ufREuxyM8kibFwC\n\tPZhQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to;\n\tbh=ZfhtuHOD8Ge0OBZwayUcnLGik2TA5/z+JBPr3rvNmMg=;\n\tb=QTFfI08xgY6nPT2gg4WsuIRyxRgcn1/S3aMpeQMBQGORdv+pnNY36iYO9cR4+aDbgY\n\t+sh6iDENXZL1ogrYNndFRdKZJzU+XXeyqnoY5srFgBCI2EPFNFY8RKOg3d8zq68L5D/r\n\tZqacl1IfvQlH268Ud+sTRwfGIXBnRCNU5j95g1bF3iyWnHknVPbzgtuB5zePaUWWNxMF\n\tzXeTqE1M0Girsjz4jF9p74RFtnvujcKX2cARLxFfIPzS2vP5SJOE6I61e7lbKKWV3Fin\n\tjcW7Yecv0dscVSYknEmLmtD3hO3j3iueXuRpnyF9DIUa2fFcMGuSx9R6kyeFbTuL9yCt\n\tJoHg==",
        "X-Gm-Message-State": "AKwxytcmPDguP/+prZvmHGl426tMXTd7NReCxj/4rWUDOfKqdtBjc9ln\n\t4FcvZTJMe0TtJ+ZarCMgtgcNC5SW",
        "X-Google-Smtp-Source": "AH8x225CgjWd/CCeJQVeZaiaBSSsPhKwxun39F6p0BXBJdYErjnvYQXr74SbmyTeWR6Uwha52ebn+g==",
        "X-Received": "by 10.28.202.5 with SMTP id a5mr27481889wmg.103.1517589987334;\n\tFri, 02 Feb 2018 08:46:27 -0800 (PST)",
        "Date": "Fri, 2 Feb 2018 17:46:14 +0100",
        "From": "Adrien Mazarguil <adrien.mazarguil@6wind.com>",
        "To": "Shahaf Shuler <shahafs@mellanox.com>",
        "Cc": "Nelio Laranjeiro <nelio.laranjeiro@6wind.com>, dev@dpdk.org,\n\tMarcelo Ricardo Leitner <mleitner@redhat.com>",
        "Message-ID": "<20180202164050.13017-3-adrien.mazarguil@6wind.com>",
        "References": "<20180202144736.8239-1-adrien.mazarguil@6wind.com>\n\t<20180202164050.13017-1-adrien.mazarguil@6wind.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "In-Reply-To": "<20180202164050.13017-1-adrien.mazarguil@6wind.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[dpdk-dev] [PATCH v2 2/4] net/mlx: fix missing includes for\n\trdma-core glue",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "For consistency since these includes are already pulled by others.\n\nFixes: 6aca97d310 (\"net/mlx4: move rdma-core calls to separate file\")\nFixes: 7202118686 (\"net/mlx5: move rdma-core calls to separate file\")\n\nSigned-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>\n---\n drivers/net/mlx4/mlx4_glue.c | 3 +++\n drivers/net/mlx4/mlx4_glue.h | 3 +++\n drivers/net/mlx5/mlx5_glue.h | 1 +\n 3 files changed, 7 insertions(+)",
    "diff": "diff --git a/drivers/net/mlx4/mlx4_glue.c b/drivers/net/mlx4/mlx4_glue.c\nindex 30797bd2b..47ae7ad0f 100644\n--- a/drivers/net/mlx4/mlx4_glue.c\n+++ b/drivers/net/mlx4/mlx4_glue.c\n@@ -3,6 +3,9 @@\n  * Copyright 2018 Mellanox\n  */\n \n+#include <stddef.h>\n+#include <stdint.h>\n+\n /* Verbs headers do not support -pedantic. */\n #ifdef PEDANTIC\n #pragma GCC diagnostic ignored \"-Wpedantic\"\ndiff --git a/drivers/net/mlx4/mlx4_glue.h b/drivers/net/mlx4/mlx4_glue.h\nindex 0623511f2..de251c622 100644\n--- a/drivers/net/mlx4/mlx4_glue.h\n+++ b/drivers/net/mlx4/mlx4_glue.h\n@@ -6,6 +6,9 @@\n #ifndef MLX4_GLUE_H_\n #define MLX4_GLUE_H_\n \n+#include <stddef.h>\n+#include <stdint.h>\n+\n /* Verbs headers do not support -pedantic. */\n #ifdef PEDANTIC\n #pragma GCC diagnostic ignored \"-Wpedantic\"\ndiff --git a/drivers/net/mlx5/mlx5_glue.h b/drivers/net/mlx5/mlx5_glue.h\nindex 6afb629ff..7fed302ba 100644\n--- a/drivers/net/mlx5/mlx5_glue.h\n+++ b/drivers/net/mlx5/mlx5_glue.h\n@@ -6,6 +6,7 @@\n #ifndef MLX5_GLUE_H_\n #define MLX5_GLUE_H_\n \n+#include <stddef.h>\n #include <stdint.h>\n \n /* Verbs headers do not support -pedantic. */\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "2/4"
    ]
}