]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40iw: Fix port number for query QP
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 3 Oct 2017 16:11:50 +0000 (11:11 -0500)
committerDoug Ledford <dledford@redhat.com>
Wed, 4 Oct 2017 19:28:49 +0000 (15:28 -0400)
commit789f903fd75036f937409a9a1616a5a5e5cc5bae
treeb2a6922d45f193a111632c9491e619484e6d00cd
parent43bfc24ec1d69853d706cb3ebfdb9088846b9b50
i40iw: Fix port number for query QP

Port number 0 is an invalid port number. Set it to 1
as there is one port per i40iw device.

Fixes: d37498417947 ("i40iw: add files for iwarp interface")
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c