]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: set UMR wqe fence according to HCA cap
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 28 May 2017 07:53:11 +0000 (10:53 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:19:57 +0000 (17:19 -0400)
commit6d7b18c50a74fc6f6cb874e582e6495151aff0fc
treea8637da3ff6e73f3610ee7b346f1ccfc0740e89b
parent9824f63cb0492877c1a7bf1e7099aadaeaeb122d
RDMA/mlx5: set UMR wqe fence according to HCA cap

Cache the needed umr_fence and set the wqe ctrl segmennt
accordingly.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Acked-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/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c