get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 836835,
    "url": "http://patchwork.ozlabs.org/api/patches/836835/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171110185553.14657-1-jacob.e.keller@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": "<20171110185553.14657-1-jacob.e.keller@intel.com>",
    "list_archive_url": null,
    "date": "2017-11-10T18:55:51",
    "name": "[1/3] ethtool: correct display of VF when showing vf/queue filters",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d9b1de479e156c4de6b050eb456e955ca0f18002",
    "submitter": {
        "id": 9784,
        "url": "http://patchwork.ozlabs.org/api/people/9784/?format=api",
        "name": "Jacob Keller",
        "email": "jacob.e.keller@intel.com"
    },
    "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/20171110185553.14657-1-jacob.e.keller@intel.com/mbox/",
    "series": [
        {
            "id": 13038,
            "url": "http://patchwork.ozlabs.org/api/series/13038/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=13038",
            "date": "2017-11-10T18:55:52",
            "name": "[1/3] ethtool: correct display of VF when showing vf/queue filters",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/13038/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/836835/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/836835/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>)",
        "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 3yYTlB0VTmz9sPt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 11 Nov 2017 05:56:06 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 835F588EA2;\n\tFri, 10 Nov 2017 18:56:04 +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 YVWIi4gXGGDs; Fri, 10 Nov 2017 18:56:02 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8270F88847;\n\tFri, 10 Nov 2017 18:56:02 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 3D5191C059B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Nov 2017 18:56:01 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 380AC87AB1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Nov 2017 18:56:01 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id TsFJBn8_QdsA for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Nov 2017 18:55:59 +0000 (UTC)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id CEDFF87AA0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Nov 2017 18:55:59 +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 Nov 2017 10:55:58 -0800",
            "from jekeller-desk.amr.corp.intel.com ([134.134.177.230])\n\tby FMSMGA003.fm.intel.com with ESMTP; 10 Nov 2017 10:55:57 -0800"
        ],
        "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.44,375,1505804400\"; d=\"scan'208\";a=\"653713\"",
        "From": "Jacob Keller <jacob.e.keller@intel.com>",
        "To": "Intel Wired LAN <intel-wired-lan@lists.osuosl.org>",
        "Date": "Fri, 10 Nov 2017 10:55:51 -0800",
        "Message-Id": "<20171110185553.14657-1-jacob.e.keller@intel.com>",
        "X-Mailer": "git-send-email 2.15.0",
        "Subject": "[Intel-wired-lan] [PATCH 1/3] ethtool: correct display of VF when\n\tshowing vf/queue filters",
        "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>",
        "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 original code that implemented this accidentally had an inverted\ncheck, so it would never show the VF number properly.\n\nFix this code to correctly display the VF number when we have one.\n\nFixes: 36ee712b0fbc (\"ethtool: support queue and VF fields for rxclass filters\", 2017-03-23)\nSigned-off-by: Jacob Keller <jacob.e.keller@intel.com>\n---\n rxclass.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/rxclass.c b/rxclass.c\nindex ebc3e1a59fb3..144c8e5e76be 100644\n--- a/rxclass.c\n+++ b/rxclass.c\n@@ -252,11 +252,11 @@ static void rxclass_print_nfc_rule(struct ethtool_rx_flow_spec *fsp)\n \t\tu64 queue = ethtool_get_flow_spec_ring(fsp->ring_cookie);\n \n \t\tif (vf)\n-\t\t\tfprintf(stdout, \"\\tAction: Direct to queue %llu\\n\",\n-\t\t\t\tqueue);\n-\t\telse\n \t\t\tfprintf(stdout, \"\\tAction: Direct to VF %llu queue %llu\\n\",\n \t\t\t\tvf, queue);\n+\t\telse\n+\t\t\tfprintf(stdout, \"\\tAction: Direct to queue %llu\\n\",\n+\t\t\t\tqueue);\n \t} else {\n \t\tfprintf(stdout, \"\\tAction: Drop\\n\");\n \t}\n",
    "prefixes": [
        "1/3"
    ]
}