summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorMajd Dibbiny <majd@mellanox.com>2017-10-30 14:23:13 +0200
committerDoug Ledford <dledford@redhat.com>2017-11-13 13:53:22 -0500
commit31fde034a8bd964a5c7c1a5663fc87a913158db2 (patch)
tree6e99bc41067edc28731a24dc84c4554dc7d3c63f /drivers/infiniband/core
parent9950acf945f55222385d85489617e1d81e45fe34 (diff)
downloadop-kernel-dev-31fde034a8bd964a5c7c1a5663fc87a913158db2.zip
op-kernel-dev-31fde034a8bd964a5c7c1a5663fc87a913158db2.tar.gz
IB/mlx5: Assign send CQ and recv CQ of UMR QP
The UMR's QP is created by calling mlx5_ib_create_qp directly, and therefore the send CQ and the recv CQ on the ibqp weren't assigned. Assign them right after calling the mlx5_ib_create_qp to assure that any access to those pointers will work as expected and won't crash the system as might happen as part of reset flow. Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Signed-off-by: Majd Dibbiny <majd@mellanox.com> Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud