]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/mlx5: Consolidate use_umr checks into single function
authorMoni Shoua <monis@mellanox.com>
Thu, 15 Aug 2019 08:38:31 +0000 (11:38 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 20 Aug 2019 17:44:44 +0000 (13:44 -0400)
commit0e6613b41edd2f55a4b33234c5f31410c1ed3783
tree99612e2cf1de453c3fe107712aebbfb80a8eb1e5
parent60c78668ae50d6b815ead4a62216822a92097125
IB/mlx5: Consolidate use_umr checks into single function

Introduce helper function to unify various use_umr checks.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20190815083834.9245-6-leon@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c