]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Fix the SQ size of an RC QP
authorYishai Hadas <yishaih@mellanox.com>
Wed, 22 Jun 2016 14:27:28 +0000 (17:27 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 14:06:54 +0000 (10:06 -0400)
commit0f15dd0cf334e5d33b4c316b6684290b21ca890e
tree0228b00dfcc082dfc8cc91aec69ca266193c52a5
parent25f7ac5f2e70794af2c79d28e81a03f5333a15d0
IB/mlx4: Fix the SQ size of an RC QP

When calculating the required size of an RC QP send queue, leave
enough space for masked atomic operations, which require more space than
"regular" atomic operation.

Fixes: ca0433568efc ("IB/mlx4: Add support for masked atomic operations")
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Jack Morgenstein <jackm@mellanox.co.il>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/qp.c