get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 840498,
    "url": "http://patchwork.ozlabs.org/api/patches/840498/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20171122185741.29785.75334.stgit@localhost.localdomain/",
    "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": "<20171122185741.29785.75334.stgit@localhost.localdomain>",
    "list_archive_url": null,
    "date": "2017-11-22T18:57:41",
    "name": "[jkirsher/next-queue,15/16] net: Cap number of queues even with accel_priv",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f3e905b17188e842d934d2c9dc9bb40b7d92be36",
    "submitter": {
        "id": 252,
        "url": "http://patchwork.ozlabs.org/api/people/252/?format=api",
        "name": "Alexander Duyck",
        "email": "alexander.duyck@gmail.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/20171122185741.29785.75334.stgit@localhost.localdomain/mbox/",
    "series": [
        {
            "id": 14756,
            "url": "http://patchwork.ozlabs.org/api/series/14756/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=14756",
            "date": "2017-11-22T18:56:10",
            "name": "ixgbe/fm10k: macvlan fixes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/14756/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/840498/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/840498/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=gmail.com header.i=@gmail.com\n\theader.b=\"RW/m57p1\"; 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 3yhssj51Mwz9ryQ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 23 Nov 2017 06:27:21 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D31D887081;\n\tWed, 22 Nov 2017 19:27:19 +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 C9BUjRVMrSLx; Wed, 22 Nov 2017 19:27:17 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9C88687310;\n\tWed, 22 Nov 2017 19:27:16 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id B928A1C2092\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 19:06:01 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id B0C018797B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 19:06: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 vAa09EP-SK0O for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 19:06:00 +0000 (UTC)",
            "from mail-pl0-f66.google.com (mail-pl0-f66.google.com\n\t[209.85.160.66])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id E169287500\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 19:06:00 +0000 (UTC)",
            "by mail-pl0-f66.google.com with SMTP id l16so1261481pli.6\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Nov 2017 11:06:00 -0800 (PST)",
            "from localhost.localdomain ([2001:470:b:9c3:9e5c:8eff:fe4f:f2d0])\n\tby smtp.gmail.com with ESMTPSA id\n\t13sm13992742pfs.112.2017.11.22.10.57.41\n\tfor <intel-wired-lan@lists.osuosl.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 22 Nov 2017 10:57:41 -0800 (PST)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:from:to:date:message-id:in-reply-to:references:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=dHl8V+KgxY667Klhn2VmEjLz2nFatZ+fPIaPID66Kms=;\n\tb=RW/m57p1tFcoa3ArG1kH8O7cw4dElACrSph0Ihzv8zukv3Y268fveIVW/5dEOrUOFy\n\t4U8usZS7Rva56nwH+j0q62nLbCtb670ITkzZyGLH78VNPyODVOxKNfTKMaLxc1WjqcBW\n\t5Tg8zRL8M8nq+7uiVbgf1Uu2T3/WEcsCiSKa1Gukis2/Qqz5jhOKv+wmysntsSzc76fq\n\tXlMSrisgkqb6Gpu1xcwXfMDk7d9vAhLrsRlhISwUOq6nwhylGOmS9QzVwmyJ2NMynAx7\n\twGErW9EU0WGTZEtlCpoCyA4MdnJWoj3GqEUzylYjFjgwHBiZmaEKhUnEMyPHrO/brdYY\n\tLbRg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:from:to:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-transfer-encoding;\n\tbh=dHl8V+KgxY667Klhn2VmEjLz2nFatZ+fPIaPID66Kms=;\n\tb=LIx67wrCCT6qHgo+eQB3F0KFeRm03RsLWNdg2zkHkFYo5WW5l7sbEJyOa1orVRPQlQ\n\tdQUz36J2ubwYzvK6MMqleWtv3UCL1MYidhOhxdnlJsyLlITw8QIM3Sib31pzxRgOGs8P\n\twIenliLPqec2vWujgtxSuv0skWroFpBseRGMIiJP9GFsa+fSnYZinLVzna4cYe185GUj\n\tFwovl9g10/e7qvKUo82wpTgBCzFGAA3ayrvmUS91E4NgEFBpii7oz/oCNqzNPtsZ1z5k\n\tEGSAQtlnWNe2gt72KWMqRB9tKDurA7t0Z0KFblCRTczI+9xpk7kwK1zyq92CFLmXzD3H\n\t+lLg==",
        "X-Gm-Message-State": "AJaThX5c8ykLpl8Sk1xmeT56pDtbxZK2eaKy0j5TbfQ8Bd2ijIJ1WPSS\n\t3dq5KnkK02I/wpUxXLUpo40CEHuw",
        "X-Google-Smtp-Source": "AGs4zMaFTVEx5xnyZpZqDWiuGLP4afBvMg1Lmcub4zSoGbammGUZLYKxTeVoaZjoXCYIyb5PiX/2jQ==",
        "X-Received": "by 10.84.176.3 with SMTP id u3mr9281090plb.242.1511377062340;\n\tWed, 22 Nov 2017 10:57:42 -0800 (PST)",
        "From": "Alexander Duyck <alexander.duyck@gmail.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Wed, 22 Nov 2017 10:57:41 -0800",
        "Message-ID": "<20171122185741.29785.75334.stgit@localhost.localdomain>",
        "In-Reply-To": "<20171122185256.29785.93548.stgit@localhost.localdomain>",
        "References": "<20171122185256.29785.93548.stgit@localhost.localdomain>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [jkirsher/next-queue PATCH 15/16] net: Cap number\n\tof queues even with accel_priv",
        "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>",
        "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: Alexander Duyck <alexander.h.duyck@intel.com>\n\nWith the recent fix to ixgbe we can cap the number of queues always\nregardless of if accel_priv is being used or not since the actual number of\nqueues are being reported via real_num_tx_queues.\n\nSigned-off-by: Alexander Duyck <alexander.h.duyck@intel.com>\n---\n net/core/dev.c |    3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/net/core/dev.c b/net/core/dev.c\nindex 8ee29f4f5fa9..8ad5634e92f2 100644\n--- a/net/core/dev.c\n+++ b/net/core/dev.c\n@@ -3375,8 +3375,7 @@ struct netdev_queue *netdev_pick_tx(struct net_device *dev,\n \t\telse\n \t\t\tqueue_index = __netdev_pick_tx(dev, skb);\n \n-\t\tif (!accel_priv)\n-\t\t\tqueue_index = netdev_cap_txqueue(dev, queue_index);\n+\t\tqueue_index = netdev_cap_txqueue(dev, queue_index);\n \t}\n \n \tskb_set_queue_mapping(skb, queue_index);\n",
    "prefixes": [
        "jkirsher/next-queue",
        "15/16"
    ]
}