diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_verbs.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_verbs.h | 11 |
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 | ||
222 | struct ipath_mregion { | 222 | struct 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 | ||
658 | void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int sig); | 659 | void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int sig); |
659 | 660 | ||
660 | int ipath_rkey_ok(struct ipath_ibdev *dev, struct ipath_sge_state *ss, | ||
661 | u32 len, u64 vaddr, u32 rkey, int acc); | ||
662 | |||
663 | int ipath_lkey_ok(struct ipath_lkey_table *rkt, struct ipath_sge *isge, | ||
664 | struct ib_sge *sge, int acc); | ||
665 | |||
666 | void ipath_copy_sge(struct ipath_sge_state *ss, void *data, u32 length); | 661 | void ipath_copy_sge(struct ipath_sge_state *ss, void *data, u32 length); |
667 | 662 | ||
668 | void ipath_skip_sge(struct ipath_sge_state *ss, u32 length); | 663 | void 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 | ||
688 | void ipath_free_lkey(struct ipath_lkey_table *rkt, u32 lkey); | 683 | void ipath_free_lkey(struct ipath_lkey_table *rkt, u32 lkey); |
689 | 684 | ||
690 | int ipath_lkey_ok(struct ipath_lkey_table *rkt, struct ipath_sge *isge, | 685 | int 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 | ||
693 | int ipath_rkey_ok(struct ipath_ibdev *dev, struct ipath_sge_state *ss, | 688 | int 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 | ||
696 | int ipath_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, | 691 | int ipath_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr, |