RDMA/core: Add helper function to retrieve driver gid context from gid attr
authorSelvin Xavier <selvin.xavier@broadcom.com>
Wed, 19 Feb 2020 10:19:53 +0000 (02:19 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 19 Feb 2020 20:54:25 +0000 (16:54 -0400)
commit779820c2e1e9251ddfdce5dd43b0bba30cd22271
tree00975b84f8b73b2c6150ba56724f12d2bc37b4f5
parent167b95ec887029c5fe0fb0f601fb209323f498fb
RDMA/core: Add helper function to retrieve driver gid context from gid attr

Adding a helper function to retrieve the driver gid context from the gid
attr.

Link: https://lore.kernel.org/r/1582107594-5180-2-git-send-email-selvin.xavier@broadcom.com
Suggested-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cache.c
include/rdma/ib_cache.h