Public bug reported:
On Azure, the RDMA device is exposed as a iWARP device. There is only
one such device in each VM, they are set at port 1.
A recent patch 5ecce4c9b17b("Check port number supplied by user verbs
cmds") starts checking on port_num in qp attributes passed from user
mode libraries. This requires that this value is correctly populated
when calling verb ib_modify_qp. Otherwise this call will fail.
The following patch fixed it. Please pick it up for linux-azure.
Author: Ismail, Mustafa <mustafa.ism...@intel.com>
Date: Fri Jul 14 09:41:31 2017 -0500
RDMA/core: Initialize port_num in qp_attr
Initialize the port_num for iWARP in rdma_init_qp_attr.
Fixes: 5ecce4c9b17b("Check port number supplied by user verbs cmds")
Cc: <sta...@vger.kernel.org> # v2.6.14+
Reviewed-by: Steve Wise <sw...@opengridcomputing.com>
Signed-off-by: Mustafa Ismail <mustafa.ism...@intel.com>
Tested-by: Mike Marciniszyn <mike.marcinis...@intel.com>
Signed-off-by: Doug Ledford <dledf...@redhat.com>
** Affects: linux-azure (Ubuntu)
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Infiniband: add missing values in queue pair attributes
To manage notifications about this bug go to:
ubuntu-bugs mailing list