get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45349,
    "url": "http://patches.dpdk.org/api/patches/45349/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180926025422.21912-6-johndale@cisco.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": "<20180926025422.21912-6-johndale@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180926025422.21912-6-johndale@cisco.com",
    "date": "2018-09-26T02:54:22",
    "name": "[6/6] net/enic: explicitly disable overlay offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b96ba01d26359b77d337c71ba17cd362617f220e",
    "submitter": {
        "id": 359,
        "url": "http://patches.dpdk.org/api/people/359/?format=api",
        "name": "John Daley (johndale)",
        "email": "johndale@cisco.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/20180926025422.21912-6-johndale@cisco.com/mbox/",
    "series": [
        {
            "id": 1506,
            "url": "http://patches.dpdk.org/api/series/1506/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1506",
            "date": "2018-09-26T02:54:17",
            "name": "[1/6] net/enic: do not use non-standard integer types",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1506/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/45349/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/45349/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 5572F1B183;\n\tWed, 26 Sep 2018 04:57:33 +0200 (CEST)",
            "from alln-iport-6.cisco.com (alln-iport-6.cisco.com\n\t[173.37.142.93]) by dpdk.org (Postfix) with ESMTP id 7D5E57CD2;\n\tWed, 26 Sep 2018 04:57:31 +0200 (CEST)",
            "from rcdn-core-6.cisco.com ([173.37.93.157])\n\tby alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t26 Sep 2018 02:57:30 +0000",
            "from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48])\n\tby rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTP id w8Q2vUaZ010009;\n\tWed, 26 Sep 2018 02:57:30 GMT",
            "by cisco.com (Postfix, from userid 392789)\n\tid 44B8720F2001; Tue, 25 Sep 2018 19:57:30 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=1573; q=dns/txt; s=iport;\n\tt=1537930651; x=1539140251;\n\th=from:to:cc:subject:date:message-id:in-reply-to: references;\n\tbh=ci903krzIO5Rp7Yyn5BBsTAXoqcuxJnJru34n9UWnJE=;\n\tb=S5lW5Imbjwhiz2uKqY5Qwx26wh6i6owWZOJ0z+es8M20HMu7W7wfJStP\n\tfNSc0lG2W+QCreUXiWfujn/R1uYw1uMucbbqSO76b70luhYWzWupssuaU\n\tqL4O5mL3Yu52UBGClcoa+cPPO8ui7wVjMTM2j1jyw7CE4hWGNd4TGtrHX s=;",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,304,1534809600\"; d=\"scan'208\";a=\"176148429\"",
        "From": "John Daley <johndale@cisco.com>",
        "To": "ferruh.yigit@intel.com",
        "Cc": "dev@dpdk.org, Hyong Youb Kim <hyonkim@cisco.com>, stable@dpdk.org",
        "Date": "Tue, 25 Sep 2018 19:54:22 -0700",
        "Message-Id": "<20180926025422.21912-6-johndale@cisco.com>",
        "X-Mailer": "git-send-email 2.16.2",
        "In-Reply-To": "<20180926025422.21912-1-johndale@cisco.com>",
        "References": "<20180926025422.21912-1-johndale@cisco.com>",
        "X-Outbound-SMTP-Client": "10.193.184.48, savbu-usnic-a.cisco.com",
        "X-Outbound-Node": "rcdn-core-6.cisco.com",
        "Subject": "[dpdk-dev] [PATCH 6/6] net/enic: explicitly disable overlay offload",
        "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": "From: Hyong Youb Kim <hyonkim@cisco.com>\n\nReopening vNIC does not automatically disable overlay offload. If it\nis previously enabled, it remains enabled even when the user restarts\nDPDK and requests overlay offload to be disabled via devarg\ndisable-overlay=1. So explicitly disable overlay offload when\nrequested.\n\nFixes: 93fb21fdbe23 (\"net/enic: enable overlay offload for VXLAN and GENEVE\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hyong Youb Kim <hyonkim@cisco.com>\nReviewed-by: John Daley <johndale@cisco.com>\n---\n drivers/net/enic/enic_main.c | 13 +++++++++++++\n 1 file changed, 13 insertions(+)",
    "diff": "diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c\nindex 03c5ef741..af29f9d90 100644\n--- a/drivers/net/enic/enic_main.c\n+++ b/drivers/net/enic/enic_main.c\n@@ -1652,6 +1652,19 @@ static int enic_dev_init(struct enic *enic)\n \tvnic_dev_notify_set(enic->vdev, -1); /* No Intr for notify */\n \n \tenic->overlay_offload = false;\n+\tif (enic->disable_overlay && enic->vxlan) {\n+\t\t/*\n+\t\t * Explicitly disable overlay offload as the setting is\n+\t\t * sticky, and resetting vNIC does not disable it.\n+\t\t */\n+\t\tif (vnic_dev_overlay_offload_ctrl(enic->vdev,\n+\t\t\t\t\t\t  OVERLAY_FEATURE_VXLAN,\n+\t\t\t\t\t\t  OVERLAY_OFFLOAD_DISABLE)) {\n+\t\t\tdev_err(enic, \"failed to disable overlay offload\\n\");\n+\t\t} else {\n+\t\t\tdev_info(enic, \"Overlay offload is disabled\\n\");\n+\t\t}\n+\t}\n \tif (!enic->disable_overlay && enic->vxlan &&\n \t    /* 'VXLAN feature' enables VXLAN, NVGRE, and GENEVE. */\n \t    vnic_dev_overlay_offload_ctrl(enic->vdev,\n",
    "prefixes": [
        "6/6"
    ]
}