aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_verbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_verbs.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_verbs.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.h b/drivers/infiniband/hw/ipath/ipath_verbs.h
index 3fffaa02e669..3597d362e5dd 100644
--- a/drivers/infiniband/hw/ipath/ipath_verbs.h
+++ b/drivers/infiniband/hw/ipath/ipath_verbs.h
@@ -220,6 +220,7 @@ struct ipath_segarray {
220}; 220};
221 221
222struct ipath_mregion { 222struct ipath_mregion {
223 struct ib_pd *pd; /* shares refcnt of ibmr.pd */
223 u64 user_base; /* User's address for this region */ 224 u64 user_base; /* User's address for this region */
224 u64 iova; /* IB start address of this region */ 225 u64 iova; /* IB start address of this region */
225 size_t length; 226 size_t length;
@@ -657,12 +658,6 @@ int ipath_verbs_send(struct ipath_devdata *dd, u32 hdrwords,
657 658
658void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int sig); 659void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int sig);
659 660
660int ipath_rkey_ok(struct ipath_ibdev *dev, struct ipath_sge_state *ss,
661 u32 len, u64 vaddr, u32 rkey, int acc);
662
663int ipath_lkey_ok(struct ipath_lkey_table *rkt, struct ipath_sge *isge,
664 struct ib_sge *sge, int acc);
665
666void ipath_copy_sge(struct ipath_sge_state *ss, void *data, u32 length); 661void ipath_copy_sge(struct ipath_sge_state *ss, void *data, u32 length);
667 662
668void ipath_skip_sge(struct ipath_sge_state *ss, u32 length); 663void ipath_skip_sge(struct ipath_sge_state *ss, u32 length);
@@ -687,10 +682,10 @@ int ipath_alloc_lkey(struct ipath_lkey_table *rkt,
687 682
688void ipath_free_lkey(struct ipath_lkey_table *rkt, u32 lkey); 683void ipath_free_lkey(struct ipath_lkey_table *rkt, u32 lkey);
689 684
690int ipath_lkey_ok(struct ipath_lkey_table *rkt, struct ipath_sge *isge, 685int ipath_lkey_ok(struct ipath_qp *qp, struct ipath_sge *isge,
691 struct ib_sge *sge, int acc); 686 struct ib_sge *sge, int acc);
692 687
693int ipath_rkey_ok(struct ipath_ibdev *dev, struct ipath_sge_state *ss, 688int ipath_rkey_ok(struct ipath_qp *qp, struct ipath_sge_state *ss,
694 u32 len, u64 vaddr, u32 rkey, int acc); 689 u32 len, u64 vaddr, u32 rkey, int acc);
695 690
696int ipath_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, 691int ipath_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr,