• Home
  • Raw
  • Download

Lines Matching refs:qpn

431 				       RQ_DOORBELL_U32_8_QPN_S, hr_qp->qpn);  in hns_roce_v1_post_recv()
821 attr.dest_qp_num = hr_qp->qpn; in hns_roce_v1_rsv_lp_qp()
1066 hr_qp->qpn, ret); in hns_roce_v1_mr_free_work_fn()
1081 hr_qp->qpn, ret, hr_mr->key, ne); in hns_roce_v1_mr_free_work_fn()
2017 static void __hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v1_cq_clean() argument
2039 HNS_ROCE_CQE_QPN_MASK) == qpn) { in __hns_roce_v1_cq_clean()
2065 static void hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v1_cq_clean() argument
2069 __hns_roce_v1_cq_clean(hr_cq, qpn, srq); in hns_roce_v1_cq_clean()
2191 int qpn; in hns_roce_v1_poll_one() local
2217 qpn = roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_PORT_NUM_M, in hns_roce_v1_poll_one()
2223 qpn = roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
2227 if (!*cur_qp || (qpn & HNS_ROCE_CQE_QPN_MASK) != (*cur_qp)->qpn) { in hns_roce_v1_poll_one()
2228 hr_qp = __hns_roce_qp_lookup(hr_dev, qpn); in hns_roce_v1_poll_one()
2231 hr_cq->cqn, (qpn & HNS_ROCE_CQE_QPN_MASK)); in hns_roce_v1_poll_one()
2548 return hns_roce_cmd_mbox(hr_dev, 0, 0, hr_qp->qpn, 2, in hns_roce_v1_qp_modify()
2553 return hns_roce_cmd_mbox(hr_dev, 0, 0, hr_qp->qpn, 2, in hns_roce_v1_qp_modify()
2563 ret = hns_roce_cmd_mbox(hr_dev, mailbox->dma, 0, hr_qp->qpn, 0, in hns_roce_v1_qp_modify()
2695 hns_roce_v1_cq_clean(to_hr_cq(ibqp->recv_cq), hr_qp->qpn, in hns_roce_v1_m_sqp()
2699 hr_qp->qpn, NULL); in hns_roce_v1_m_sqp()
2751 hr_qp->qpn, &dma_handle_2); in hns_roce_v1_m_qp()
2819 QP_CONTEXT_QPC_BYTES_16_QP_NUM_S, hr_qp->qpn); in hns_roce_v1_m_qp()
2890 QP_CONTEXT_QPC_BYTES_16_QP_NUM_S, hr_qp->qpn); in hns_roce_v1_m_qp()
3285 RQ_DOORBELL_U32_8_QPN_S, hr_qp->qpn); in hns_roce_v1_m_qp()
3309 hns_roce_v1_cq_clean(to_hr_cq(ibqp->recv_cq), hr_qp->qpn, in hns_roce_v1_m_qp()
3313 hr_qp->qpn, NULL); in hns_roce_v1_m_qp()
3371 ret = hns_roce_cmd_mbox(hr_dev, 0, mailbox->dma, hr_qp->qpn, 0, in hns_roce_v1_query_qpc()
3623 __hns_roce_v1_cq_clean(recv_cq, hr_qp->qpn, hr_qp->ibqp.srq ? in hns_roce_v1_destroy_qp()
3626 __hns_roce_v1_cq_clean(send_cq, hr_qp->qpn, NULL); in hns_roce_v1_destroy_qp()
3635 hns_roce_release_range_qp(hr_dev, hr_qp->qpn, 1); in hns_roce_v1_destroy_qp()
3706 struct hns_roce_aeqe *aeqe, int qpn) in hns_roce_v1_wq_catas_err_handle() argument
3714 dev_warn(dev, "QP %d, QPC error.\n", qpn); in hns_roce_v1_wq_catas_err_handle()
3717 dev_warn(dev, "QP %d, MTU error.\n", qpn); in hns_roce_v1_wq_catas_err_handle()
3720 dev_warn(dev, "QP %d, WQE BA addr error.\n", qpn); in hns_roce_v1_wq_catas_err_handle()
3723 dev_warn(dev, "QP %d, WQE addr error.\n", qpn); in hns_roce_v1_wq_catas_err_handle()
3726 dev_warn(dev, "QP %d, WQE shift error\n", qpn); in hns_roce_v1_wq_catas_err_handle()
3729 dev_warn(dev, "QP %d, SL error.\n", qpn); in hns_roce_v1_wq_catas_err_handle()
3732 dev_warn(dev, "QP %d, port error.\n", qpn); in hns_roce_v1_wq_catas_err_handle()
3741 int qpn) in hns_roce_v1_local_wq_access_err_handle() argument
3749 dev_warn(dev, "QP %d, R_key violation.\n", qpn); in hns_roce_v1_local_wq_access_err_handle()
3752 dev_warn(dev, "QP %d, length error.\n", qpn); in hns_roce_v1_local_wq_access_err_handle()
3755 dev_warn(dev, "QP %d, VA error.\n", qpn); in hns_roce_v1_local_wq_access_err_handle()
3758 dev_err(dev, "QP %d, PD error.\n", qpn); in hns_roce_v1_local_wq_access_err_handle()
3761 dev_warn(dev, "QP %d, rw acc error.\n", qpn); in hns_roce_v1_local_wq_access_err_handle()
3764 dev_warn(dev, "QP %d, key state error.\n", qpn); in hns_roce_v1_local_wq_access_err_handle()
3767 dev_warn(dev, "QP %d, MR operation error.\n", qpn); in hns_roce_v1_local_wq_access_err_handle()
3780 int qpn; in hns_roce_v1_qp_err_handle() local
3782 qpn = roce_get_field(aeqe->event.qp_event.qp, in hns_roce_v1_qp_err_handle()
3788 if (qpn <= 1) in hns_roce_v1_qp_err_handle()
3789 qpn = HNS_ROCE_MAX_PORTS * qpn + phy_port; in hns_roce_v1_qp_err_handle()
3794 "QP %d, phy_port %d.\n", qpn, phy_port); in hns_roce_v1_qp_err_handle()
3797 hns_roce_v1_wq_catas_err_handle(hr_dev, aeqe, qpn); in hns_roce_v1_qp_err_handle()
3800 hns_roce_v1_local_wq_access_err_handle(hr_dev, aeqe, qpn); in hns_roce_v1_qp_err_handle()
3806 hns_roce_qp_event(hr_dev, qpn, event_type); in hns_roce_v1_qp_err_handle()