]> Git Repo - linux.git/commit
IB/mlx5: Fix MR registration flow to use UMR properly
authorGuy Levi <[email protected]>
Wed, 31 Jul 2019 08:19:29 +0000 (11:19 +0300)
committerDoug Ledford <[email protected]>
Thu, 1 Aug 2019 15:49:51 +0000 (11:49 -0400)
commite5366d309a772fef264ec85e858f9ea46f939848
tree46ba99871db22e3cc3c3f6c8d161dc95e3be0481
parent9cd5881719e9555cae300ec8b389eda3c8101339
IB/mlx5: Fix MR registration flow to use UMR properly

Driver shouldn't allow to use UMR to register a MR when
umr_modify_atomic_disabled is set. Otherwise it will always end up with a
failure in the post send flow which sets the UMR WQE to modify atomic access
right.

Fixes: c8d75a980fab ("IB/mlx5: Respect new UMR capabilities")
Signed-off-by: Guy Levi <[email protected]>
Reviewed-by: Moni Shoua <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/mlx5/mr.c
This page took 0.056359 seconds and 4 git commands to generate.