Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/522405/?format=api
{ "id": 522405, "url": "http://patchwork.ozlabs.org/api/patches/522405/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20150924160438.22015.60199.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": "<20150924160438.22015.60199.stgit@ahduyck-vm-fedora22>", "list_archive_url": null, "date": "2015-09-24T16:04:38", "name": "[net-next,v2,3/3] i40evf: Add support for netpoll", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b542a24142230a51f9c29b6f9510bbc2367b919f", "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/20150924160438.22015.60199.stgit@ahduyck-vm-fedora22/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/522405/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/522405/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 hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ozlabs.org (Postfix) with ESMTP id 7DC541401F6\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Sep 2015 02:04:45 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id CACE195D63;\n\tThu, 24 Sep 2015 16:04:44 +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 pXHufqTKnBYW; Thu, 24 Sep 2015 16:04:44 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 3E58F95D60;\n\tThu, 24 Sep 2015 16:04:44 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id F0DAB1C0110\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 24 Sep 2015 16:04:42 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E962A92588\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 24 Sep 2015 16:04:42 +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 cHoVTeA5HRru for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 24 Sep 2015 16:04:40 +0000 (UTC)", "from mail-pa0-f54.google.com (mail-pa0-f54.google.com\n\t[209.85.220.54])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 3C63B9257F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 24 Sep 2015 16:04:40 +0000 (UTC)", "by padhy16 with SMTP id hy16so76941565pad.1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 24 Sep 2015 09:04:39 -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\tuy4sm14365170pbc.69.2015.09.24.09.04.39\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 24 Sep 2015 09:04:39 -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=jbJqUMV5; 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=Na8LZhGEX87CjubjLtfQ2+XVf47njZPDLR0uXZQDnnc=;\n\tb=jbJqUMV5EBu/fovX1+VtxMyHno1MVNZ9+k9gqFko6HtJC/4ENWAB0mmC8VXO295KnV\n\t8mRbzocReYEDsE3s08EAqZblJBLsV86dTiLN3+6WujkK5LPjMoFAB13EypXEvEuyQTF3\n\tfiVV+6EwC8u0CX5HCuFtU9dzYAU2QSO+NCcBE=", "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=Na8LZhGEX87CjubjLtfQ2+XVf47njZPDLR0uXZQDnnc=;\n\tb=O16iByMQN0/wO8zQx0mO2yWPIJ4vjnZyVV9j/df/OQrYquDnyD54x56Xa9FZDPCA/7\n\tDWL7YZfZU1FualTKfYFr7BX/PgBI1P22BaXu6G28x2rmTlsrrfCrkFPxo2vVevurtgAf\n\trwmV2EcHvQhd7K+N/nbUYGoYa8JvetnDj692OmMSB0TsTuzS4yRB70GoLCUzVXssUM2X\n\tABOoTtuRJ6jcLwYDxhGigFi0F7OZKx1KlsOIpG80IMVKJHMOJPRmX784Kd49dfybck5z\n\t3NLhT1qxGM9hoev9WQQt54GHX9cfb0Kdhzf7T94RAWV3puCq9U6PCbYribc898kWpeMJ\n\tj1gw==", "X-Gm-Message-State": "ALoCoQkTF4tOKuEHuhg1Lf+k5+FENQbFzhbJUMEihSl1nKAX6QiQGrG/X/67d2ViK0mh4QAacU2Q", "X-Received": "by 10.69.1.67 with SMTP id be3mr595496pbd.78.1443110679784;\n\tThu, 24 Sep 2015 09:04:39 -0700 (PDT)", "From": "Alexander Duyck <aduyck@mirantis.com>", "To": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org", "Date": "Thu, 24 Sep 2015 09:04:38 -0700", "Message-ID": "<20150924160438.22015.60199.stgit@ahduyck-vm-fedora22>", "In-Reply-To": "<20150924160027.22015.15754.stgit@ahduyck-vm-fedora22>", "References": "<20150924160027.22015.15754.stgit@ahduyck-vm-fedora22>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [net-next PATCH v2 3/3] i40evf: Add support for\n\tnetpoll", "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": "Signed-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/intel/i40evf/i40evf_main.c | 26 +++++++++++++++++++++++\n 1 file changed, 26 insertions(+)", "diff": "diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\nindex 429a46c2a2f7..5e1336321c2f 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n@@ -444,6 +444,29 @@ out:\n \treturn err;\n }\n \n+#ifdef CONFIG_NET_POLL_CONTROLLER\n+/**\n+ * i40evf_netpoll - A Polling 'interrupt'handler\n+ * @netdev: network interface device structure\n+ *\n+ * This is used by netconsole to send skbs without having to re-enable\n+ * interrupts. It's not called while the normal interrupt routine is executing.\n+ **/\n+static void i40evf_netpoll(struct net_device *netdev)\n+{\n+\tstruct i40evf_adapter *adapter = netdev_priv(netdev);\n+\tint q_vectors = adapter->num_msix_vectors - NONQ_VECS;\n+\tint i;\n+\n+\t/* if interface is down do nothing */\n+\tif (test_bit(__I40E_DOWN, &adapter->vsi.state))\n+\t\treturn;\n+\n+\tfor (i = 0; i < q_vectors; i++)\n+\t\ti40evf_msix_clean_rings(0, adapter->q_vector[i]);\n+}\n+\n+#endif\n /**\n * i40evf_request_traffic_irqs - Initialize MSI-X interrupts\n * @adapter: board private structure\n@@ -2049,6 +2072,9 @@ static const struct net_device_ops i40evf_netdev_ops = {\n \t.ndo_tx_timeout\t\t= i40evf_tx_timeout,\n \t.ndo_vlan_rx_add_vid\t= i40evf_vlan_rx_add_vid,\n \t.ndo_vlan_rx_kill_vid\t= i40evf_vlan_rx_kill_vid,\n+#ifdef CONFIG_NET_POLL_CONTROLLER\n+\t.ndo_poll_controller\t= i40evf_netpoll,\n+#endif\n };\n \n /**\n", "prefixes": [ "net-next", "v2", "3/3" ] }