linux/drivers/infiniband
Majd Dibbiny 31fde034a8 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: e126ba97db ("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>
2017-11-13 13:53:22 -05:00
..
core IB/core: Add PCI write end padding flags for WQ and QP 2017-11-10 13:50:27 -05:00
hw IB/mlx5: Assign send CQ and recv CQ of UMR QP 2017-11-13 13:53:22 -05:00
sw IB/rxe: don't crash, if allocation of crc algorithm failed 2017-11-10 13:43:50 -05:00
ulp IB/ipoib: Change number of TX wqe to 64 2017-10-25 13:36:50 -04:00
Kconfig infiniband: add MMU dependency for user_mem 2017-10-10 10:49:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00