summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/cma.c
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2019-08-15 11:38:34 +0300
committerDoug Ledford <dledford@redhat.com>2019-08-20 13:44:45 -0400
commit841b07f99a4766d66f50d8a2ab941bce94cd4e70 (patch)
treec229dc94e09010602262ae2869ee809c2f413a76 /drivers/infiniband/core/cma.c
parent25a4517214ffa217a443181f7f885b914e6b328f (diff)
IB/mlx5: Block MR WR if UMR is not possible
Check conditions that are mandatory to post_send UMR WQEs. 1. Modifying page size. 2. Modifying remote atomic permissions if atomic access is required. If either condition is not fulfilled then fail to post_send() flow. Fixes: c8d75a980fab ("IB/mlx5: Respect new UMR capabilities") Signed-off-by: Moni Shoua <monis@mellanox.com> Reviewed-by: Guy Levi <guyle@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Link: https://lore.kernel.org/r/20190815083834.9245-9-leon@kernel.org Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/cma.c')
0 files changed, 0 insertions, 0 deletions