]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Fix existence check for extended address vector
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 1 Aug 2017 06:41:37 +0000 (09:41 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 4 Aug 2017 18:24:05 +0000 (14:24 -0400)
commit5591bba1d75b85628ab8ec6f90cdd2dfed58eef8
tree637cd706c5e865f99691606a8025abeff984af25
parent7fe366627e536355feacbb15c2594d3ceb56c910
RDMA/mlx5: Fix existence check for extended address vector

The extended address vector is the highest bit in be32 variable,
but it was compared with the lowest. This patch fixes the endianness
of that check and removes already declared define.

Fixes: f586cefff8c5 ("IB/mlx5: Add ODP atomics support")
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/odp.c
include/linux/mlx5/qp.h