diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_verbs.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_verbs.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.h b/drivers/infiniband/hw/ipath/ipath_verbs.h index 2b2311abf05a..b461316ca223 100644 --- a/drivers/infiniband/hw/ipath/ipath_verbs.h +++ b/drivers/infiniband/hw/ipath/ipath_verbs.h | |||
@@ -581,10 +581,6 @@ void ipath_sqerror_qp(struct ipath_qp *qp, struct ib_wc *wc); | |||
581 | 581 | ||
582 | void ipath_get_credit(struct ipath_qp *qp, u32 aeth); | 582 | void ipath_get_credit(struct ipath_qp *qp, u32 aeth); |
583 | 583 | ||
584 | void ipath_do_rc_send(unsigned long data); | ||
585 | |||
586 | void ipath_do_uc_send(unsigned long data); | ||
587 | |||
588 | void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int sig); | 584 | void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int sig); |
589 | 585 | ||
590 | int ipath_rkey_ok(struct ipath_ibdev *dev, struct ipath_sge_state *ss, | 586 | int ipath_rkey_ok(struct ipath_ibdev *dev, struct ipath_sge_state *ss, |
@@ -597,7 +593,7 @@ void ipath_copy_sge(struct ipath_sge_state *ss, void *data, u32 length); | |||
597 | 593 | ||
598 | void ipath_skip_sge(struct ipath_sge_state *ss, u32 length); | 594 | void ipath_skip_sge(struct ipath_sge_state *ss, u32 length); |
599 | 595 | ||
600 | int ipath_post_rc_send(struct ipath_qp *qp, struct ib_send_wr *wr); | 596 | int ipath_post_ruc_send(struct ipath_qp *qp, struct ib_send_wr *wr); |
601 | 597 | ||
602 | void ipath_uc_rcv(struct ipath_ibdev *dev, struct ipath_ib_header *hdr, | 598 | void ipath_uc_rcv(struct ipath_ibdev *dev, struct ipath_ib_header *hdr, |
603 | int has_grh, void *data, u32 tlen, struct ipath_qp *qp); | 599 | int has_grh, void *data, u32 tlen, struct ipath_qp *qp); |
@@ -679,7 +675,19 @@ void ipath_insert_rnr_queue(struct ipath_qp *qp); | |||
679 | 675 | ||
680 | int ipath_get_rwqe(struct ipath_qp *qp, int wr_id_only); | 676 | int ipath_get_rwqe(struct ipath_qp *qp, int wr_id_only); |
681 | 677 | ||
682 | void ipath_ruc_loopback(struct ipath_qp *sqp, struct ib_wc *wc); | 678 | u32 ipath_make_grh(struct ipath_ibdev *dev, struct ib_grh *hdr, |
679 | struct ib_global_route *grh, u32 hwords, u32 nwords); | ||
680 | |||
681 | void ipath_do_ruc_send(unsigned long data); | ||
682 | |||
683 | u32 ipath_make_rc_ack(struct ipath_qp *qp, struct ipath_other_headers *ohdr, | ||
684 | u32 pmtu); | ||
685 | |||
686 | int ipath_make_rc_req(struct ipath_qp *qp, struct ipath_other_headers *ohdr, | ||
687 | u32 pmtu, u32 *bth0p, u32 *bth2p); | ||
688 | |||
689 | int ipath_make_uc_req(struct ipath_qp *qp, struct ipath_other_headers *ohdr, | ||
690 | u32 pmtu, u32 *bth0p, u32 *bth2p); | ||
683 | 691 | ||
684 | extern const enum ib_wc_opcode ib_ipath_wc_opcode[]; | 692 | extern const enum ib_wc_opcode ib_ipath_wc_opcode[]; |
685 | 693 | ||