Home
last modified time | relevance | path

Searched refs:cq_poll_info (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/irdma/
Dverbs.h241 static inline void set_ib_wc_op_sq(struct irdma_cq_poll_info *cq_poll_info, in set_ib_wc_op_sq() argument
244 switch (cq_poll_info->op_type) { in set_ib_wc_op_sq()
270 static inline void set_ib_wc_op_rq(struct irdma_cq_poll_info *cq_poll_info, in set_ib_wc_op_rq() argument
278 entry->opcode = cq_poll_info->imm_valid ? in set_ib_wc_op_rq()
284 switch (cq_poll_info->op_type) { in set_ib_wc_op_rq()
301 int irdma_generated_cmpls(struct irdma_cq *iwcq, struct irdma_cq_poll_info *cq_poll_info);
Dverbs.c3677 struct irdma_cq_poll_info *cq_poll_info) in irdma_process_cqe() argument
3683 entry->wr_id = cq_poll_info->wr_id; in irdma_process_cqe()
3685 qp = cq_poll_info->qp_handle; in irdma_process_cqe()
3688 if (cq_poll_info->error) { in irdma_process_cqe()
3689 entry->status = (cq_poll_info->comp_status == IRDMA_COMPL_STATUS_FLUSHED) ? in irdma_process_cqe()
3690 irdma_flush_err_to_ib_wc_status(cq_poll_info->minor_err) : IB_WC_GENERAL_ERR; in irdma_process_cqe()
3692 entry->vendor_err = cq_poll_info->major_err << 16 | in irdma_process_cqe()
3693 cq_poll_info->minor_err; in irdma_process_cqe()
3696 if (cq_poll_info->imm_valid) { in irdma_process_cqe()
3697 entry->ex.imm_data = htonl(cq_poll_info->imm_data); in irdma_process_cqe()
[all …]
Dutils.c2402 int irdma_generated_cmpls(struct irdma_cq *iwcq, struct irdma_cq_poll_info *cq_poll_info) in irdma_generated_cmpls() argument
2410 memcpy(cq_poll_info, &cmpl->cpi, sizeof(*cq_poll_info)); in irdma_generated_cmpls()
2415 __func__, cq_poll_info->qp_id, cq_poll_info->op_type, in irdma_generated_cmpls()
2416 cq_poll_info->wr_id); in irdma_generated_cmpls()