get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7456,
    "url": "https://patches.dpdk.org/api/patches/7456/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1444067692-29645-17-git-send-email-adrien.mazarguil@6wind.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": "<1444067692-29645-17-git-send-email-adrien.mazarguil@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1444067692-29645-17-git-send-email-adrien.mazarguil@6wind.com",
    "date": "2015-10-05T17:54:51",
    "name": "[dpdk-dev,16/17] mlx5: fix compilation error with GCC < 4.6",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cd882d737b4ee9cd3f0d1cffe392bb448725b62c",
    "submitter": {
        "id": 165,
        "url": "https://patches.dpdk.org/api/people/165/?format=api",
        "name": "Adrien Mazarguil",
        "email": "adrien.mazarguil@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1444067692-29645-17-git-send-email-adrien.mazarguil@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7456/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7456/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 7B7449420;\n\tMon,  5 Oct 2015 19:55:50 +0200 (CEST)",
            "from mail-wi0-f174.google.com (mail-wi0-f174.google.com\n\t[209.85.212.174]) by dpdk.org (Postfix) with ESMTP id CD7899436\n\tfor <dev@dpdk.org>; Mon,  5 Oct 2015 19:55:48 +0200 (CEST)",
            "by wiclk2 with SMTP id lk2so126027240wic.1\n\tfor <dev@dpdk.org>; Mon, 05 Oct 2015 10:55:48 -0700 (PDT)",
            "from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by smtp.gmail.com with ESMTPSA id\n\tgo5sm15855857wib.3.2015.10.05.10.55.47\n\t(version=TLSv1.2 cipher=RC4-SHA bits=128/128);\n\tMon, 05 Oct 2015 10:55:48 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type:content-transfer-encoding;\n\tbh=SXhPmLbGDmv+WbBwMSq6VhpYsCV7IkzwlP0aRsJ3Wdw=;\n\tb=mTSrvx7E6wspaBVXVp7MjlPmY+u4qFn1cynIJV9K7OTgPps4dk8STLfylPbfDeFsD6\n\tF8qSRSRl8DuQMKUyF2M5bXPnrZArqZ0epKMuHwcpcSwcQMWug9z2syeXe641j2rGyhtT\n\tUvgw85Kf4L3tm8GYvjzfMFl5b4Y/XgOFCRPSYBvtkgqKpTPFMqPV2n6w2GKboKTXQUYF\n\tW/sg4WQ/b1eokzYYYmvjM43ilK+LfHJCtnWtly3Vq+KljNM6EHiT47voM9KFHYdJEiOh\n\tU9la2lkDjGEtJPWGhNkhzrPWFx9Q60BYqi9iJ2GNDjdyZm+JXJdyA9oURcPI9uWBSaO9\n\t8p+A==",
        "X-Gm-Message-State": "ALoCoQkXwZ+UyLXYX70rbdPNc2CNwxk7aAMYanKMpzR9SL/HU6soXgwglgT0tUHEP6P09rpp00Nd",
        "X-Received": "by 10.194.204.195 with SMTP id la3mr30689623wjc.77.1444067748734;\n\tMon, 05 Oct 2015 10:55:48 -0700 (PDT)",
        "From": "Adrien Mazarguil <adrien.mazarguil@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon,  5 Oct 2015 19:54:51 +0200",
        "Message-Id": "<1444067692-29645-17-git-send-email-adrien.mazarguil@6wind.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "In-Reply-To": "<1444067692-29645-1-git-send-email-adrien.mazarguil@6wind.com>",
        "References": "<1444067692-29645-1-git-send-email-adrien.mazarguil@6wind.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Cc": "Yaacov Hazan <yaacovh@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH 16/17] mlx5: fix compilation error with GCC < 4.6",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "From: Yaacov Hazan <yaacovh@mellanox.com>\n\nSeen with GCC < 4.6:\n\n error: unknown field ‘tcp_udp’ specified in initializer\n error: extra brace group at end of initializer\n\nStatic initialization of anonymous structs/unions is a C11 feature\nproperly supported only since GCC 4.6.\n\nWork around compilation errors with older versions by expanding\nstruct ibv_exp_flow_spec into struct hash_rxq_init.\n\nSigned-off-by: Yaacov Hazan <yaacovh@mellanox.com>\nSigned-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>\n---\n drivers/net/mlx5/mlx5_rxtx.h | 10 +++++++++-\n 1 file changed, 9 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h\nindex 4018ac1..422730d 100644\n--- a/drivers/net/mlx5/mlx5_rxtx.h\n+++ b/drivers/net/mlx5/mlx5_rxtx.h\n@@ -150,7 +150,15 @@ struct hash_rxq_init {\n \tuint64_t hash_fields; /* Fields that participate in the hash. */\n \tuint64_t dpdk_rss_hf; /* Matching DPDK RSS hash fields. */\n \tunsigned int flow_priority; /* Flow priority to use. */\n-\tstruct ibv_exp_flow_spec flow_spec; /* Flow specification template. */\n+\tunion {\n+\t\tstruct {\n+\t\t\tenum ibv_exp_flow_spec_type type;\n+\t\t\tuint16_t size;\n+\t\t} hdr;\n+\t\tstruct ibv_exp_flow_spec_tcp_udp tcp_udp;\n+\t\tstruct ibv_exp_flow_spec_ipv4 ipv4;\n+\t\tstruct ibv_exp_flow_spec_eth eth;\n+\t} flow_spec; /* Flow specification template. */\n \tconst struct hash_rxq_init *underlayer; /* Pointer to underlayer. */\n };\n \n",
    "prefixes": [
        "dpdk-dev",
        "16/17"
    ]
}