get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 832923,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/832923/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20171101104741.2216-4-jiri@resnulli.us/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20171101104741.2216-4-jiri@resnulli.us>",
    "list_archive_url": null,
    "date": "2017-11-01T10:47:40",
    "name": "[net-next,v2,3/4] net: sched: remove tc_can_offload check from egdev call",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8091c45b7ff738c6f1f9f79a05fbfe973e8f5e05",
    "submitter": {
        "id": 15321,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/15321/?format=api",
        "name": "Jiri Pirko",
        "email": "jiri@resnulli.us"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20171101104741.2216-4-jiri@resnulli.us/mbox/",
    "series": [
        {
            "id": 11313,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/11313/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=11313",
            "date": "2017-11-01T10:47:37",
            "name": "net: sched: block callbacks follow-up",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/11313/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/832923/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/832923/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=resnulli-us.20150623.gappssmtp.com\n\theader.i=@resnulli-us.20150623.gappssmtp.com\n\theader.b=\"g/+3ZIO4\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yRlL84wzLz9sNd\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed,  1 Nov 2017 21:48:00 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753398AbdKAKrz (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 1 Nov 2017 06:47:55 -0400",
            "from mail-wr0-f196.google.com ([209.85.128.196]:55131 \"EHLO\n\tmail-wr0-f196.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752087AbdKAKrq (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Wed, 1 Nov 2017 06:47:46 -0400",
            "by mail-wr0-f196.google.com with SMTP id o44so1558954wrf.11\n\tfor <netdev@vger.kernel.org>; Wed, 01 Nov 2017 03:47:46 -0700 (PDT)",
            "from localhost (jirka.pirko.cz. [84.16.102.26])\n\tby smtp.gmail.com with ESMTPSA id\n\tr63sm1194333wmg.13.2017.11.01.03.47.44\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 01 Nov 2017 03:47:45 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=resnulli-us.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=tLgAlZM7MaxycpHkMFKPwU3KJUw2gg47Csug+EO70aI=;\n\tb=g/+3ZIO4J4C0W41v6kkAfgsdRzv1/cL7aan2lxCfml/eCoJTPu77U+su9oH3AfX/Wc\n\tbYgNvs82TI0YFkbyc7zK9KejtA8/WCuCZcnyl0yHpVejvUFVz4MjxCcIDo9uzH51t5Hx\n\tjtAakKvsbOo+vgUAAf2o7bxZc0jkV/vdRfqsTcbvT8OFc4Z0Lha+OstpfMpNvFiqIH0F\n\t6SNcW7Ok0UUmBoe/G3hABIXlBHX1wijfM2HARcH3awUzvk+fVhvB+iqy3v7lK4ZtgoMZ\n\t7IIM9GO8oKSyIHPkxr5oMJA/10uGH0w0RPjSqbFytGa09TfjvggF3CrHqFZFyNaMAmBw\n\tm9+g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=tLgAlZM7MaxycpHkMFKPwU3KJUw2gg47Csug+EO70aI=;\n\tb=aKM/XHVRb6T9Z+ta1Dnskhnpks4LdIlb5YKzyJVARsUB+qPS403GTluwbb+IqMopXk\n\tbtE0YeC+loBvTLVC42Q/nKStS4TYjZ0f6r3n3/I05SyP/ux2bsACILEEm4P8hKRPgx8c\n\t/aEwbdkz/SbRsdTj9VXctxUBUqeOxb+Ip16CaIrvC806WzMEsFykwB67IwQ3m7Lvl2k6\n\tHbJijWpYHJRo1Ib5iwxzcLiPkZU+iN+iKEBYCQ4xS2xltJO4Z8aKwY9c0obkRnK5NNSU\n\tGbn91F4KUlsbND87lHGztDqw1eBidOYNBDbvKcvFi1Fd71mgtb+ZUEppRQiQH8QQahgB\n\t5mqQ==",
        "X-Gm-Message-State": "AMCzsaULhMXy1nP4bIWIhZKQgPEO3HYSdOCyghAuJwD+eHVKoUWwZikv\n\tVTQ7vxje9SODRAzjgf0R9UrpyZpF",
        "X-Google-Smtp-Source": "ABhQp+SIBST5agO/SBSk3hrcAVltBlYuQnO0VXvB+DDNdvH6nDXMVTxcAU34iqCgLFstzu8G6/CB0Q==",
        "X-Received": "by 10.223.152.16 with SMTP id v16mr4244062wrb.108.1509533265382; \n\tWed, 01 Nov 2017 03:47:45 -0700 (PDT)",
        "From": "Jiri Pirko <jiri@resnulli.us>",
        "To": "netdev@vger.kernel.org",
        "Cc": "davem@davemloft.net, nogahf@mellanox.com, jhs@mojatatu.com,\n\txiyou.wangcong@gmail.com, mlxsw@mellanox.com, andrew@lunn.ch,\n\tvivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com,\n\tmichael.chan@broadcom.com, ganeshgr@chelsio.com,\n\tsaeedm@mellanox.com, matanb@mellanox.com, leonro@mellanox.com,\n\tidosch@mellanox.com, jakub.kicinski@netronome.com,\n\tsimon.horman@netronome.com, pieter.jansenvanvuuren@netronome.com,\n\tjohn.hurley@netronome.com, alexander.h.duyck@intel.com",
        "Subject": "[patch net-next v2 3/4] net: sched: remove tc_can_offload check\n\tfrom egdev call",
        "Date": "Wed,  1 Nov 2017 11:47:40 +0100",
        "Message-Id": "<20171101104741.2216-4-jiri@resnulli.us>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20171101104741.2216-1-jiri@resnulli.us>",
        "References": "<20171101104741.2216-1-jiri@resnulli.us>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "From: Jiri Pirko <jiri@mellanox.com>\n\nSince the only user, mlx5 driver does the check in\nmlx5e_setup_tc_block_cb, no need to check here.\n\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n net/sched/cls_api.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c\nindex fe09071..d5a3733 100644\n--- a/net/sched/cls_api.c\n+++ b/net/sched/cls_api.c\n@@ -1226,7 +1226,7 @@ static int tc_exts_setup_cb_egdev_call(struct tcf_exts *exts,\n \t\tif (!a->ops->get_dev)\n \t\t\tcontinue;\n \t\tdev = a->ops->get_dev(a);\n-\t\tif (!dev || !tc_can_offload(dev))\n+\t\tif (!dev)\n \t\t\tcontinue;\n \t\tret = tc_setup_cb_egdev_call(dev, type, type_data, err_stop);\n \t\tif (ret < 0)\n",
    "prefixes": [
        "net-next",
        "v2",
        "3/4"
    ]
}