Lines Matching refs:hwcqe

2470 				     struct cq_req *hwcqe,  in bnxt_qplib_cq_process_req()  argument
2482 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_req()
2490 cqe_sq_cons = le16_to_cpu(hwcqe->sq_cons_idx) % sq->max_wqe; in bnxt_qplib_cq_process_req()
2521 hwcqe->status != CQ_REQ_STATUS_OK) { in bnxt_qplib_cq_process_req()
2522 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_req()
2579 struct cq_res_rc *hwcqe, in bnxt_qplib_cq_process_res_rc() argument
2590 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_rc()
2602 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_rc()
2603 cqe->length = le32_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_rc()
2604 cqe->invrkey = le32_to_cpu(hwcqe->imm_data_or_inv_r_key); in bnxt_qplib_cq_process_res_rc()
2605 cqe->mr_handle = le64_to_cpu(hwcqe->mr_handle); in bnxt_qplib_cq_process_res_rc()
2606 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_rc()
2607 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_res_rc()
2610 wr_id_idx = le32_to_cpu(hwcqe->srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_rc()
2648 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_rc()
2659 struct cq_res_ud *hwcqe, in bnxt_qplib_cq_process_res_ud() argument
2670 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_ud()
2681 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_ud()
2682 cqe->length = le16_to_cpu(hwcqe->length) & CQ_RES_UD_LENGTH_MASK; in bnxt_qplib_cq_process_res_ud()
2683 cqe->cfa_meta = le16_to_cpu(hwcqe->cfa_metadata); in bnxt_qplib_cq_process_res_ud()
2684 cqe->invrkey = le32_to_cpu(hwcqe->imm_data); in bnxt_qplib_cq_process_res_ud()
2685 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_ud()
2686 cqe->status = hwcqe->status; in bnxt_qplib_cq_process_res_ud()
2689 memcpy(cqe->smac, hwcqe->src_mac, ETH_ALEN); in bnxt_qplib_cq_process_res_ud()
2690 wr_id_idx = le32_to_cpu(hwcqe->src_qp_high_srq_or_rq_wr_id) in bnxt_qplib_cq_process_res_ud()
2692 cqe->src_qp = le16_to_cpu(hwcqe->src_qp_low) | in bnxt_qplib_cq_process_res_ud()
2694 hwcqe->src_qp_high_srq_or_rq_wr_id) & in bnxt_qplib_cq_process_res_ud()
2735 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_ud()
2757 struct cq_res_raweth_qp1 *hwcqe, in bnxt_qplib_cq_process_res_raweth_qp1() argument
2768 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_res_raweth_qp1()
2779 cqe->opcode = hwcqe->cqe_type_toggle & CQ_BASE_CQE_TYPE_MASK; in bnxt_qplib_cq_process_res_raweth_qp1()
2780 cqe->flags = le16_to_cpu(hwcqe->flags); in bnxt_qplib_cq_process_res_raweth_qp1()
2784 le32_to_cpu(hwcqe->raweth_qp1_payload_offset_srq_or_rq_wr_id) in bnxt_qplib_cq_process_res_raweth_qp1()
2791 cqe->length = le16_to_cpu(hwcqe->length); in bnxt_qplib_cq_process_res_raweth_qp1()
2796 cqe->raweth_qp1_flags = le16_to_cpu(hwcqe->raweth_qp1_flags); in bnxt_qplib_cq_process_res_raweth_qp1()
2797 cqe->raweth_qp1_flags2 = le32_to_cpu(hwcqe->raweth_qp1_flags2); in bnxt_qplib_cq_process_res_raweth_qp1()
2798 cqe->raweth_qp1_metadata = le32_to_cpu(hwcqe->raweth_qp1_metadata); in bnxt_qplib_cq_process_res_raweth_qp1()
2839 if (hwcqe->status != CQ_RES_RC_STATUS_OK) { in bnxt_qplib_cq_process_res_raweth_qp1()
2850 struct cq_terminal *hwcqe, in bnxt_qplib_cq_process_terminal() argument
2861 if (hwcqe->status != CQ_TERMINAL_STATUS_OK) in bnxt_qplib_cq_process_terminal()
2864 hwcqe->status); in bnxt_qplib_cq_process_terminal()
2867 le64_to_cpu(hwcqe->qp_handle)); in bnxt_qplib_cq_process_terminal()
2877 cqe_cons = le16_to_cpu(hwcqe->sq_cons_idx); in bnxt_qplib_cq_process_terminal()
2922 cqe_cons = le16_to_cpu(hwcqe->rq_cons_idx); in bnxt_qplib_cq_process_terminal()
2952 struct cq_cutoff *hwcqe) in bnxt_qplib_cq_process_cutoff() argument
2955 if (hwcqe->status != CQ_CUTOFF_STATUS_OK) { in bnxt_qplib_cq_process_cutoff()
2958 hwcqe->status); in bnxt_qplib_cq_process_cutoff()