Lines Matching refs:hwcqe
2863 struct cq_req *hwcqe, in bnxt_qplib_cq_process_req() argument
2874 qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); in bnxt_qplib_cq_process_req()
2883 cqe_sq_cons = le16_to_cpu(hwcqe->sq_cons_idx) % sq->max_wqe; in bnxt_qplib_cq_process_req()
2917 hwcqe->status != CQ_REQ_STATUS_OK) { in bnxt_qplib_cq_process_req()
2918 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_req()
2984 struct cq_res_rc *hwcqe, in bnxt_qplib_cq_process_res_rc() argument
2995 qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); in bnxt_qplib_cq_process_res_rc()
3007 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_rc()
3008 cqe->length = le32_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_rc()
3009 cqe->invrkey = le32_to_cpu(hwcqe->imm_data_or_inv_r_key); in bnxt_qplib_cq_process_res_rc()
3010 cqe->mr_handle = le64_to_cpu(hwcqe->mr_handle); in bnxt_qplib_cq_process_res_rc()
3011 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_rc()
3012 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_res_rc()
3015 wr_id_idx = le32_to_cpu(hwcqe->srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_rc()
3064 if (hwcqe->status != CQ_RES_RC_STATUS_OK) in bnxt_qplib_cq_process_res_rc()
3072 struct cq_res_ud_v2 *hwcqe, in bnxt_qplib_cq_process_res_ud() argument
3084 qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); in bnxt_qplib_cq_process_res_ud()
3095 cqe->opcode = hwcqe->cqe_type_toggle & CQ_RES_UD_V2_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_ud()
3096 cqe->length = le32_to_cpu((hwcqe->length & CQ_RES_UD_V2_LENGTH_MASK)); in bnxt_qplib_cq_process_res_ud()
3097 cqe->cfa_meta = le16_to_cpu(hwcqe->cfa_metadata0); in bnxt_qplib_cq_process_res_ud()
3099 cqe->cfa_meta |= (((le32_to_cpu(hwcqe->src_qp_high_srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_ud()
3103 cqe->invrkey = le32_to_cpu(hwcqe->imm_data); in bnxt_qplib_cq_process_res_ud()
3104 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_ud()
3105 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_res_ud()
3108 smac[2] = ntohs(le16_to_cpu(hwcqe->src_mac[0])); in bnxt_qplib_cq_process_res_ud()
3109 smac[1] = ntohs(le16_to_cpu(hwcqe->src_mac[1])); in bnxt_qplib_cq_process_res_ud()
3110 smac[0] = ntohs(le16_to_cpu(hwcqe->src_mac[2])); in bnxt_qplib_cq_process_res_ud()
3111 wr_id_idx = le32_to_cpu(hwcqe->src_qp_high_srq_or_rq_wr_id) in bnxt_qplib_cq_process_res_ud()
3113 cqe->src_qp = le16_to_cpu(hwcqe->src_qp_low) | in bnxt_qplib_cq_process_res_ud()
3115 hwcqe->src_qp_high_srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_ud()
3166 if (hwcqe->status != CQ_RES_UD_V2_STATUS_OK) in bnxt_qplib_cq_process_res_ud()
3190 struct cq_res_raweth_qp1 *hwcqe, in bnxt_qplib_cq_process_res_raweth_qp1() argument
3201 qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); in bnxt_qplib_cq_process_res_raweth_qp1()
3213 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_raweth_qp1()
3214 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_raweth_qp1()
3217 wr_id_idx = le32_to_cpu(hwcqe->raweth_qp1_payload_offset_srq_or_rq_wr_id) in bnxt_qplib_cq_process_res_raweth_qp1()
3224 cqe->length = le16_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_raweth_qp1()
3229 cqe->raweth_qp1_flags = le16_to_cpu(hwcqe->raweth_qp1_flags); in bnxt_qplib_cq_process_res_raweth_qp1()
3230 cqe->raweth_qp1_flags2 = le32_to_cpu(hwcqe->raweth_qp1_flags2); in bnxt_qplib_cq_process_res_raweth_qp1()
3231 cqe->raweth_qp1_metadata = le32_to_cpu(hwcqe->raweth_qp1_metadata); in bnxt_qplib_cq_process_res_raweth_qp1()
3257 wr_id_idx, cqe->wr_id, hwcqe->status); in bnxt_qplib_cq_process_res_raweth_qp1()
3279 wr_id_idx, cqe->wr_id, hwcqe->status); in bnxt_qplib_cq_process_res_raweth_qp1()
3288 if (hwcqe->status != CQ_RES_RC_STATUS_OK) in bnxt_qplib_cq_process_res_raweth_qp1()
3296 struct cq_terminal *hwcqe, in bnxt_qplib_cq_process_terminal() argument
3308 if (hwcqe->status != CQ_TERMINAL_STATUS_OK) in bnxt_qplib_cq_process_terminal()
3311 hwcqe->status); in bnxt_qplib_cq_process_terminal()
3313 qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); in bnxt_qplib_cq_process_terminal()
3328 cqe_cons = le16_to_cpu(hwcqe->sq_cons_idx); in bnxt_qplib_cq_process_terminal()
3379 cqe_cons = le16_to_cpu(hwcqe->rq_cons_idx); in bnxt_qplib_cq_process_terminal()
3403 struct cq_cutoff *hwcqe) in bnxt_qplib_cq_process_cutoff() argument
3406 if (hwcqe->status != CQ_CUTOFF_STATUS_OK) { in bnxt_qplib_cq_process_cutoff()
3409 hwcqe->status); in bnxt_qplib_cq_process_cutoff()