aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2021-11-17 11:02:05 +0200
committerJason Gunthorpe <jgg@nvidia.com>2021-11-17 16:52:07 -0400
commit679f2b7552b4f3c28ba54ef4c5e7ab28374e30d2 (patch)
tree95c45b33727f13647172b1c30433d09713d664c8 /drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
parentRDMA/bnxt_re: Scan the whole bitmap when checking if "disabling RCFW with pending cmd-bit" (diff)
downloadlinux-dev-679f2b7552b4f3c28ba54ef4c5e7ab28374e30d2.tar.xz
linux-dev-679f2b7552b4f3c28ba54ef4c5e7ab28374e30d2.zip
RDMA/ocrdma: Use helper function to set GUIDs
Use addrconf_addr_eui48() helper function to set the GUIDs and remove the driver specific version. Link: https://lore.kernel.org/r/20211117090205.96523-1-kamalheib1@gmail.com Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_verbs.h')
-rw-r--r--drivers/infiniband/hw/ocrdma/ocrdma_verbs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
index b73d742a520c..f860b7fcef33 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
@@ -59,7 +59,6 @@ int ocrdma_query_port(struct ib_device *ibdev, u32 port,
enum rdma_protocol_type
ocrdma_query_protocol(struct ib_device *device, u32 port_num);
-void ocrdma_get_guid(struct ocrdma_dev *, u8 *guid);
int ocrdma_query_pkey(struct ib_device *ibdev, u32 port, u16 index, u16 *pkey);
int ocrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);