]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: tweak init timing
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 13 Aug 2015 22:11:32 +0000 (15:11 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Sep 2015 12:42:58 +0000 (05:42 -0700)
commit0fa7823b96c268ab93681a540aaaf8e484368069
tree3233c333858f91e76989ad587f177fec49458ce2
parentd46847604bcd3a5ced78c959f4daf5a27a93baad
i40evf: tweak init timing

This patch tweaks the init timing of the driver just a little bit to
increase stability on load/unload and SR-IOV enable/disable cycles.

First, run the init_task loop a little quicker in order to reduce
overall init time.

Second, stagger the start of the init task based on the device's
PCIe function ID. This lessens the impact on the firmware when a
whole bunch of VFs are initialized simultaneously, e.g. enabling
SR-IOV without the VF driver blacklisted. For single VFs assigned
to VMs this will have no effect as the function ID will always be 0.

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