summaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp/srp
diff options
context:
space:
mode:
authorIlya Lesokhin <ilyal@mellanox.com>2017-08-17 15:52:30 +0300
committerDoug Ledford <dledford@redhat.com>2017-08-25 00:47:34 +0300
commitff740aefecb98da4605df1cada7904c44eaee161 (patch)
tree1846cce849a0a31e260251fa33bc247c0f382864 /drivers/infiniband/ulp/srp
parent8b7ff7f3b301de52924cb2cf3fed47b181893116 (diff)
downloadlinux-ff740aefecb98da4605df1cada7904c44eaee161.tar.xz
IB/mlx5: Decouple MR allocation and population flows
mlx5 compatible devices have two ways of populating the MTT table of an MKEY: using a FW command and using a UMR WQE. A UMR is much faster, so it should be used whenever possible. Unfortunately the code today uses UMR only if the MKEY was allocated from the MR cache. Fix the code to use UMR even for MKEYs that were allocated using a FW command. Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/srp')
0 files changed, 0 insertions, 0 deletions