IB/mlx5: Set QP offsets and parameters for user QPs and not just for kernel QPs
authorHaggai Eran <haggaie@mellanox.com>
Thu, 22 May 2014 11:50:11 +0000 (14:50 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 27 May 2014 18:53:08 +0000 (11:53 -0700)
commit48fea837bb2709bda73cd4ae8bbd57cb277f7b90
treeacbdb3ee665f41b478eaae3f9431c7d4300b3254
parentb475598aec63f2efbc78f0ff1895d917d2370846
IB/mlx5: Set QP offsets and parameters for user QPs and not just for kernel QPs

For user QPs, the creation process does not currently initialize the fields:

 * qp->rq.offset
 * qp->sq.offset
 * qp->sq.wqe_shift

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/qp.c