IB/mlx5: Fix returned values of query QP
authorNoa Osherovich <noaos@mellanox.com>
Sat, 4 Jun 2016 12:15:32 +0000 (15:15 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 7 Jun 2016 14:03:49 +0000 (10:03 -0400)
commit0540d8148d419bf769e5aa99c77027febd8922f0
tree284b02df5b7618cf213344fbbeef9dc7fc0a0ca5
parentbc5c6eed0510f19b033ce7a7d3976e695e96785b
IB/mlx5: Fix returned values of query QP

Some variables were not initialized properly: max_recv_wr,
max_recv_sge, max_send_wr, qp_context and max_inline_data.

Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB...')
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/qp.c