Lines Matching refs:hwcqe

2201 				     struct cq_req *hwcqe,  in bnxt_qplib_cq_process_req()  argument
2213 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_req()
2221 cqe_sq_cons = HWQ_CMP(le16_to_cpu(hwcqe->sq_cons_idx), &sq->hwq); in bnxt_qplib_cq_process_req()
2262 hwcqe->status != CQ_REQ_STATUS_OK) { in bnxt_qplib_cq_process_req()
2263 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_req()
2319 struct cq_res_rc *hwcqe, in bnxt_qplib_cq_process_res_rc() argument
2331 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_rc()
2343 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_rc()
2344 cqe->length = le32_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_rc()
2345 cqe->invrkey = le32_to_cpu(hwcqe->imm_data_or_inv_r_key); in bnxt_qplib_cq_process_res_rc()
2346 cqe->mr_handle = le64_to_cpu(hwcqe->mr_handle); in bnxt_qplib_cq_process_res_rc()
2347 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_rc()
2348 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_res_rc()
2351 wr_id_idx = le32_to_cpu(hwcqe->srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_rc()
2386 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_rc()
2398 struct cq_res_ud *hwcqe, in bnxt_qplib_cq_process_res_ud() argument
2410 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_ud()
2421 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_ud()
2422 cqe->length = le32_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_ud()
2423 cqe->invrkey = le32_to_cpu(hwcqe->imm_data); in bnxt_qplib_cq_process_res_ud()
2424 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_ud()
2425 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_res_ud()
2427 memcpy(cqe->smac, hwcqe->src_mac, 6); in bnxt_qplib_cq_process_res_ud()
2428 wr_id_idx = le32_to_cpu(hwcqe->src_qp_high_srq_or_rq_wr_id) in bnxt_qplib_cq_process_res_ud()
2430 cqe->src_qp = le16_to_cpu(hwcqe->src_qp_low) | in bnxt_qplib_cq_process_res_ud()
2432 hwcqe->src_qp_high_srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_ud()
2470 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_ud()
2497 struct cq_res_raweth_qp1 *hwcqe, in bnxt_qplib_cq_process_res_raweth_qp1() argument
2509 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_raweth_qp1()
2521 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_raweth_qp1()
2522 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_raweth_qp1()
2526 le32_to_cpu(hwcqe->raweth_qp1_payload_offset_srq_or_rq_wr_id) in bnxt_qplib_cq_process_res_raweth_qp1()
2533 cqe->length = le16_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_raweth_qp1()
2538 cqe->raweth_qp1_flags = le16_to_cpu(hwcqe->raweth_qp1_flags); in bnxt_qplib_cq_process_res_raweth_qp1()
2539 cqe->raweth_qp1_flags2 = le32_to_cpu(hwcqe->raweth_qp1_flags2); in bnxt_qplib_cq_process_res_raweth_qp1()
2540 cqe->raweth_qp1_metadata = le32_to_cpu(hwcqe->raweth_qp1_metadata); in bnxt_qplib_cq_process_res_raweth_qp1()
2578 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_raweth_qp1()
2590 struct cq_terminal *hwcqe, in bnxt_qplib_cq_process_terminal() argument
2601 if (hwcqe->status != CQ_TERMINAL_STATUS_OK) in bnxt_qplib_cq_process_terminal()
2604 hwcqe->status); in bnxt_qplib_cq_process_terminal()
2607 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_terminal()
2620 cqe_cons = le16_to_cpu(hwcqe->sq_cons_idx); in bnxt_qplib_cq_process_terminal()
2671 cqe_cons = le16_to_cpu(hwcqe->rq_cons_idx); in bnxt_qplib_cq_process_terminal()
2702 struct cq_cutoff *hwcqe) in bnxt_qplib_cq_process_cutoff() argument
2705 if (hwcqe->status != CQ_CUTOFF_STATUS_OK) { in bnxt_qplib_cq_process_cutoff()
2708 hwcqe->status); in bnxt_qplib_cq_process_cutoff()