aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/usnic/usnic_ib_verbs.h
diff options
context:
space:
mode:
authorGal Pressman <galpress@amazon.com>2019-01-22 10:08:23 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-01-30 20:32:25 -0700
commitcfc30ad3d098b63ac08d2d2d61ef9aeff659c57a (patch)
tree8d1d8245163c60a0bc0c79f2aac132bf39647ea6 /drivers/infiniband/hw/usnic/usnic_ib_verbs.h
parentRDMA: Add indication for in kernel API support to IB device (diff)
downloadlinux-dev-cfc30ad3d098b63ac08d2d2d61ef9aeff659c57a.tar.xz
linux-dev-cfc30ad3d098b63ac08d2d2d61ef9aeff659c57a.zip
IB/usnic: Remove stub functions
Lack of mandatory verbs no longer fail device registration, the device will be marked as a non-kverbs provider. Signed-off-by: Gal Pressman <galpress@amazon.com> Tested-by: Parvi Kaustubhi <pkaustub@cisco.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/usnic/usnic_ib_verbs.h')
-rw-r--r--drivers/infiniband/hw/usnic/usnic_ib_verbs.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.h b/drivers/infiniband/hw/usnic/usnic_ib_verbs.h
index e33144261b9a..99a6d81c2bcd 100644
--- a/drivers/infiniband/hw/usnic/usnic_ib_verbs.h
+++ b/drivers/infiniband/hw/usnic/usnic_ib_verbs.h
@@ -75,19 +75,4 @@ struct ib_ucontext *usnic_ib_alloc_ucontext(struct ib_device *ibdev,
int usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext);
int usnic_ib_mmap(struct ib_ucontext *context,
struct vm_area_struct *vma);
-struct ib_ah *usnic_ib_create_ah(struct ib_pd *pd,
- struct rdma_ah_attr *ah_attr,
- u32 flags,
- struct ib_udata *udata);
-
-int usnic_ib_destroy_ah(struct ib_ah *ah, u32 flags);
-int usnic_ib_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
- const struct ib_send_wr **bad_wr);
-int usnic_ib_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
- const struct ib_recv_wr **bad_wr);
-int usnic_ib_poll_cq(struct ib_cq *ibcq, int num_entries,
- struct ib_wc *wc);
-int usnic_ib_req_notify_cq(struct ib_cq *cq,
- enum ib_cq_notify_flags flags);
-struct ib_mr *usnic_ib_get_dma_mr(struct ib_pd *pd, int acc);
#endif /* !USNIC_IB_VERBS_H */