]> www.infradead.org Git - users/jedix/linux-maple.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)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Thu, 22 Jun 2017 21:28:29 +0000 (14:28 -0700)
commit8fefc81c6ccb6d8a7322d10d8fc76fc1cc6a211f
tree83b6782d9bb658598aafb33d11f9cca0fdf29cea
parent80242c0445e5c688e737524f65409199a9416582
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>
(cherry picked from commit ceee3450b3a85db05a107d54fbea031c77d30401)

Orabug: 26325580

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/igb/igb_main.c