1
0
Fork 0
alistair23-linux/drivers/infiniband/hw/mlx5
Moni Shoua 841b07f99a 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: c8d75a980f ("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>
2019-08-20 13:44:45 -04:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ah.c RDMA: Handle AH allocations by IB/core 2019-04-08 13:05:25 -03:00
cmd.c mlx5: avoid 64-bit division 2019-05-29 13:03:21 -03:00
cmd.h IB/mlx5: Add steering SW ICM device memory type 2019-05-06 12:51:51 -03:00
cong.c infiniband: mlx5: no need to check return value of debugfs_create functions 2019-01-24 09:22:29 -07:00
cq.c Merge mlx5-next into rdma for-next 2019-07-03 16:50:26 -03:00
devx.c IB/mlx5: Fix use-after-free error while accessing ev_file pointer 2019-08-12 10:46:30 -04:00
doorbell.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
flow.c net/mlx5: Add flow context for flow tag 2019-06-26 12:01:28 -07:00
gsi.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
ib_rep.c Merge mlx5-next into rdma for-next 2019-07-05 10:16:19 -03:00
ib_rep.h Merge mlx5-next into rdma for-next 2019-07-03 16:50:26 -03:00
ib_virt.c IB/mlx5: Restore IB guid/policy for virtual functions 2017-07-24 10:34:28 -04:00
mad.c IB/mlx5: Fixed reporting counters on 2nd port for Dual port RoCE 2019-07-03 15:08:54 -03:00
main.c IB/mlx5: Report and handle ODP support properly 2019-08-20 13:44:45 -04:00
mem.c RDMA/mlx5: Fix MR npages calculation for IB_ACCESS_HUGETLB 2019-08-20 13:44:43 -04:00
mlx5_ib.h IB/mlx5: Consolidate use_umr checks into single function 2019-08-20 13:44:44 -04:00
mr.c IB/mlx5: Fix MR re-registration flow to use UMR properly 2019-08-20 13:44:45 -04:00
odp.c IB/mlx5: Report and handle ODP support properly 2019-08-20 13:44:45 -04:00
qp.c IB/mlx5: Block MR WR if UMR is not possible 2019-08-20 13:44:45 -04:00
srq.c RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
srq.h RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
srq_cmd.c RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00