]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit931b3c1a832621b4bdcbaf783096fc267eb36fbe
tree637cd706c5e865f99691606a8025abeff984af25
parentefdd6f53b10aead0f5cf19a93dd3eb268ac0d991
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: 17d2f88f92ce ("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