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.h20
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
582void ipath_get_credit(struct ipath_qp *qp, u32 aeth); 582void ipath_get_credit(struct ipath_qp *qp, u32 aeth);
583 583
584void ipath_do_rc_send(unsigned long data);
585
586void ipath_do_uc_send(unsigned long data);
587
588void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int sig); 584void ipath_cq_enter(struct ipath_cq *cq, struct ib_wc *entry, int sig);
589 585
590int ipath_rkey_ok(struct ipath_ibdev *dev, struct ipath_sge_state *ss, 586int 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
598void ipath_skip_sge(struct ipath_sge_state *ss, u32 length); 594void ipath_skip_sge(struct ipath_sge_state *ss, u32 length);
599 595
600int ipath_post_rc_send(struct ipath_qp *qp, struct ib_send_wr *wr); 596int ipath_post_ruc_send(struct ipath_qp *qp, struct ib_send_wr *wr);
601 597
602void ipath_uc_rcv(struct ipath_ibdev *dev, struct ipath_ib_header *hdr, 598void 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
680int ipath_get_rwqe(struct ipath_qp *qp, int wr_id_only); 676int ipath_get_rwqe(struct ipath_qp *qp, int wr_id_only);
681 677
682void ipath_ruc_loopback(struct ipath_qp *sqp, struct ib_wc *wc); 678u32 ipath_make_grh(struct ipath_ibdev *dev, struct ib_grh *hdr,
679 struct ib_global_route *grh, u32 hwords, u32 nwords);
680
681void ipath_do_ruc_send(unsigned long data);
682
683u32 ipath_make_rc_ack(struct ipath_qp *qp, struct ipath_other_headers *ohdr,
684 u32 pmtu);
685
686int ipath_make_rc_req(struct ipath_qp *qp, struct ipath_other_headers *ohdr,
687 u32 pmtu, u32 *bth0p, u32 *bth2p);
688
689int ipath_make_uc_req(struct ipath_qp *qp, struct ipath_other_headers *ohdr,
690 u32 pmtu, u32 *bth0p, u32 *bth2p);
683 691
684extern const enum ib_wc_opcode ib_ipath_wc_opcode[]; 692extern const enum ib_wc_opcode ib_ipath_wc_opcode[];
685 693