Infiniband: add missing values in queue pair attributes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-azure (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned | ||
Bug Description
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.
commit a62ab66b13a0f9b
Author: Ismail, Mustafa <email address hidden>
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: <email address hidden> # v2.6.14+
Reviewed-by: Steve Wise <email address hidden>
Signed-off-by: Mustafa Ismail <email address hidden>
Tested-by: Mike Marciniszyn <email address hidden>
Signed-off-by: Doug Ledford <email address hidden>
Changed in linux-azure (Ubuntu): | |
status: | New → In Progress |
https:/ /lists. ubuntu. com/archives/ kernel- team/2017- August/ 086402. html