i40iw: Fail open if there are no available MSI-X vectors
authorShiraz Saleem <shiraz.saleem@intel.com>
Tue, 19 Sep 2017 14:19:09 +0000 (09:19 -0500)
committerDoug Ledford <dledford@redhat.com>
Fri, 22 Sep 2017 17:43:36 +0000 (13:43 -0400)
commitcd9100ca9e78eb03bf5a0ee2ba98ebdc8cc5880e
tree6f4cd20dd954f7abead039fc2687bbf23de61b0c
parent01df7f5a77b926c2d790cf66d942d2a68d4ad5de
i40iw: Fail open if there are no available MSI-X vectors

Check number of available MSI-X vectors for i40iw.
If there are no available vectors, fail the open.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_main.c