]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40evf: tweak init timing
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 13 Aug 2015 22:11:32 +0000 (15:11 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:07 +0000 (08:32 -0800)
commit673caaafbe5d9f2748f64f4c843a0288b939d1ce
tree3dfde3697175297b9de9488ed3484999a6ce0f4c
parentb94e4d5c07ac87a586a97db30383161e5911d32a
i40evf: tweak init timing

Orabug: 22342532

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>
(cherry picked from commit 9b32b0b5dded7382c00595180bd5ce4f2f8c3d9b)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c