mirror_ubuntu-kernels/drivers/infiniband
Ilya Lesokhin ff740aefec 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>
2017-08-24 17:47:34 -04:00
..
core RDMA/core: Refactor get link layer wrapper 2017-08-24 16:27:10 -04:00
hw IB/mlx5: Decouple MR allocation and population flows 2017-08-24 17:47:34 -04:00
sw IB/rxe: Make rxe_counter_name static 2017-08-24 16:44:48 -04:00
ulp IB/ipoib: Sync between remove_one to sysfs calls that use rtnl_lock 2017-08-24 16:31:08 -04:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00