Home
last modified time | relevance | path

Searched refs:qhp (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/ofed/libcxgb4/
H A Dverbs.c314 struct c4iw_qp *qhp; in create_qp_v0() local
320 qhp = calloc(1, sizeof *qhp); in create_qp_v0()
321 if (!qhp) in create_qp_v0()
324 ret = ibv_cmd_create_qp(pd, &qhp->ibv_qp, attr, &cmd, in create_qp_v0()
336 qhp->wq.qid_mask = resp.qid_mask; in create_qp_v0()
337 qhp->rhp = dev; in create_qp_v0()
338 qhp->wq.sq.qid = resp.sqid; in create_qp_v0()
339 qhp->wq.sq.size = resp.sq_size; in create_qp_v0()
340 qhp->wq.sq.memsize = resp.sq_memsize; in create_qp_v0()
341 qhp->wq.sq.flags = 0; in create_qp_v0()
[all …]
H A Dqp.c275 static int build_rdma_recv(struct c4iw_qp *qhp, union t4_recv_wr *wqe, in build_rdma_recv() argument
288 static void ring_kernel_db(struct c4iw_qp *qhp, u32 qid, u16 idx) in ring_kernel_db() argument
298 if (qid == qhp->wq.sq.qid) { in ring_kernel_db()
305 ret = ibv_cmd_modify_qp(&qhp->ibv_qp, &attr, mask, &cmd, sizeof cmd); in ring_kernel_db()
316 struct c4iw_qp *qhp; in c4iw_post_send() local
322 qhp = to_c4iw_qp(ibqp); in c4iw_post_send()
323 pthread_spin_lock(&qhp->lock); in c4iw_post_send()
324 if (t4_wq_in_error(&qhp->wq)) { in c4iw_post_send()
325 pthread_spin_unlock(&qhp->lock); in c4iw_post_send()
329 num_wrs = t4_sq_avail(&qhp->wq); in c4iw_post_send()
[all …]
H A Ddev.c272 static void dump_qp(struct c4iw_qp *qhp) in dump_qp() argument
285 qhp, in dump_qp()
286 qhp->wq.sq.qid, in dump_qp()
287 qhp->wq.error, in dump_qp()
288 qhp->wq.flushed, in dump_qp()
289 qhp->wq.qid_mask, in dump_qp()
290 qhp->wq.sq.qid, in dump_qp()
291 qhp->wq.sq.queue, in dump_qp()
292 qhp->wq.sq.sw_sq, in dump_qp()
293 qhp->wq.sq.cidx, in dump_qp()
[all …]
H A Dcq.c95 void c4iw_flush_sq(struct c4iw_qp *qhp) in c4iw_flush_sq() argument
98 struct t4_wq *wq = &qhp->wq; in c4iw_flush_sq()
99 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibv_qp.send_cq); in c4iw_flush_sq()
201 struct c4iw_qp *qhp; in c4iw_flush_hw_cq() local
214 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
219 if (qhp == NULL) in c4iw_flush_hw_cq()
247 if (!qhp->wq.sq.oldest_read->signaled) { in c4iw_flush_hw_cq()
248 advance_oldest_read(&qhp->wq); in c4iw_flush_hw_cq()
256 create_read_req_cqe(&qhp->wq, hw_cqe, &read_cqe); in c4iw_flush_hw_cq()
258 advance_oldest_read(&qhp->wq); in c4iw_flush_hw_cq()
[all …]
H A Dlibcxgb4.h215 void c4iw_flush_qp(struct c4iw_qp *qhp);
231 void c4iw_flush_sq(struct c4iw_qp *qhp);
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c95 static void set_state(struct c4iw_qp *qhp, enum c4iw_qp_state state) in set_state() argument
98 spin_lock_irqsave(&qhp->lock, flag); in set_state()
99 qhp->attr.state = state; in set_state()
100 spin_unlock_irqrestore(&qhp->lock, flag); in set_state()
548 static int build_rdma_recv(struct c4iw_qp *qhp, union t4_recv_wr *wqe, in build_rdma_recv() argument
553 ret = build_isgl((__be64 *)qhp->wq.rq.queue, in build_rdma_recv()
554 (__be64 *)&qhp->wq.rq.queue[qhp->wq.rq.size], in build_rdma_recv()
575 struct c4iw_qp *qhp; in free_qp_work() local
578 qhp = container_of(work, struct c4iw_qp, free_work); in free_qp_work()
579 ucontext = qhp->ucontext; in free_qp_work()
[all …]
H A Dev.c119 struct c4iw_qp *qhp, in post_qp_event() argument
127 if ((qhp->attr.state == C4IW_QP_STATE_ERROR) || in post_qp_event()
128 (qhp->attr.state == C4IW_QP_STATE_TERMINATE)) { in post_qp_event()
131 qhp->attr.state, qhp->wq.sq.qid, CQE_STATUS(err_cqe)); in post_qp_event()
137 if (qhp->attr.state == C4IW_QP_STATE_RTS) { in post_qp_event()
139 c4iw_modify_qp(qhp->rhp, qhp, C4IW_QP_ATTR_NEXT_STATE, in post_qp_event()
148 event.element.qp = &qhp->ibqp; in post_qp_event()
149 if (qhp->ibqp.event_handler) in post_qp_event()
150 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
160 struct c4iw_qp *qhp; in c4iw_ev_dispatch() local
[all …]
H A Dcq.c257 int c4iw_flush_sq(struct c4iw_qp *qhp) in c4iw_flush_sq() argument
260 struct t4_wq *wq = &qhp->wq; in c4iw_flush_sq()
261 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibqp.send_cq); in c4iw_flush_sq()
364 struct c4iw_qp *qhp; in c4iw_flush_hw_cq() local
378 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
383 if (qhp == NULL) in c4iw_flush_hw_cq()
406 if (!qhp->wq.sq.oldest_read->signaled) { in c4iw_flush_hw_cq()
407 advance_oldest_read(&qhp->wq); in c4iw_flush_hw_cq()
415 create_read_req_cqe(&qhp->wq, hw_cqe, &read_cqe); in c4iw_flush_hw_cq()
417 advance_oldest_read(&qhp->wq); in c4iw_flush_hw_cq()
[all …]
H A Diw_cxgbe.h582 struct c4iw_qp *qhp,
972 int c4iw_flush_sq(struct c4iw_qp *qhp);
974 u16 c4iw_rqes_posted(struct c4iw_qp *qhp);
975 int c4iw_post_terminate(struct c4iw_qp *qhp, struct t4_cqe *err_cqe);
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsdm845.dtsi2485 compatible = "qcom,sdm845-qhp-pcie-phy";
/freebsd/contrib/bearssl/
H A DDoxyfile1368 # generated .qhp file.
/freebsd/contrib/libcbor/
H A DDoxyfile1552 # run qhelpgenerator on the generated .qhp file.
/freebsd/contrib/ldns/
H A Dlibdns.doxygen.in1485 # run qhelpgenerator on the generated .qhp file.
/freebsd/contrib/unbound/doc/
H A Dunbound.doxygen1635 # run qhelpgenerator on the generated .qhp file.