]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7912be4b53075602b94dbf089ee470eeacf2ca90
tree6f4cd20dd954f7abead039fc2687bbf23de61b0c
parentf51e879067338dfd08ef7b956d68cc94af2c69ec
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