IB/mlx4: Add contig support for control objects
authorGuy Levi <guyle@mellanox.com>
Thu, 2 Nov 2017 13:22:25 +0000 (15:22 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 19:42:04 +0000 (14:42 -0500)
commited8637d3615b38bd4d12ba5eb8ee6a0c3888e754
treeaba1750f891b8979c86e506c77977744ab0a4979
parent9901abf583683e58f95f822da63cd0e32e7b2f0a
IB/mlx4: Add contig support for control objects

Taking advantage of the optimization which was introduced in previous
commit ("IB/mlx4: Use optimal numbers of MTT entries") to optimize the
MTT usage for QP and CQ.

Signed-off-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/cq.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/mr.c
drivers/infiniband/hw/mlx4/qp.c