Searched refs:qp_uk (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | ctrl.c | 129 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 …]
|
D | puda.c | 89 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() 437 wqe = irdma_puda_get_next_send_wqe(&qp->qp_uk, &wqe_idx); in irdma_puda_send() 441 qp->qp_uk.sq_wrtrk_array[wqe_idx].wrid = (uintptr_t)info->scratch; in irdma_puda_send() 452 qp->qp_uk.swqe_polarity); in irdma_puda_send() 459 FIELD_PREP(IRDMA_UDA_QPSQ_VALID, qp->qp_uk.swqe_polarity)); in irdma_puda_send() 470 FIELD_PREP(IRDMA_UDA_QPSQ_VALID, qp->qp_uk.swqe_polarity); in irdma_puda_send() 486 irdma_uk_qp_post_wr(&qp->qp_uk); in irdma_puda_send() 615 hdr = qp->qp_uk.qp_id | in irdma_puda_qp_wqe() [all …]
|
D | hw.c | 2515 iwqp = qp->qp_uk.back_qp; in irdma_hw_flush_wqes_callback() 2524 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes_callback() 2529 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes_callback() 2531 qp->qp_uk.qp_id); in irdma_hw_flush_wqes_callback() 2534 qp->qp_uk.sq_flush_complete = true; in irdma_hw_flush_wqes_callback() 2552 struct irdma_qp *iwqp = qp->qp_uk.back_qp; in irdma_hw_flush_wqes() 2569 qp->qp_uk.sq_flush_complete = true; in irdma_hw_flush_wqes() 2570 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes() 2582 qp->qp_uk.rq_flush_complete = true; in irdma_hw_flush_wqes() 2592 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes() [all …]
|
D | utils.c | 875 iwqp = qp->qp_uk.back_qp; in irdma_term_modify_qp() 891 iwqp = qp->qp_uk.back_qp; in irdma_terminate_done() 926 iwqp = qp->qp_uk.back_qp; in irdma_terminate_start_timer() 943 iwqp = qp->qp_uk.back_qp; in irdma_terminate_del_timer() 1178 iwqp = cqp_info->in.u.qp_modify.qp->qp_uk.back_qp; in irdma_hw_modify_qp_callback() 1429 struct irdma_cm_node *cm_node = ((struct irdma_qp *)qp->qp_uk.back_qp)->cm_node; in irdma_send_ieq_ack() 2455 struct irdma_qp *qp = sc_qp->qp_uk.back_qp; in irdma_modify_qp_to_err() 2564 struct irdma_qp_uk *qp = &iwqp->sc_qp.qp_uk; in irdma_generate_flush_completions()
|
D | verbs.c | 458 irdma_uk_clean_cq(&iwqp->sc_qp.qp_uk, ukcq); in irdma_clean_cqes() 517 iwqp->sc_qp.qp_uk.destroy_pending = true; in irdma_destroy_qp() 838 qp->qp_uk.back_qp = iwqp; in irdma_create_qp() 991 uresp.qp_caps = qp->qp_uk.qp_caps; in irdma_create_qp() 1056 attr->cap.max_inline_data = qp->qp_uk.max_inline_data; in irdma_query_qp() 1057 attr->cap.max_send_sge = qp->qp_uk.max_sq_frag_cnt; in irdma_query_qp() 1058 attr->cap.max_recv_sge = qp->qp_uk.max_rq_frag_cnt; in irdma_query_qp() 3097 ukqp = &iwqp->sc_qp.qp_uk; in irdma_post_send() 3265 ukqp = &iwqp->sc_qp.qp_uk; in irdma_post_recv() 3340 entry->qp = qp->qp_uk.back_qp; in irdma_process_cqe() [all …]
|
D | cm.c | 3450 if (iwqp->flush_issued || iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_disconn_true() 3500 if (issue_flush && !iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_disconn_true() 3668 iwqp->sc_qp.qp_uk.sq_base = kmap_local_page(iwqp->page); in irdma_accept() 3675 kunmap_local(iwqp->sc_qp.qp_uk.sq_base); in irdma_accept() 4086 if (iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_event_connected() 4094 iwqp->sc_qp.qp_uk.sq_base = kmap_local_page(iwqp->page); in irdma_cm_event_connected() 4097 kunmap_local(iwqp->sc_qp.qp_uk.sq_base); in irdma_cm_event_connected()
|
D | type.h | 489 struct irdma_qp_uk qp_uk; member
|