]> git.baikalelectronics.ru Git - kernel.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)
commitd1f6dd467057cd6fd2651b6616871e7bcfc62d13
tree99612e2cf1de453c3fe107712aebbfb80a8eb1e5
parent1d8e8662a6e95b1b762119ef17651a962406c561
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