get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55737,
    "url": "http://patches.dpdk.org/api/patches/55737/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190701050450.43330-4-leyi.rong@intel.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": "<20190701050450.43330-4-leyi.rong@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190701050450.43330-4-leyi.rong@intel.com",
    "date": "2019-07-01T05:04:50",
    "name": "[v2,3/3] net/ice/base: fix inner L2 offset in GRE dummy packet",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "bff5048c9fd72e385999f9977c60ef270fea9687",
    "submitter": {
        "id": 1204,
        "url": "http://patches.dpdk.org/api/people/1204/?format=api",
        "name": "Leyi Rong",
        "email": "leyi.rong@intel.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/20190701050450.43330-4-leyi.rong@intel.com/mbox/",
    "series": [
        {
            "id": 5237,
            "url": "http://patches.dpdk.org/api/series/5237/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5237",
            "date": "2019-07-01T05:04:47",
            "name": "update ice code that were not working correctly",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/5237/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55737/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/55737/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 3D65B1B955;\n\tMon,  1 Jul 2019 07:06:32 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id E93F9325F\n\tfor <dev@dpdk.org>; Mon,  1 Jul 2019 07:06:28 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t30 Jun 2019 22:06:28 -0700",
            "from lrong-srv-03.sh.intel.com ([10.67.119.177])\n\tby orsmga004.jf.intel.com with ESMTP; 30 Jun 2019 22:06:27 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,437,1557212400\"; d=\"scan'208\";a=\"314765285\"",
        "From": "Leyi Rong <leyi.rong@intel.com>",
        "To": "qi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org, Leyi Rong <leyi.rong@intel.com>,\n\tPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>",
        "Date": "Mon,  1 Jul 2019 13:04:50 +0800",
        "Message-Id": "<20190701050450.43330-4-leyi.rong@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190701050450.43330-1-leyi.rong@intel.com>",
        "References": "<20190626023025.7039-1-leyi.rong@intel.com>\n\t<20190701050450.43330-1-leyi.rong@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 3/3] net/ice/base: fix inner L2 offset in GRE\n\tdummy packet",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The offset for the inner L2 header in the dummy GRE packet\nwas off by 2 bytes so updated the offset.\n\nFixes: 423be7ac8951 (\"net/ice/base: enable additional switch rules\")\n\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Leyi Rong <leyi.rong@intel.com>\n---\n drivers/net/ice/base/ice_switch.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex 538829771..be43c8ba2 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -65,7 +65,7 @@ struct ice_dummy_pkt_offsets dummy_gre_packet_offsets[] = {\n \t{ ICE_IPV4_OFOS,\t14 },\n \t{ ICE_NVGRE,\t\t34 },\n \t{ ICE_MAC_IL,\t\t42 },\n-\t{ ICE_IPV4_IL,\t\t54 },\n+\t{ ICE_IPV4_IL,\t\t56 },\n \t{ ICE_PROTOCOL_LAST,\t0 },\n };\n \n",
    "prefixes": [
        "v2",
        "3/3"
    ]
}