]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - drivers/infiniband/hw/mlx5/qp.c
IB/mlx5: Fix blue flame buffer size calculation
authorEli Cohen <eli@mellanox.com>
Thu, 9 Feb 2017 17:31:47 +0000 (19:31 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 16:44:42 +0000 (11:44 -0500)
commitd8030b0de03ec6bdf3665e1d915fa0f02e5ec89d
treed79aee12599e074b848a9dbf1b6bb4d375d41ebc
parent850b74151433966cff84801867e2a210a1c830bf
IB/mlx5: Fix blue flame buffer size calculation

A blue flame register is comprised of two buffers of equal size.

Fixes: 5fe9dec0d0454 ("IB/mlx5: Use blue flame register allocator in mlx5_ib")
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Noa Osherovich <noaos@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/qp.c