Files
twx-linux/drivers
Majd Dibbiny 452ae09136 IB/mlx5: Assign send CQ and recv CQ of UMR QP
[ Upstream commit 31fde034a8 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-16 10:33:55 +01:00
..
…
2017-12-16 10:33:55 +01:00
2017-11-24 08:32:25 +01:00
…
…
2017-12-09 18:42:43 +01:00
…
…
…
…
2017-10-12 11:27:33 +02:00
2017-12-16 10:33:53 +01:00
…
…
2017-11-30 08:37:27 +00:00
…
…
…
…
…
…
…
2017-04-21 09:30:07 +02:00
…
…
…
…
…
…
…
…
…
…