]> git.baikalelectronics.ru Git - kernel.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)
commitcb0b48347c37900ef19d2ddf9ebffb61cab8d9e3
tree6a8675721576a9b2a6c75fb8ed44d8f04bc84ef4
parentd05299159e6f9f012bd02a7d6d203b4b2679463d
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