Home
last modified time | relevance | path

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

/drivers/infiniband/hw/irdma/
Dctrl.c129 qp->qp_uk.qp_id, qp->user_pri, qp->qs_handle, in irdma_qp_rem_qos()
149 qp->qp_uk.qp_id, qp->user_pri, qp->qs_handle, in irdma_qp_add_qos()
399 ret_code = irdma_uk_qp_init(&qp->qp_uk, &info->qp_uk_init_info); in irdma_sc_qp_init()
411 qp->hw_sq_size = irdma_get_encoded_wqe_size(qp->qp_uk.sq_ring.size, in irdma_sc_qp_init()
415 qp->hw_sq_size, qp->qp_uk.sq_ring.size); in irdma_sc_qp_init()
416 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1 && qp->pd->abi_ver > 4) in irdma_sc_qp_init()
419 ret_code = irdma_fragcnt_to_wqesize_rq(qp->qp_uk.max_rq_frag_cnt, in irdma_sc_qp_init()
424 qp->hw_rq_size = irdma_get_encoded_wqe_size(qp->qp_uk.rq_size * in irdma_sc_qp_init()
428 qp->hw_rq_size, qp->qp_uk.rq_size, wqe_size); in irdma_sc_qp_init()
435 qp->qp_uk.first_sq_wq = info->qp_uk_init_info.first_sq_wq; in irdma_sc_qp_init()
[all …]
Dpuda.c89 qp->qp_uk.rq_wrid_array[wqe_idx] = (uintptr_t)buf; in irdma_puda_post_recvbuf()
90 wqe = qp->qp_uk.rq_base[wqe_idx].elem; in irdma_puda_post_recvbuf()
98 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_puda_post_recvbuf()
443 wqe = irdma_puda_get_next_send_wqe(&qp->qp_uk, &wqe_idx); in irdma_puda_send()
447 qp->qp_uk.sq_wrtrk_array[wqe_idx].wrid = (uintptr_t)info->scratch; in irdma_puda_send()
458 qp->qp_uk.swqe_polarity); in irdma_puda_send()
465 FIELD_PREP(IRDMA_UDA_QPSQ_VALID, qp->qp_uk.swqe_polarity)); in irdma_puda_send()
476 FIELD_PREP(IRDMA_UDA_QPSQ_VALID, qp->qp_uk.swqe_polarity); in irdma_puda_send()
492 irdma_uk_qp_post_wr(&qp->qp_uk); in irdma_puda_send()
621 hdr = qp->qp_uk.qp_id | in irdma_puda_qp_wqe()
[all …]
Dhw.c2555 iwqp = qp->qp_uk.back_qp; in irdma_hw_flush_wqes_callback()
2564 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes_callback()
2569 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes_callback()
2571 qp->qp_uk.qp_id); in irdma_hw_flush_wqes_callback()
2574 qp->qp_uk.sq_flush_complete = true; in irdma_hw_flush_wqes_callback()
2592 struct irdma_qp *iwqp = qp->qp_uk.back_qp; in irdma_hw_flush_wqes()
2609 qp->qp_uk.sq_flush_complete = true; in irdma_hw_flush_wqes()
2610 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes()
2622 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes()
2632 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes()
[all …]
Dutils.c900 iwqp = qp->qp_uk.back_qp; in irdma_term_modify_qp()
916 iwqp = qp->qp_uk.back_qp; in irdma_terminate_done()
951 iwqp = qp->qp_uk.back_qp; in irdma_terminate_start_timer()
968 iwqp = qp->qp_uk.back_qp; in irdma_terminate_del_timer()
1203 iwqp = cqp_info->in.u.qp_modify.qp->qp_uk.back_qp; in irdma_hw_modify_qp_callback()
1454 struct irdma_cm_node *cm_node = ((struct irdma_qp *)qp->qp_uk.back_qp)->cm_node; in irdma_send_ieq_ack()
2344 struct irdma_qp *qp = sc_qp->qp_uk.back_qp; in irdma_modify_qp_to_err()
2453 struct irdma_qp_uk *qp = &iwqp->sc_qp.qp_uk; in irdma_generate_flush_completions()
Dverbs.c463 irdma_uk_clean_cq(&iwqp->sc_qp.qp_uk, ukcq); in irdma_clean_cqes()
522 iwqp->sc_qp.qp_uk.destroy_pending = true; in irdma_destroy_qp()
910 qp->qp_uk.back_qp = iwqp; in irdma_create_qp()
1034 uresp.qp_caps = qp->qp_uk.qp_caps; in irdma_create_qp()
1099 attr->cap.max_inline_data = qp->qp_uk.max_inline_data; in irdma_query_qp()
1100 attr->cap.max_send_sge = qp->qp_uk.max_sq_frag_cnt; in irdma_query_qp()
1101 attr->cap.max_recv_sge = qp->qp_uk.max_rq_frag_cnt; in irdma_query_qp()
3296 ukqp = &iwqp->sc_qp.qp_uk; in irdma_post_send()
3465 ukqp = &iwqp->sc_qp.qp_uk; in irdma_post_recv()
3540 entry->qp = qp->qp_uk.back_qp; in irdma_process_cqe()
[all …]
Dcm.c3504 if (iwqp->flush_issued || iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_disconn_true()
3554 if (issue_flush && !iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_disconn_true()
3721 iwqp->sc_qp.qp_uk.sq_base = kmap_local_page(iwqp->page); in irdma_accept()
3728 kunmap_local(iwqp->sc_qp.qp_uk.sq_base); in irdma_accept()
4149 if (iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_event_connected()
4157 iwqp->sc_qp.qp_uk.sq_base = kmap_local_page(iwqp->page); in irdma_cm_event_connected()
4160 kunmap_local(iwqp->sc_qp.qp_uk.sq_base); in irdma_cm_event_connected()
Dtype.h446 struct irdma_qp_uk qp_uk; member