aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/igb.h
diff options
context:
space:
mode:
authorStefan Assmann <sassmann@kpanic.de>2015-07-10 15:01:12 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-08-18 14:06:04 -0700
commit6423fc34160939142d72ffeaa2db6408317f54df (patch)
tree387bfad6844877b126951bac17b0a7ef3efd9c2f /drivers/net/ethernet/intel/igb/igb.h
parentigb: missing rtnl_unlock in igb_sriov_reinit() (diff)
downloadlinux-dev-6423fc34160939142d72ffeaa2db6408317f54df.tar.xz
linux-dev-6423fc34160939142d72ffeaa2db6408317f54df.zip
igb: do not re-init SR-IOV during probe
During driver probing the following code path is triggered. igb_probe ->igb_sw_init ->igb_probe_vfs ->igb_pci_enable_sriov ->igb_sriov_reinit Doing the SR-IOV re-init is not necessary during probing since we're starting from scratch. Here we can call igb_enable_sriov() right away. Running igb_sriov_reinit() during igb_probe() also seems to cause occasional packet loss on some onboard 82576 NICs. Reproduced on Dell and HP servers with onboard 82576 NICs. Example: Intel Corporation 82576 Gigabit Network Connection [8086:10c9] (rev 01) Subsystem: Dell Device [1028:0481] Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb.h')
0 files changed, 0 insertions, 0 deletions