]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
IB/mlx5: Fix atomic cap in indirect UMR
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 27 Oct 2016 13:36:37 +0000 (16:36 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Nov 2016 01:04:48 +0000 (20:04 -0500)
commit578e72647ba5a77a09004606cb572f0881c34e0d
treef965fa1ea025d28079459a0dd704da439a8de823
parent2d2215888d758c194efb38332aaf5e2069ac578e
IB/mlx5: Fix atomic cap in indirect UMR

Remove from the driver the limitation imposed by firmware check
to not allow change of atomic permissions for indirect UMRs.
In order to avoid failures on old firmware, we only ask for change
of atomic permissions if atomic operations are supported.

Fixes: 968e78dd9644 ('IB/mlx5: Enhance UMR support to allow partial page table update')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/qp.c