]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit9b32b0b5dded7382c00595180bd5ce4f2f8c3d9b
tree3233c333858f91e76989ad587f177fec49458ce2
parente908f81562b1367ac3ab3d156db3dcbbe07479f6
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