]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
igb: make sure SR-IOV init uses the right number of queues
authorTodd Fujinaka <todd.fujinaka@intel.com>
Sat, 8 Aug 2015 00:27:39 +0000 (17:27 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Aug 2015 21:06:07 +0000 (14:06 -0700)
commitceee3450b3a85db05a107d54fbea031c77d30401
tree6a8675721576a9b2a6c75fb8ed44d8f04bc84ef4
parentfae5ecaee3e6265c2aec29ac238ccc29c6f11fc3
igb: make sure SR-IOV init uses the right number of queues

Recent changes to igb_probe_vfs() could lead to the PF holding onto all
of the queues. Reorder igb_probe_vfs() to be before
gb_init_queue_configuration() and add some more error checking.

Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c