Lines Matching refs:hwcqe

2581 				     struct cq_req *hwcqe,  in bnxt_qplib_cq_process_req()  argument
2594 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_req()
2602 cqe_sq_cons = le16_to_cpu(hwcqe->sq_cons_idx) % sq->max_sw_wqe; in bnxt_qplib_cq_process_req()
2609 if (__is_err_cqe_for_var_wqe(qp, hwcqe->status)) { in bnxt_qplib_cq_process_req()
2610 slot_num = le16_to_cpu(hwcqe->sq_cons_idx); in bnxt_qplib_cq_process_req()
2647 hwcqe->status != CQ_REQ_STATUS_OK) { in bnxt_qplib_cq_process_req()
2648 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_req()
2707 struct cq_res_rc *hwcqe, in bnxt_qplib_cq_process_res_rc() argument
2718 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_rc()
2730 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_rc()
2731 cqe->length = le32_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_rc()
2732 cqe->invrkey = le32_to_cpu(hwcqe->imm_data_or_inv_r_key); in bnxt_qplib_cq_process_res_rc()
2733 cqe->mr_handle = le64_to_cpu(hwcqe->mr_handle); in bnxt_qplib_cq_process_res_rc()
2734 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_rc()
2735 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_res_rc()
2738 wr_id_idx = le32_to_cpu(hwcqe->srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_rc()
2776 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_rc()
2787 struct cq_res_ud *hwcqe, in bnxt_qplib_cq_process_res_ud() argument
2798 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_ud()
2809 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_ud()
2810 cqe->length = le16_to_cpu(hwcqe->length) & CQ_RES_UD_LENGTH_MASK; in bnxt_qplib_cq_process_res_ud()
2811 cqe->cfa_meta = le16_to_cpu(hwcqe->cfa_metadata); in bnxt_qplib_cq_process_res_ud()
2812 cqe->invrkey = le32_to_cpu(hwcqe->imm_data); in bnxt_qplib_cq_process_res_ud()
2813 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_ud()
2814 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_res_ud()
2817 memcpy(cqe->smac, hwcqe->src_mac, ETH_ALEN); in bnxt_qplib_cq_process_res_ud()
2818 wr_id_idx = le32_to_cpu(hwcqe->src_qp_high_srq_or_rq_wr_id) in bnxt_qplib_cq_process_res_ud()
2820 cqe->src_qp = le16_to_cpu(hwcqe->src_qp_low) | in bnxt_qplib_cq_process_res_ud()
2822 hwcqe->src_qp_high_srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_ud()
2863 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_ud()
2885 struct cq_res_raweth_qp1 *hwcqe, in bnxt_qplib_cq_process_res_raweth_qp1() argument
2896 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_raweth_qp1()
2907 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_raweth_qp1()
2908 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_raweth_qp1()
2912 le32_to_cpu(hwcqe->raweth_qp1_payload_offset_srq_or_rq_wr_id) in bnxt_qplib_cq_process_res_raweth_qp1()
2919 cqe->length = le16_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_raweth_qp1()
2924 cqe->raweth_qp1_flags = le16_to_cpu(hwcqe->raweth_qp1_flags); in bnxt_qplib_cq_process_res_raweth_qp1()
2925 cqe->raweth_qp1_flags2 = le32_to_cpu(hwcqe->raweth_qp1_flags2); in bnxt_qplib_cq_process_res_raweth_qp1()
2926 cqe->raweth_qp1_metadata = le32_to_cpu(hwcqe->raweth_qp1_metadata); in bnxt_qplib_cq_process_res_raweth_qp1()
2967 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_raweth_qp1()
2978 struct cq_terminal *hwcqe, in bnxt_qplib_cq_process_terminal() argument
2989 if (hwcqe->status != CQ_TERMINAL_STATUS_OK) in bnxt_qplib_cq_process_terminal()
2992 hwcqe->status); in bnxt_qplib_cq_process_terminal()
2995 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_terminal()
3005 cqe_cons = le16_to_cpu(hwcqe->sq_cons_idx); in bnxt_qplib_cq_process_terminal()
3050 cqe_cons = le16_to_cpu(hwcqe->rq_cons_idx); in bnxt_qplib_cq_process_terminal()
3080 struct cq_cutoff *hwcqe) in bnxt_qplib_cq_process_cutoff() argument
3083 if (hwcqe->status != CQ_CUTOFF_STATUS_OK) { in bnxt_qplib_cq_process_cutoff()
3086 hwcqe->status); in bnxt_qplib_cq_process_cutoff()