get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 521460,
    "url": "http://patchwork.ozlabs.org/api/patches/521460/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20150922213541.2774.70538.stgit@ahduyck-vm-fedora22/",
    "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": "<20150922213541.2774.70538.stgit@ahduyck-vm-fedora22>",
    "list_archive_url": null,
    "date": "2015-09-22T21:35:41",
    "name": "[net,3/3] ixgbe: Fix handling of napi budget when multiple queues are enabled per vector",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "82f9d4a88c34a37216930fba1ce5615c975c7b48",
    "submitter": {
        "id": 67293,
        "url": "http://patchwork.ozlabs.org/api/people/67293/?format=api",
        "name": "Alexander Duyck",
        "email": "aduyck@mirantis.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/20150922213541.2774.70538.stgit@ahduyck-vm-fedora22/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/521460/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/521460/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.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"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ozlabs.org (Postfix) with ESMTP id 51443140785\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 23 Sep 2015 08:16:45 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2B907A4455;\n\tTue, 22 Sep 2015 22:16:44 +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 Uc8J-4cWmIJO; Tue, 22 Sep 2015 22:16:43 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id ECDBFA451C;\n\tTue, 22 Sep 2015 22:16:42 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 306A91C16D5\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 22 Sep 2015 21:41:28 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2C447A46ED\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 22 Sep 2015 21:41:28 +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 K2KZ_phNGh_t for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 22 Sep 2015 21:41:27 +0000 (UTC)",
            "from mail-pa0-f45.google.com (mail-pa0-f45.google.com\n\t[209.85.220.45])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id B268FA46E7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 22 Sep 2015 21:41:27 +0000 (UTC)",
            "by pacfv12 with SMTP id fv12so20448704pac.2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 22 Sep 2015 14:41:27 -0700 (PDT)",
            "from [192.168.122.149] (50-43-10-6.bvtn.or.frontiernet.net.\n\t[50.43.10.6]) by smtp.gmail.com with ESMTPSA id\n\tqg2sm4000760pbb.80.2015.09.22.14.35.41\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 22 Sep 2015 14:35:41 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=OyYlbQBq; dkim-atps=neutral",
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mirantis.com;\n\ts=google; \n\th=subject:from:to:cc:date:message-id:in-reply-to:references\n\t:user-agent:mime-version:content-type:content-transfer-encoding;\n\tbh=6Av0xA8Wya9+ga+et1PDl8kuInIcAA9TCz3wtwt5P74=;\n\tb=OyYlbQBq5MJ/NpciuP+jtAnek76DzlqIf0HOOcjmrq4w3OwL7J46NIP1QayFpnnApR\n\tG3PIpbH3fyOjqPl4BqMeNcEWl2EjPqf5Qw1Y96NU3tdKq4bs98EPuFfY4ibwNec4ZuKk\n\tEdtnM3HHq7S7JgB2plhpIykjzJWOAuAjSghpI=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:subject:from:to:cc:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-type\n\t:content-transfer-encoding;\n\tbh=6Av0xA8Wya9+ga+et1PDl8kuInIcAA9TCz3wtwt5P74=;\n\tb=ZabJs5QEYo4B4uX78wXcoCBnrZPc+Xp4C2oNdlFhxl90LCIP0zki//2kMnfVl6vafS\n\tU7VPhnmLD0gOgMsnEQ7jpwsA2CzQV9b50dGlVhyk2L8KsytWesTW00EafG5Bs1aYfP47\n\tvNSZpYJohVKpYi+5HIhuKz4SNOpweSUHgHxLZeeEUey1jaRvlFA91A3LNlfwg56IN5Dn\n\tgN6VS3mO6yP+ejElC5DIVZenp47c80N5pMKIoT415EesBnprsC3NOKSXUIsVD26rmjg6\n\tiFwFhLo4a5Uy8TlOlXsxMO8Mb+JcDO9/6+B/B4qd7kbUjsiz4EGDpqWECE8cQuQBzx51\n\t7sLw==",
        "X-Gm-Message-State": "ALoCoQmEQ6lV/z0i1kBq8C4MV7tZcfxFNObmOyU00ORNi4HYO1GWJmPLt0X5h6crE5HgWDSfhJIB",
        "X-Received": "by 10.66.194.196 with SMTP id hy4mr12502057pac.148.1442957741953;\n\tTue, 22 Sep 2015 14:35:41 -0700 (PDT)",
        "From": "Alexander Duyck <aduyck@mirantis.com>",
        "To": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org",
        "Date": "Tue, 22 Sep 2015 14:35:41 -0700",
        "Message-ID": "<20150922213541.2774.70538.stgit@ahduyck-vm-fedora22>",
        "In-Reply-To": "<20150922213002.2774.37924.stgit@ahduyck-vm-fedora22>",
        "References": "<20150922213002.2774.37924.stgit@ahduyck-vm-fedora22>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "X-Mailman-Approved-At": "Tue, 22 Sep 2015 22:16:41 +0000",
        "Subject": "[Intel-wired-lan] [net PATCH 3/3] ixgbe: Fix handling of napi\n\tbudget when multiple queues are enabled per vector",
        "X-BeenThere": "intel-wired-lan@lists.osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "This patch corrects an issue in which the polling routine would increase\nthe budget for Rx to at least 1 per queue if multiple queues were present.\nThis would result in Rx packets being processed when the budget was 0 which\nis meant to indicate that no Rx can be handled.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |    3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex acb1b91408ec..506b0944253c 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -2772,7 +2772,8 @@ int ixgbe_poll(struct napi_struct *napi, int budget)\n \tixgbe_for_each_ring(ring, q_vector->tx)\n \t\tclean_complete &= !!ixgbe_clean_tx_irq(q_vector, ring);\n \n-\tif (!ixgbe_qv_lock_napi(q_vector))\n+\t/* Exit if we are called by netpoll or busy polling is active */\n+\tif ((budget <= 0) || !ixgbe_qv_lock_napi(q_vector))\n \t\treturn budget;\n \n \t/* attempt to distribute budget to each queue fairly, but don't allow\n",
    "prefixes": [
        "net",
        "3/3"
    ]
}