summaryrefslogtreecommitdiff
path: root/drivers/infiniband/sw/siw/siw_verbs.h
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2020-07-14 21:34:11 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-07-20 22:18:16 +0300
commitc4995bd35471d00cd1409b3dba6955b45a08590b (patch)
treea88c01fbd2fca582978d077a6ea2b5ce29c49278 /drivers/infiniband/sw/siw/siw_verbs.h
parentab75a6cb8cb27ff7f65ab66962975be30507ee29 (diff)
downloadlinux-c4995bd35471d00cd1409b3dba6955b45a08590b.tar.xz
RDMA/siw: Remove the query_pkey callback
Now that the query_pkey() isn't mandatory by the RDMA core for iwarp providers, this callback can be removed. Link: https://lore.kernel.org/r/20200714183414.61069-5-kamalheib1@gmail.com Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Acked-by: Bernard Metzler <bmt@zurich.ibm.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/siw/siw_verbs.h')
-rw-r--r--drivers/infiniband/sw/siw/siw_verbs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/siw/siw_verbs.h b/drivers/infiniband/sw/siw/siw_verbs.h
index 9335c48c01de..d9572275a6b6 100644
--- a/drivers/infiniband/sw/siw/siw_verbs.h
+++ b/drivers/infiniband/sw/siw/siw_verbs.h
@@ -46,7 +46,6 @@ int siw_create_cq(struct ib_cq *base_cq, const struct ib_cq_init_attr *attr,
struct ib_udata *udata);
int siw_query_port(struct ib_device *base_dev, u8 port,
struct ib_port_attr *attr);
-int siw_query_pkey(struct ib_device *base_dev, u8 port, u16 idx, u16 *pkey);
int siw_query_gid(struct ib_device *base_dev, u8 port, int idx,
union ib_gid *gid);
int siw_alloc_pd(struct ib_pd *base_pd, struct ib_udata *udata);