IB/cache: Restore compatibility for ib_query_gid
authorJason Gunthorpe <jgg@mellanox.com>
Fri, 27 Jul 2018 15:48:30 +0000 (09:48 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 27 Jul 2018 16:08:34 +0000 (10:08 -0600)
commit7aaa1807e698f73094b78f0ef25b1a37a4409a55
tree0c7c38ee842cc999ec1056e5794affb48f8dd31b
parentdf0651079380c5646bc0d0f3a4aa7621ef1c2b7c
IB/cache: Restore compatibility for ib_query_gid

Code changes in smc have become so complicated this cycle that the RDMA
patches to remove ib_query_gid in smc create too complex merge conflicts.
Allow those conflicts to be resolved by using the net/smc hunks by
providing a compatibility wrapper. During the second phase of the merge
window this wrapper will be deleted and smc updated to use the new API.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/ib_cache.h