]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
i40evf: speed up init
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 3 Sep 2015 21:19:01 +0000 (17:19 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Oct 2015 09:22:38 +0000 (02:22 -0700)
commit5be8308b1614947f056802cb5775307f0ad54ad2
tree3e2ade006a8429fcd77ab549daa4d8e1f7276ccf
parenta916549029848f1356bf2d797e83218de53f17b2
i40evf: speed up init

Shorten up the delays in the init task, allowing the VF driver to
initialize faster. This aids performance in load/unload tests and
mitigates DMAR errors in VF enable/disable tests with absurdly short
delays. In the real world, the VF driver will come up more quickly.

The original values were set conservatively based on what we expected
from the firmware in terms of performance. Now that the driver is in use
and we know how well firmware responds to our requests, we can shorten
these delays.

Change-ID: Ibead77d34b19e8170e667c3f58bc14748bbc5bc9
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c