diff options
author | Leon Romanovsky <leon@leon.nu> | 2016-02-11 21:09:57 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-02-12 14:56:08 -0500 |
commit | 75c1657e1d50730dc0130a67977f7831a4e241f4 (patch) | |
tree | 053a663b70ee3fada69aa5a14d13409cfb61f31e /mm/swap.c | |
parent | 08bc327629cbd63bb2f66677e4b33b643695097c (diff) | |
download | linux-75c1657e1d50730dc0130a67977f7831a4e241f4.tar.bz2 |
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 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions