/freebsd-10.2-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | ev.c | 43 struct c4iw_qp *qhp, 51 if ((qhp->attr.state == C4IW_QP_STATE_ERROR) || 52 (qhp->attr.state == C4IW_QP_STATE_TERMINATE)) { 55 qhp->attr.state, qhp->wq.sq.qid, CQE_STATUS(err_cqe)); 65 if (qhp->attr.state == C4IW_QP_STATE_RTS) { 67 c4iw_modify_qp(qhp->rhp, qhp, C4IW_QP_ATTR_NEXT_STATE, 76 event.element.qp = &qhp->ibqp; 77 if (qhp 42 post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, struct c4iw_qp *qhp, struct t4_cqe *err_cqe, enum ib_event_type ib_event) argument 88 struct c4iw_qp *qhp; local [all...] |
H A D | qp.c | 71 static void set_state(struct c4iw_qp *qhp, enum c4iw_qp_state state) argument 74 spin_lock_irqsave(&qhp->lock, flag); 75 qhp->attr.state = state; 76 spin_unlock_irqrestore(&qhp->lock, flag); 494 static int build_rdma_recv(struct c4iw_qp *qhp, union t4_recv_wr *wqe, argument 499 ret = build_isgl((__be64 *)qhp->wq.rq.queue, 500 (__be64 *)&qhp->wq.rq.queue[qhp->wq.rq.size], 586 struct c4iw_qp *qhp; local 593 qhp 698 struct c4iw_qp *qhp; local 897 post_terminate(struct c4iw_qp *qhp, struct t4_cqe *err_cqe, gfp_t gfp) argument 935 __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp, struct c4iw_cq *schp) argument 974 flush_qp(struct c4iw_qp *qhp) argument 1001 rdma_fini(struct c4iw_dev *rhp, struct c4iw_qp *qhp, struct c4iw_ep *ep) argument 1087 rdma_init(struct c4iw_dev *rhp, struct c4iw_qp *qhp) argument 1166 c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp, enum c4iw_qp_attr_mask mask, struct c4iw_qp_attributes *attrs, int internal) argument 1403 struct c4iw_qp *qhp; local 1455 struct c4iw_qp *qhp; local 1646 struct c4iw_qp *qhp; local 1699 struct c4iw_qp *qhp = to_c4iw_qp(ibqp); local [all...] |
H A D | cq.c | 593 struct c4iw_qp *qhp = NULL; local 606 qhp = get_qhp(chp->rhp, CQE_QPID(rd_cqe)); 607 if (!qhp) 610 spin_lock(&qhp->lock); 611 wq = &(qhp->wq); 618 wc->qp = &qhp->ibqp; 732 spin_unlock(&qhp->lock);
|
H A D | iw_cxgbe.h | 522 struct c4iw_qp *qhp, 911 u16 c4iw_rqes_posted(struct c4iw_qp *qhp); 912 int c4iw_post_terminate(struct c4iw_qp *qhp, struct t4_cqe *err_cqe);
|
/freebsd-10.2-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_qp.c | 246 static int build_rdma_recv(struct iwch_qp *qhp, union t3_wr *wqe, argument 257 err = iwch_sgl2pbl_map(qhp->rhp, wr->sg_list, wr->num_sge, pbl_addr, 282 qhp->wq.rq[Q_PTR2IDX(qhp->wq.rq_wptr, 283 qhp->wq.rq_size_log2)].wr_id = wr->wr_id; 284 qhp->wq.rq[Q_PTR2IDX(qhp->wq.rq_wptr, 285 qhp->wq.rq_size_log2)].pbl_addr = 0; 290 static int build_zero_stag_recv(struct iwch_qp *qhp, union t3_wr *wqe, argument 304 pbl_addr = cxio_hal_pblpool_alloc(&qhp 360 struct iwch_qp *qhp; local 456 struct iwch_qp *qhp; local 519 struct iwch_qp *qhp; local 728 iwch_post_terminate(struct iwch_qp *qhp, struct respQ_msg_t *rsp_msg) argument 764 __flush_qp(struct iwch_qp *qhp, struct iwch_cq *rchp, struct iwch_cq *schp) argument 803 flush_qp(struct iwch_qp *qhp) argument 828 rqes_posted(struct iwch_qp *qhp) argument 839 rdma_init(struct iwch_dev *rhp, struct iwch_qp *qhp, enum iwch_qp_attr_mask mask, struct iwch_qp_attributes *attrs) argument 888 iwch_modify_qp(struct iwch_dev *rhp, struct iwch_qp *qhp, enum iwch_qp_attr_mask mask, struct iwch_qp_attributes *attrs, int internal) argument [all...] |
H A D | iw_cxgb_ev.c | 80 post_qp_event(struct iwch_dev *rnicp, struct iwch_qp *qhp, struct iwch_cq *chp, argument 90 if (!qhp) { 98 if ((qhp->attr.state == IWCH_QP_STATE_ERROR) || 99 (qhp->attr.state == IWCH_QP_STATE_TERMINATE)) { 102 qhp->attr.state, qhp->wq.qpid, CQE_STATUS(rsp_msg->cqe)); 115 if (qhp->attr.state == IWCH_QP_STATE_RTS) { 117 iwch_modify_qp(qhp->rhp, qhp, IWCH_QP_ATTR_NEXT_STATE, 120 iwch_post_terminate(qhp, rsp_ms 141 struct iwch_qp *qhp; local [all...] |
H A D | iw_cxgb_provider.c | 728 struct iwch_qp *qhp; local 732 qhp = to_iwch_qp(ib_qp); 733 rhp = qhp->rhp; 736 iwch_modify_qp(rhp, qhp, IWCH_QP_ATTR_NEXT_STATE, &attrs, 0); 737 mtx_lock(&qhp->lock); 738 if (qhp->ep) 739 msleep(qhp, &qhp->lock, 0, "iwch_destroy_qp1", 0); 740 mtx_unlock(&qhp->lock); 742 remove_handle(rhp, &rhp->qpidr, qhp 765 struct iwch_qp *qhp; local 913 struct iwch_qp *qhp; local [all...] |
H A D | iw_cxgb_cq.c | 91 struct iwch_qp *qhp = NULL; local 104 qhp = get_qhp(rhp, CQE_QPID(*rd_cqe)); 105 if (!qhp) 108 mtx_lock(&qhp->lock); 109 wq = &(qhp->wq); 126 wc->qp = &qhp->ibqp; 226 mtx_unlock(&qhp->lock);
|
H A D | iw_cxgb_provider.h | 169 qp_quiesced(struct iwch_qp *qhp) argument 171 return qhp->flags & QP_QUIESCED; 258 struct iwch_qp *qhp, 337 int iwch_post_terminate(struct iwch_qp *qhp, struct respQ_msg_t *rsp_msg); 340 void stop_read_rep_timer(struct iwch_qp *qhp);
|