diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2016-02-14 15:11:20 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:38:10 -0500 |
commit | 79a225be38932b17707009767e85d6edf450e7cc (patch) | |
tree | 5359d4de3bcc764ec6014479d6b6954a245c4e73 /include/rdma | |
parent | 0765b01b8e2da50ad56f6544f935f5eaef1389f2 (diff) |
IB/rdmavt: Remove unnecessary exported functions
Remove exported functions which are no longer required as the
functionality has moved into rdmavt. This also requires re-ordering some
of the functions since their prototype no longer appears in a header
file. Rather than add forward declarations it is just cleaner to
re-order some of the functions.
Reviewed-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/rdma_vt.h | 13 | ||||
-rw-r--r-- | include/rdma/rdmavt_qp.h | 4 |
2 files changed, 0 insertions, 17 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h index 4c50bbb75d77..a8696551abb1 100644 --- a/include/rdma/rdma_vt.h +++ b/include/rdma/rdma_vt.h | |||
@@ -476,19 +476,6 @@ int rvt_rkey_ok(struct rvt_qp *qp, struct rvt_sge *sge, | |||
476 | u32 len, u64 vaddr, u32 rkey, int acc); | 476 | u32 len, u64 vaddr, u32 rkey, int acc); |
477 | int rvt_lkey_ok(struct rvt_lkey_table *rkt, struct rvt_pd *pd, | 477 | int rvt_lkey_ok(struct rvt_lkey_table *rkt, struct rvt_pd *pd, |
478 | struct rvt_sge *isge, struct ib_sge *sge, int acc); | 478 | struct rvt_sge *isge, struct ib_sge *sge, int acc); |
479 | int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma); | ||
480 | void rvt_release_mmap_info(struct kref *ref); | ||
481 | struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, | ||
482 | u32 size, | ||
483 | struct ib_ucontext *context, | ||
484 | void *obj); | ||
485 | void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip, | ||
486 | u32 size, void *obj); | ||
487 | int rvt_reg_mr(struct rvt_qp *qp, struct ib_reg_wr *wr); | ||
488 | struct rvt_mcast *rvt_mcast_find(struct rvt_ibport *ibp, union ib_gid *mgid); | 479 | struct rvt_mcast *rvt_mcast_find(struct rvt_ibport *ibp, union ib_gid *mgid); |
489 | 480 | ||
490 | /* Temporary export */ | ||
491 | void rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, | ||
492 | enum ib_qp_type type); | ||
493 | |||
494 | #endif /* DEF_RDMA_VT_H */ | 481 | #endif /* DEF_RDMA_VT_H */ |
diff --git a/include/rdma/rdmavt_qp.h b/include/rdma/rdmavt_qp.h index 1066b5d1b4d2..933f14f92da6 100644 --- a/include/rdma/rdmavt_qp.h +++ b/include/rdma/rdmavt_qp.h | |||
@@ -438,10 +438,6 @@ static inline struct rvt_rwqe *rvt_get_rwqe_ptr(struct rvt_rq *rq, unsigned n) | |||
438 | extern const int ib_rvt_state_ops[]; | 438 | extern const int ib_rvt_state_ops[]; |
439 | 439 | ||
440 | struct rvt_dev_info; | 440 | struct rvt_dev_info; |
441 | void rvt_remove_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp); | ||
442 | void rvt_clear_mr_refs(struct rvt_qp *qp, int clr_sends); | ||
443 | int rvt_error_qp(struct rvt_qp *qp, enum ib_wc_status err); | 441 | int rvt_error_qp(struct rvt_qp *qp, enum ib_wc_status err); |
444 | void rvt_free_qpn(struct rvt_qpn_table *qpt, u32 qpn); | ||
445 | void rvt_dec_qp_cnt(struct rvt_dev_info *rdi); | ||
446 | 442 | ||
447 | #endif /* DEF_RDMAVT_INCQP_H */ | 443 | #endif /* DEF_RDMAVT_INCQP_H */ |