Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/507210/?format=api
{ "id": 507210, "url": "http://patchwork.ozlabs.org/api/patches/507210/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1439503892-26218-1-git-send-email-mitch.a.williams@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": "<1439503892-26218-1-git-send-email-mitch.a.williams@intel.com>", "list_archive_url": null, "date": "2015-08-13T22:11:32", "name": "[next] i40evf: tweak init timing", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "adb099630794c4516477fa64c48876d6ec029a15", "submitter": { "id": 967, "url": "http://patchwork.ozlabs.org/api/people/967/?format=api", "name": "Mitch Williams", "email": "mitch.a.williams@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/1439503892-26218-1-git-send-email-mitch.a.williams@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/507210/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/507210/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 01DDD1401E7\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 14 Aug 2015 08:10:43 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 23295A3E60;\n\tThu, 13 Aug 2015 22:10:42 +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 v53tMcTUF2_6; Thu, 13 Aug 2015 22:10:38 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 33D46A3E12;\n\tThu, 13 Aug 2015 22:10:38 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 74D8B1CE93C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 13 Aug 2015 22:10:37 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 6D937965B9\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 13 Aug 2015 22:10:37 +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 v8tR9dzdxQap for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 13 Aug 2015 22:10:36 +0000 (UTC)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id C7A62965B8\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 13 Aug 2015 22:10:36 +0000 (UTC)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga101.fm.intel.com with ESMTP; 13 Aug 2015 15:10:37 -0700", "from mawilli1-mobl.jf.intel.com ([10.166.14.28])\n\tby FMSMGA003.fm.intel.com with ESMTP; 13 Aug 2015 15:10:36 -0700" ], "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.15,673,1432623600\"; d=\"scan'208\";a=\"541506434\"", "From": "Mitch Williams <mitch.a.williams@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Thu, 13 Aug 2015 15:11:32 -0700", "Message-Id": "<1439503892-26218-1-git-send-email-mitch.a.williams@intel.com>", "X-Mailer": "git-send-email 2.4.3", "Subject": "[Intel-wired-lan] [next,PATCH] i40evf: tweak init timing", "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>", "MIME-Version": "1.0", "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 tweaks the init timing of the driver just a little bit to\nincrease stability on load/unload and SR-IOV enable/disable cycles.\n\nFirst, run the init_task loop a little quicker in order to reduce\noverall init time.\n\nSecond, stagger the start of the init task based on the device's\nPCIe function ID. This lessens the impact on the firmware when a\nwhole bunch of VFs are initialized simultaneously, e.g. enabling\nSR-IOV without the VF driver blacklisted. For single VFs assigned\nto VMs this will have no effect as the function ID will always be 0.\n\nSigned-off-by: Mitch Williams <mitch.a.williams@intel.com>\n---\n drivers/net/ethernet/intel/i40evf/i40evf_main.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\nindex 2a6063a..59effa4 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n@@ -2300,8 +2300,7 @@ static void i40evf_init_task(struct work_struct *work)\n \t}\n \treturn;\n restart:\n-\tschedule_delayed_work(&adapter->init_task,\n-\t\t\t msecs_to_jiffies(50));\n+\tschedule_delayed_work(&adapter->init_task, msecs_to_jiffies(30));\n \treturn;\n \n err_register:\n@@ -2434,7 +2433,8 @@ static int i40evf_probe(struct pci_dev *pdev, const struct pci_device_id *ent)\n \tINIT_WORK(&adapter->adminq_task, i40evf_adminq_task);\n \tINIT_WORK(&adapter->watchdog_task, i40evf_watchdog_task);\n \tINIT_DELAYED_WORK(&adapter->init_task, i40evf_init_task);\n-\tschedule_delayed_work(&adapter->init_task, 10);\n+\tschedule_delayed_work(&adapter->init_task,\n+\t\t\t msecs_to_jiffies(5 * (pdev->devfn & 0x07)));\n \n \treturn 0;\n \n", "prefixes": [ "next" ] }