get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 824154,
    "url": "http://patchwork.ozlabs.org/api/patches/824154/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171011004652.15630-1-vinicius.gomes@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20171011004652.15630-1-vinicius.gomes@intel.com>",
    "list_archive_url": null,
    "date": "2017-10-11T00:46:50",
    "name": "[iproute2,net-next,v2,1/3] update headers with CBS API [ONLY FOR TESTING]",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "0b9207f488b4b5a288dc6155fa3f4470a7d3685a",
    "submitter": {
        "id": 72272,
        "url": "http://patchwork.ozlabs.org/api/people/72272/?format=api",
        "name": "Vinicius Costa Gomes",
        "email": "vinicius.gomes@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171011004652.15630-1-vinicius.gomes@intel.com/mbox/",
    "series": [
        {
            "id": 7490,
            "url": "http://patchwork.ozlabs.org/api/series/7490/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=7490",
            "date": "2017-10-11T00:46:50",
            "name": "[iproute2,net-next,v2,1/3] update headers with CBS API [ONLY FOR TESTING]",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/7490/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/824154/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/824154/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yBb0d2r43z9t64\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 11 Oct 2017 11:47:13 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id DC0DD824DC;\n\tWed, 11 Oct 2017 00:47:11 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ennWWi-UX+pD; Wed, 11 Oct 2017 00:47:10 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 216AD82938;\n\tWed, 11 Oct 2017 00:47:10 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id B5A301C0FDB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 11 Oct 2017 00:47:08 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id AE2158901E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 11 Oct 2017 00:47:08 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id JlOpQnDzJfnO for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 11 Oct 2017 00:47:08 +0000 (UTC)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id E8B1089012\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 11 Oct 2017 00:47:07 +0000 (UTC)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Oct 2017 17:47:07 -0700",
            "from ellie.jf.intel.com (HELO localhost.localdomain)\n\t([10.24.13.71])\n\tby FMSMGA003.fm.intel.com with ESMTP; 10 Oct 2017 17:47:06 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.43,359,1503385200\"; d=\"scan'208\";a=\"908716146\"",
        "From": "Vinicius Costa Gomes <vinicius.gomes@intel.com>",
        "To": "netdev@vger.kernel.org,\n\tintel-wired-lan@lists.osuosl.org",
        "Date": "Tue, 10 Oct 2017 17:46:50 -0700",
        "Message-Id": "<20171011004652.15630-1-vinicius.gomes@intel.com>",
        "X-Mailer": "git-send-email 2.14.2",
        "Cc": "rodney.cummings@ni.com, andre.guedes@intel.com, jiri@resnulli.us,\n\tivan.briano@intel.com, richardcochran@gmail.com, henrik@austad.us,\n\tjhs@mojatatu.com, levipearson@gmail.com, boon.leong.ong@intel.com,\n\txiyou.wangcong@gmail.com, jesus.sanchez-palencia@intel.com",
        "Subject": "[Intel-wired-lan] [iproute2 net-next v2 1/3] update headers with\n\tCBS API [ONLY FOR TESTING]",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "The headers will be updated when iproute2 fetches the headers from\nnet-next, this patch is only to ease testing.\n\nSigned-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>\n---\n include/linux/pkt_sched.h | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h\nindex 099bf552..41e349df 100644\n--- a/include/linux/pkt_sched.h\n+++ b/include/linux/pkt_sched.h\n@@ -871,4 +871,22 @@ struct tc_pie_xstats {\n \t__u32 maxq;             /* maximum queue size */\n \t__u32 ecn_mark;         /* packets marked with ecn*/\n };\n+\n+/* CBS */\n+struct tc_cbs_qopt {\n+\t__u8 offload;\n+\t__s32 hicredit;\n+\t__s32 locredit;\n+\t__s32 idleslope;\n+\t__s32 sendslope;\n+};\n+\n+enum {\n+\tTCA_CBS_UNSPEC,\n+\tTCA_CBS_PARMS,\n+\t__TCA_CBS_MAX,\n+};\n+\n+#define TCA_CBS_MAX (__TCA_CBS_MAX - 1)\n+\n #endif\n",
    "prefixes": [
        "iproute2",
        "net-next",
        "v2",
        "1/3"
    ]
}