]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ca0fa9b7e06ad7fe1d6e584e99011d38dcf5b2b
tree284b02df5b7618cf213344fbbeef9dc7fc0a0ca5
parent8b3161be1dafcb3d1273a24f9bdbbd7cfb500073
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: ffaf2c1a3989 ('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