summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@leon.nu>2016-02-11 19:09:57 (GMT)
committerDoug Ledford <dledford@redhat.com>2016-02-12 19:56:08 (GMT)
commit75c1657e1d50730dc0130a67977f7831a4e241f4 (patch)
tree053a663b70ee3fada69aa5a14d13409cfb61f31e /drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
parent08bc327629cbd63bb2f66677e4b33b643695097c (diff)
downloadlinux-75c1657e1d50730dc0130a67977f7831a4e241f4.tar.xz
IB/mlx5: Fix RC transport send queue overhead computation
Fix the RC QPs send queue overhead computation to take into account two additional segments in the WQE which are needed for registration operations. The ATOMIC and UMR segments can't coexist together, so chose maximum out of them. The commit 9e65dc371b5c ("IB/mlx5: Fix RC transport send queue overhead computation") was intended to update RC transport as commit messages states, but added the code to UC transport. Fixes: 9e65dc371b5c ("IB/mlx5: Fix RC transport send queue overhead computation") Signed-off-by: Kamal Heib <kamalh@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_verbs.c')
0 files changed, 0 insertions, 0 deletions