Home
last modified time | relevance | path

Searched refs:qp_uk (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/infiniband/hw/irdma/
Dctrl.c102 qp->qp_uk.qp_id, qp->user_pri, qp->qs_handle, in irdma_qp_rem_qos()
122 qp->qp_uk.qp_id, qp->user_pri, qp->qs_handle, in irdma_qp_add_qos()
376 ret_code = irdma_uk_qp_init(&qp->qp_uk, &info->qp_uk_init_info); in irdma_sc_qp_init()
388 qp->hw_sq_size = irdma_get_encoded_wqe_size(qp->qp_uk.sq_ring.size, in irdma_sc_qp_init()
392 qp->hw_sq_size, qp->qp_uk.sq_ring.size); in irdma_sc_qp_init()
393 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1 && qp->pd->abi_ver > 4) in irdma_sc_qp_init()
396 ret_code = irdma_fragcnt_to_wqesize_rq(qp->qp_uk.max_rq_frag_cnt, in irdma_sc_qp_init()
401 qp->hw_rq_size = irdma_get_encoded_wqe_size(qp->qp_uk.rq_size * in irdma_sc_qp_init()
405 qp->hw_rq_size, qp->qp_uk.rq_size, wqe_size); in irdma_sc_qp_init()
412 qp->qp_uk.first_sq_wq = info->qp_uk_init_info.first_sq_wq; in irdma_sc_qp_init()
[all …]
Dpuda.c90 qp->qp_uk.rq_wrid_array[wqe_idx] = (uintptr_t)buf; in irdma_puda_post_recvbuf()
91 wqe = qp->qp_uk.rq_base[wqe_idx].elem; in irdma_puda_post_recvbuf()
99 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_puda_post_recvbuf()
444 wqe = irdma_puda_get_next_send_wqe(&qp->qp_uk, &wqe_idx); in irdma_puda_send()
448 qp->qp_uk.sq_wrtrk_array[wqe_idx].wrid = (uintptr_t)info->scratch; in irdma_puda_send()
459 qp->qp_uk.swqe_polarity); in irdma_puda_send()
466 FIELD_PREP(IRDMA_UDA_QPSQ_VALID, qp->qp_uk.swqe_polarity)); in irdma_puda_send()
477 FIELD_PREP(IRDMA_UDA_QPSQ_VALID, qp->qp_uk.swqe_polarity); in irdma_puda_send()
493 irdma_uk_qp_post_wr(&qp->qp_uk); in irdma_puda_send()
623 hdr = qp->qp_uk.qp_id | in irdma_puda_qp_wqe()
[all …]
Dhw.c2525 iwqp = qp->qp_uk.back_qp; in irdma_hw_flush_wqes_callback()
2534 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes_callback()
2539 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes_callback()
2541 qp->qp_uk.qp_id); in irdma_hw_flush_wqes_callback()
2544 qp->qp_uk.sq_flush_complete = true; in irdma_hw_flush_wqes_callback()
2564 struct irdma_qp *iwqp = qp->qp_uk.back_qp; in irdma_hw_flush_wqes()
2581 qp->qp_uk.sq_flush_complete = true; in irdma_hw_flush_wqes()
2582 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes()
2594 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes()
2604 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes()
[all …]
Dverbs.c471 irdma_uk_clean_cq(&iwqp->sc_qp.qp_uk, ukcq); in irdma_clean_cqes()
530 iwqp->sc_qp.qp_uk.destroy_pending = true; in irdma_destroy_qp()
835 qp->qp_uk.back_qp = iwqp; in irdma_create_qp()
836 qp->qp_uk.lock = &iwqp->lock; in irdma_create_qp()
989 uresp.qp_caps = qp->qp_uk.qp_caps; in irdma_create_qp()
1054 attr->cap.max_inline_data = qp->qp_uk.max_inline_data; in irdma_query_qp()
1055 attr->cap.max_send_sge = qp->qp_uk.max_sq_frag_cnt; in irdma_query_qp()
1056 attr->cap.max_recv_sge = qp->qp_uk.max_rq_frag_cnt; in irdma_query_qp()
3083 ukqp = &iwqp->sc_qp.qp_uk; in irdma_post_send()
3297 ukqp = &iwqp->sc_qp.qp_uk; in irdma_post_recv()
[all …]
Dutils.c874 iwqp = qp->qp_uk.back_qp; in irdma_term_modify_qp()
890 iwqp = qp->qp_uk.back_qp; in irdma_terminate_done()
925 iwqp = qp->qp_uk.back_qp; in irdma_terminate_start_timer()
942 iwqp = qp->qp_uk.back_qp; in irdma_terminate_del_timer()
1181 iwqp = cqp_info->in.u.qp_modify.qp->qp_uk.back_qp; in irdma_hw_modify_qp_callback()
1434 struct irdma_cm_node *cm_node = ((struct irdma_qp *)qp->qp_uk.back_qp)->cm_node; in irdma_send_ieq_ack()
2507 struct irdma_qp *qp = sc_qp->qp_uk.back_qp; in irdma_modify_qp_to_err()
Dcm.c3454 if (iwqp->flush_issued || iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_disconn_true()
3510 if (issue_flush && !iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_disconn_true()
3678 iwqp->sc_qp.qp_uk.sq_base = kmap_local_page(iwqp->page); in irdma_accept()
3685 kunmap_local(iwqp->sc_qp.qp_uk.sq_base); in irdma_accept()
4088 if (iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_event_connected()
4096 iwqp->sc_qp.qp_uk.sq_base = kmap_local_page(iwqp->page); in irdma_cm_event_connected()
4099 kunmap_local(iwqp->sc_qp.qp_uk.sq_base); in irdma_cm_event_connected()
4269 if (sc_qp->qp_uk.qp_type != IRDMA_QP_TYPE_ROCE_RC) in irdma_cm_teardown_connections()
4272 qp = sc_qp->qp_uk.back_qp; in irdma_cm_teardown_connections()
4286 if (iwdev->rf->qp_table[sc_qp->qp_uk.qp_id]) { in irdma_cm_teardown_connections()
Dtype.h489 struct irdma_qp_uk qp_uk; member