IB/core: Provide rdma_ versions of the gid cache API
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 5 Jun 2018 05:40:20 +0000 (08:40 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 17:09:05 +0000 (11:09 -0600)
commitc3d71b69a75cbbc03c8f43571b003ddadd40d056
tree3eb21122ae12813cfb49e1fe8920011e4327316b
parentddb457c6993babbcdd41fca638b870d2a2fc3941
IB/core: Provide rdma_ versions of the gid cache API

These versions are functionally similar but all return gid_attrs and
related information via reference instead of via copy.

The old API is preserved, implemented as wrappers around the new, until
all callers can be converted.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cache.c
include/rdma/ib_cache.h