get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 832924,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/832924/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20171101104741.2216-5-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-5-jiri@resnulli.us>",
    "list_archive_url": null,
    "date": "2017-11-01T10:47:41",
    "name": "[net-next,v2,4/4] net: sched: remove ndo_setup_tc check from tc_can_offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "fa1e8f8a4cfaaaa9ba66443187bb9dc86c06256c",
    "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-5-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/832924/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/832924/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=\"lDR0MBsY\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yRlLD6JY1z9sNd\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed,  1 Nov 2017 21:48:04 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753226AbdKAKry (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 1 Nov 2017 06:47:54 -0400",
            "from mail-wm0-f65.google.com ([74.125.82.65]:52464 \"EHLO\n\tmail-wm0-f65.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752194AbdKAKrr (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Wed, 1 Nov 2017 06:47:47 -0400",
            "by mail-wm0-f65.google.com with SMTP id t139so4090269wmt.1\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\tf16sm86705wra.75.2017.11.01.03.47.45\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=gso4jJM1BIyRpGpddTyltLkacrtuSYAgVKfW629W+9A=;\n\tb=lDR0MBsYxcCZeg35lEn++KPxc5gClnz6NlagNYYGYDWz7VePU1gW0R7EJJshG2QSoD\n\tTckdkeqkMZyxH5XzWKmR0K0Orpm0MBNcBnLtOAGSnbBLU5iv7HdF+RlwKP9CtX8QdeRX\n\tL6mNCHjGMPxqa0VuofeKwyTHEsSAxT1+Eu2/n9QT2eJtWfV7XzD9PZCyVFi7O7uViKxA\n\tR6/jUaDCmfKUJXXSrKAYL23U8EdaYIM6mavy8QGqeh7eui7C5IruPCOEGG+I5E+38Pzq\n\tZLikUMQB3qC8EM3yYcb5aWzIA3C8AehQZCFBa0+yGeMd8g5Nm/ki4u36UOgYtmHQegCg\n\t4xSg==",
        "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=gso4jJM1BIyRpGpddTyltLkacrtuSYAgVKfW629W+9A=;\n\tb=Pxu9P1ggMJJiKsNLa97l/b1W7VuOhS7a3SCDaMlkl5PzqTr0pn+SrRKzFpz2YhIVgu\n\taWrXCHtXHTyzaPNwrtruQpYo6JDatkN6/2B/IhKi6EUzXFcBsmWmoMqMTxOjHxMKVWm6\n\tHucVMEjtl+lt2KdAkcKEcb7NAPs5Db5LNbRv+hT2hcrUgnEZZM4h0Ex0kA1Lpyoeo+bu\n\tLCIazEstpDZvqGJE6eYg23a0uSvCONaAjSfKzUdH4ANu1qliZDnpyw925EsMaeY6Rz/R\n\tPIhDUtIGUXx1OKpM7L0n2z2NYo8LB2aBDqCWxh1cxKSydFbsudfjNeCb8KM0IAHytC6o\n\tAQ7A==",
        "X-Gm-Message-State": "AMCzsaUBuadcaqHNTkN23pbMSncQmRcgyrmmsJNq82Grrggvk6RE6L7/\n\ta6DIFDvVOpO3YDR4vXvup+9DaGtf",
        "X-Google-Smtp-Source": "ABhQp+RoUjM72ZgwW9KvbyGzvU1soa8fw8U8UgLSSXM6x40wn5FdRXHZDDlDnU3egWKmoI6eqwX5Fg==",
        "X-Received": "by 10.28.10.85 with SMTP id 82mr4609184wmk.5.1509533266172;\n\tWed, 01 Nov 2017 03:47:46 -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 4/4] net: sched: remove ndo_setup_tc check from\n\ttc_can_offload",
        "Date": "Wed,  1 Nov 2017 11:47:41 +0100",
        "Message-Id": "<20171101104741.2216-5-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 tc_can_offload is always called from block callback or egdev\ncallback, no need to check if ndo_setup_tc exists.\n\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n include/net/pkt_cls.h | 6 +-----\n 1 file changed, 1 insertion(+), 5 deletions(-)",
    "diff": "diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h\nindex 108dcdd..d15c40c 100644\n--- a/include/net/pkt_cls.h\n+++ b/include/net/pkt_cls.h\n@@ -611,11 +611,7 @@ struct tc_cls_u32_offload {\n \n static inline bool tc_can_offload(const struct net_device *dev)\n {\n-\tif (!(dev->features & NETIF_F_HW_TC))\n-\t\treturn false;\n-\tif (!dev->netdev_ops->ndo_setup_tc)\n-\t\treturn false;\n-\treturn true;\n+\treturn dev->features & NETIF_F_HW_TC;\n }\n \n static inline bool tc_skip_hw(u32 flags)\n",
    "prefixes": [
        "net-next",
        "v2",
        "4/4"
    ]
}