aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorMajd Dibbiny <[email protected]>2017-10-30 14:23:13 +0200
committerDoug Ledford <[email protected]>2017-11-13 13:53:22 -0500
commit31fde034a8bd964a5c7c1a5663fc87a913158db2 (patch)
tree6e99bc41067edc28731a24dc84c4554dc7d3c63f /tools/lib/api/debug.c
parent9950acf945f55222385d85489617e1d81e45fe34 (diff)
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 <[email protected]> Reviewed-by: Yishai Hadas <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions