]> 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)
commitd7eb24c09160c5e3befbcf268c9c8467300a8a8e
tree6f4cd20dd954f7abead039fc2687bbf23de61b0c
parent442fb2a1c61a9f02472613e1435ca6ba343e99b2
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