get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 852347,
    "url": "http://patchwork.ozlabs.org/api/patches/852347/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171222114516.1816-1-jiri@resnulli.us/",
    "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": "<20171222114516.1816-1-jiri@resnulli.us>",
    "list_archive_url": null,
    "date": "2017-12-22T11:45:16",
    "name": "[net] i40e: flower: Fix return value for unsupported offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "3c37cf2f6fd8f4f9f7e6761db964fcf5d04f3bc5",
    "submitter": {
        "id": 15321,
        "url": "http://patchwork.ozlabs.org/api/people/15321/?format=api",
        "name": "Jiri Pirko",
        "email": "jiri@resnulli.us"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171222114516.1816-1-jiri@resnulli.us/mbox/",
    "series": [
        {
            "id": 20024,
            "url": "http://patchwork.ozlabs.org/api/series/20024/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=20024",
            "date": "2017-12-22T11:45:16",
            "name": "[net] i40e: flower: Fix return value for unsupported offload",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/20024/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/852347/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/852347/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.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=resnulli-us.20150623.gappssmtp.com\n\theader.i=@resnulli-us.20150623.gappssmtp.com\n\theader.b=\"JST56mtv\"; dkim-atps=neutral"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3z36N44MTtz9rxm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Dec 2017 22:53:24 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id BB8B789EE1;\n\tFri, 22 Dec 2017 11:53:22 +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 bQjQDtYWXITH; Fri, 22 Dec 2017 11:53:20 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B038D89ED7;\n\tFri, 22 Dec 2017 11:53:20 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4FABA1BFFEC\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 22 Dec 2017 11:53:19 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 4A5B38A576\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 22 Dec 2017 11:53:19 +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 PEMLY6bxz48S for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 22 Dec 2017 11:53:18 +0000 (UTC)",
            "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 0FF958A572\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 22 Dec 2017 11:53:18 +0000 (UTC)",
            "by mail-wm0-f67.google.com with SMTP id 64so21111057wme.3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 22 Dec 2017 03:53:17 -0800 (PST)",
            "from localhost (ip-89-103-16-224.net.upcbroadband.cz.\n\t[89.103.16.224]) by smtp.gmail.com with ESMTPSA id\n\te20sm14505851wre.6.2017.12.22.03.45.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 22 Dec 2017 03:45:17 -0800 (PST)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "delayed 00:07:59 by SQLgrey-1.7.6",
        "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;\n\tbh=zcfFEZxvGzzM2t0R9J6Yq7Vfk4KCjTaIesi8oSseIXE=;\n\tb=JST56mtv6McEMmgkg4f/0Y6JxBB8EMA1LIVVWv62uz8xiiyV8WsTUAV8GAd63Lhoe7\n\tmvJEv57BQSpRKhHVbWrjZCqS2QzBrNAA9I+bAUxJRVPjJXvYR2xMpGhQ1c0sv98AC/rV\n\to9Q0UaJg0ywMzhtRiPmJywU3yfWQjMv47rOpyQ9HZSVD8QIVuupHu8+0mRgzO9oNLnMK\n\t5hogBssJfHKadTuSaQd6ZqmR+mA3VYnhkY10uR4i8acx19Wpvxj+XWqxljtHWekv2c7g\n\thoixQaOif8dl/3nEYb1qYXBwXmrYZJ2VLsslaWtezumEiBWkivpW7LfdNkH4Qukd4WZV\n\tzPWA==",
        "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;\n\tbh=zcfFEZxvGzzM2t0R9J6Yq7Vfk4KCjTaIesi8oSseIXE=;\n\tb=QnuAeWOsxeJIfLF+HuARkaq0o+RADX9jXMRI9doBvs/mbEIgjmAwswueJn33br31Fr\n\tFxtCNanFDp7pSArB9m46dMmX1sFImhApNAuTc0cLt+wRZLe94Yol7pqfbB85gUXIRQS8\n\tptRmsleMu+gDgfj9zeuxbSKN3aExrDL+z4+AQgl6x9uMRZde8XjiZ9/SUgCXqFDD+y6l\n\t1OwY1WTmrrxQGlRBeEWQARbxD6hFhktU7XG7opd8ppICMQthOxvqjgscyCOtVwk97j7C\n\tArfGwCVM2kOl2l9u1t7xOB8kEbzA3ksub6+m5Fz3sdK5NGLSv9BTWzVeKUA1Ztz3KMOX\n\tVH6w==",
        "X-Gm-Message-State": "AKGB3mIV686NPLTwi+tjMZhtHkELCTwjhJ8/YES+2QbOIJiR4Oi7p+il\n\tR9oB+NcfgTOMvV0OU6JRStsmHQ==",
        "X-Google-Smtp-Source": "ACJfBou9nBcGcQIjt2eU7IZjUP99wq2B1URBlfIhWO98LghZPoRg29LoPyjJTxInZq/oFKaMZdAkJA==",
        "X-Received": "by 10.28.192.24 with SMTP id q24mr11988737wmf.98.1513943117542; \n\tFri, 22 Dec 2017 03:45:17 -0800 (PST)",
        "From": "Jiri Pirko <jiri@resnulli.us>",
        "To": "netdev@vger.kernel.org",
        "Date": "Fri, 22 Dec 2017 12:45:16 +0100",
        "Message-Id": "<20171222114516.1816-1-jiri@resnulli.us>",
        "X-Mailer": "git-send-email 2.9.5",
        "Subject": "[Intel-wired-lan] [patch net] i40e: flower: Fix return value for\n\tunsupported offload",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.24",
        "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>",
        "Cc": "mlxsw@mellanox.com, jhs@mojatatu.com, intel-wired-lan@lists.osuosl.org, \n\txiyou.wangcong@gmail.com, davem@davemloft.net",
        "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": "From: Jiri Pirko <jiri@mellanox.com>\n\nWhen filter configuration is not supported, drivers should return\n-EOPNOTSUPP so the core can react correctly.\n\nFixes: 2f4b411a3d67 (\"i40e: Enable cloud filters via tc-flower\")\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex 321d8be..9da2069 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -7356,7 +7356,7 @@ static int i40e_configure_clsflower(struct i40e_vsi *vsi,\n \n \tif (tc < 0) {\n \t\tdev_err(&vsi->back->pdev->dev, \"Invalid traffic class\\n\");\n-\t\treturn -EINVAL;\n+\t\treturn -EOPNOTSUPP;\n \t}\n \n \tif (test_bit(__I40E_RESET_RECOVERY_PENDING, pf->state) ||\n",
    "prefixes": [
        "net"
    ]
}