/drivers/ntb/ |
D | ntb_transport.c | 142 u8 qp_num; /* Only 64 QP's are allowed. 0-63 */ member 616 unsigned int qp_num) in ntb_transport_setup_qp_mw() argument 618 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_mw() 630 mw_num = QP_TO_MW(nt, qp_num); in ntb_transport_setup_qp_mw() 642 qp->rx_buff = mw->virt_addr + rx_size * (qp_num / mw_count); in ntb_transport_setup_qp_mw() 695 unsigned int qp_num) in ntb_transport_setup_qp_peer_msi() argument 697 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_peer_msi() 698 int spad = qp_num * 2 + nt->msi_spad_offset; in ntb_transport_setup_qp_peer_msi() 712 qp_num, qp->peer_msi_desc.addr_offset, qp->peer_msi_desc.data); in ntb_transport_setup_qp_peer_msi() 717 "Using MSI interrupts for QP%d\n", qp_num); in ntb_transport_setup_qp_peer_msi() [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 87 if (qp->ibqp.qp_num > 1) { in qib_ud_loopback() 99 sqp->ibqp.qp_num, qp->ibqp.qp_num, in qib_ud_loopback() 111 if (qp->ibqp.qp_num) { in qib_ud_loopback() 149 if (qp->ibqp.qp_num == 0) in qib_ud_loopback() 205 wc.src_qp = sqp->ibqp.qp_num; in qib_ud_loopback() 384 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in qib_make_ud_req() 463 if (qp->ibqp.qp_num) { in qib_ud_rcv() 467 if (qp->ibqp.qp_num > 1) { in qib_ud_rcv() 477 src_qp, qp->ibqp.qp_num, in qib_ud_rcv() 486 if (unlikely(qp->ibqp.qp_num == 1 && in qib_ud_rcv() [all …]
|
D | qib_driver.c | 310 u32 qp_num; in qib_rcv_hdrerr() local 346 qp_num = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; in qib_rcv_hdrerr() 347 if (qp_num != QIB_MULTICAST_QPN) { in qib_rcv_hdrerr() 351 qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in qib_rcv_hdrerr()
|
/drivers/infiniband/core/ |
D | cma_trace.h | 106 __field(u32, qp_num) 114 __entry->qp_num = id_priv->qp_num; 123 __entry->qp_num 185 __field(u32, qp_num) 202 __entry->qp_num = id_priv->qp_num; 205 __entry->qp_num = 0; 219 __entry->recv_wr, __entry->qp_num, __entry->rc
|
D | counters.c | 402 static struct ib_qp *rdma_counter_get_qp(struct ib_device *dev, u32 qp_num) in rdma_counter_get_qp() argument 407 res = rdma_restrack_get_byid(dev, RDMA_RESTRACK_QP, qp_num); in rdma_counter_get_qp() 452 u32 qp_num, u32 counter_id) in rdma_counter_bind_qpn() argument 463 qp = rdma_counter_get_qp(dev, qp_num); in rdma_counter_bind_qpn() 497 u32 qp_num, u32 *counter_id) in rdma_counter_bind_qpn_alloc() argument 514 qp = rdma_counter_get_qp(dev, qp_num); in rdma_counter_bind_qpn_alloc() 552 u32 qp_num, u32 counter_id) in rdma_counter_unbind_qpn() argument 561 qp = rdma_counter_get_qp(dev, qp_num); in rdma_counter_unbind_qpn()
|
D | restrack.c | 235 ret = xa_insert(&rt->xa, qp->qp_num, res, GFP_KERNEL); in rdma_restrack_add() 236 res->id = ret ? 0 : qp->qp_num; in rdma_restrack_add()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 164 qp->ibqp.qp_num = 0; in rxe_qp_init_misc() 170 qp->ibqp.qp_num = 1; in rxe_qp_init_misc() 176 qp->ibqp.qp_num = qpn; in rxe_qp_init_misc() 222 (hash_32_generic(qp_num(qp), 14) & 0x3fff); in rxe_qp_init_req() 279 qp_num(qp), qp->rq.max_wr, qp->rq.max_sge, wqe_size); in rxe_qp_init_resp() 640 pr_debug("qp#%d set retry count = %d\n", qp_num(qp), in rxe_qp_from_attr() 647 pr_debug("qp#%d set rnr retry count = %d\n", qp_num(qp), in rxe_qp_from_attr() 654 pr_debug("qp#%d set resp psn = 0x%x\n", qp_num(qp), in rxe_qp_from_attr() 660 pr_debug("qp#%d set min rnr timer = 0x%x\n", qp_num(qp), in rxe_qp_from_attr() 668 pr_debug("qp#%d set req psn = 0x%x\n", qp_num(qp), qp->req.psn); in rxe_qp_from_attr() [all …]
|
D | rxe_req.c | 101 pr_debug("qp#%d rnr nak timer fired\n", qp_num(qp)); in rnr_nak_timer() 364 u32 qp_num; in init_req_packet() local 396 qp_num = (pkt->mask & RXE_DETH_MASK) ? ibwr->wr.ud.remote_qpn : in init_req_packet() 404 bth_init(pkt, pkt->opcode, solicited, 0, pad, pkey, qp_num, in init_req_packet() 433 if (qp->ibqp.qp_num == 1) in init_req_packet() 437 deth_set_sqp(pkt, qp->ibqp.qp_num); in init_req_packet() 690 pr_err("qp#%d Failed allocating skb\n", qp_num(qp)); in rxe_requester() 695 pr_debug("qp#%d Error during fill packet\n", qp_num(qp)); in rxe_requester()
|
D | rxe_comp.c | 401 uwc->qp_num = qp->ibqp.qp_num; in make_send_cqe() 561 pr_debug("qp#%d state = %s\n", qp_num(qp), in rxe_completer() 725 qp_num(qp)); in rxe_completer()
|
D | rxe_resp.c | 826 uwc->qp_num = qp->ibqp.qp_num; in do_complete() 860 uwc->qp_num = qp->ibqp.qp_num; in do_complete() 1219 pr_debug("qp#%d state = %s\n", qp_num(qp), in rxe_responder() 1367 pr_warn("qp#%d moved to error state\n", qp_num(qp)); in rxe_responder()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mcg.c | 165 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) { in mthca_multicast_attach() 167 ibqp->qp_num); in mthca_multicast_attach() 171 mgm->qp[i] = cpu_to_be32(ibqp->qp_num | (1 << 31)); in mthca_multicast_attach() 242 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) in mthca_multicast_detach() 249 mthca_err(dev, "QP %06x not found in MGM\n", ibqp->qp_num); in mthca_multicast_detach()
|
/drivers/infiniband/hw/hfi1/ |
D | ud.c | 111 if (qp->ibqp.qp_num > 1) { in ud_loopback() 124 sqp->ibqp.qp_num, qp->ibqp.qp_num, in ud_loopback() 135 if (qp->ibqp.qp_num) { in ud_loopback() 173 if (qp->ibqp.qp_num == 0) in ud_loopback() 239 wc.src_qp = sqp->ibqp.qp_num; in ud_loopback() 300 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_bth_deth() 384 u32 src_qp = qp->ibqp.qp_num; in hfi1_make_ud_req_16B() 916 if (qp->ibqp.qp_num) { in hfi1_ud_rcv() 919 if (qp->ibqp.qp_num > 1) { in hfi1_ud_rcv() 929 src_qp, qp->ibqp.qp_num, in hfi1_ud_rcv() [all …]
|
D | trace_tid.h | 208 __entry->qpn = qp->ibqp.qp_num; 266 __entry->qpn = qp->ibqp.qp_num; 318 __entry->qpn = qp->ibqp.qp_num; 360 __entry->qpn = qp ? qp->ibqp.qp_num : 0; 430 __entry->qpn = qp->ibqp.qp_num; 468 __entry->qpn = qp->ibqp.qp_num; 515 __entry->qpn = qp->ibqp.qp_num; 653 __entry->qpn = qp->ibqp.qp_num; 695 __entry->qpn = qp->ibqp.qp_num; 769 __entry->qpn = qp->ibqp.qp_num; [all …]
|
D | trace_rc.h | 74 __entry->qpn = qp->ibqp.qp_num; 134 __entry->qpn = qp->ibqp.qp_num;
|
D | verbs.c | 379 u32 qp_num; in hfi1_kdeth_eager_rcv() local 398 qp_num = be32_to_cpu(packet->ohdr->u.tid_rdma.r_req.verbs_qp) & in hfi1_kdeth_eager_rcv() 402 packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in hfi1_kdeth_eager_rcv() 433 u32 qp_num; in hfi1_kdeth_expected_rcv() local 452 qp_num = be32_to_cpu(packet->ohdr->u.tid_rdma.r_rsp.verbs_qp) & in hfi1_kdeth_expected_rcv() 456 packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in hfi1_kdeth_expected_rcv() 498 u32 qp_num; in hfi1_handle_packet() local 543 qp_num = hfi1_16B_get_dest_qpn(packet->mgmt); in hfi1_handle_packet() 545 qp_num = ib_bth_get_qpn(packet->ohdr); in hfi1_handle_packet() 548 packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in hfi1_handle_packet() [all …]
|
D | trace_iowait.h | 29 __entry->qpn = iowait_to_qp(wait)->ibqp.qp_num;
|
/drivers/crypto/hisilicon/ |
D | qm.c | 1152 if (ret || qp_id >= qm->qp_num) { in qm_sqc_dump() 1153 dev_err(dev, "Please input qp num (0-%d)", qm->qp_num - 1); in qm_sqc_dump() 1198 if (ret || qp_id >= qm->qp_num) { in qm_cqc_dump() 1199 dev_err(dev, "Please input qp num (0-%d)", qm->qp_num - 1); in qm_cqc_dump() 1266 unsigned int qp_num = qm->qp_num; in q_dump_param_parse() local 1277 if (ret || *q_id >= qp_num) { in q_dump_param_parse() 1278 dev_err(dev, "Please input qp num (0-%d)", qp_num - 1); in q_dump_param_parse() 1663 if (qm->qp_in_used == qm->qp_num) { in qm_create_qp_nolock() 1665 qm->qp_num); in qm_create_qp_nolock() 1670 qp_id = idr_alloc_cyclic(&qm->qp_idr, NULL, 0, qm->qp_num, GFP_ATOMIC); in qm_create_qp_nolock() [all …]
|
D | qm.h | 208 u32 qp_num; member 379 int hisi_qm_alloc_qps_node(struct hisi_qm_list *qm_list, int qp_num, 381 void hisi_qm_free_qps(struct hisi_qp **qps, int qp_num);
|
/drivers/dma/ |
D | hisi_dma.c | 97 u32 qp_num; member 192 u32 index = chan->qp_num, tmp; in hisi_dma_reset_or_disable_hw_chan() 299 hisi_dma_chan_write(hdma_dev->base, HISI_DMA_SQ_TAIL_PTR, chan->qp_num, in hisi_dma_start_transfer() 324 hisi_dma_pause_dma(chan->hdma_dev, chan->qp_num, true); in hisi_dma_terminate_all() 335 hisi_dma_pause_dma(chan->hdma_dev, chan->qp_num, false); in hisi_dma_terminate_all() 413 hdma_dev->chan[i].qp_num = i; in hisi_dma_enable_qps() 446 chan->qp_num, chan->cq_head); in hisi_dma_irq()
|
/drivers/crypto/hisilicon/zip/ |
D | zip_main.c | 244 int zip_create_qps(struct hisi_qp **qps, int qp_num, int node) in zip_create_qps() argument 249 return hisi_qm_alloc_qps_node(&zip_devices, qp_num, 0, node, qps); in zip_create_qps() 369 qm->debug.curr_qm_qp_num = qm->qp_num; in current_qm_write() 371 vfq_num = (qm->ctrl_qp_num - qm->qp_num) / qm->vfs_num; in current_qm_write() 374 qm->qp_num - (qm->vfs_num - 1) * vfq_num; in current_qm_write() 762 qm->qp_num = pf_q_num; in hisi_zip_qm_init() 774 qm->qp_num = HZIP_QUEUE_NUM_V1 - HZIP_PF_DEF_Q_NUM; in hisi_zip_qm_init()
|
/drivers/infiniband/sw/rdmavt/ |
D | trace_qp.h | 69 __entry->qpn = qp->ibqp.qp_num; 101 __entry->qpn = qp->ibqp.qp_num;
|
D | trace_tx.h | 117 __entry->qpn = qp->ibqp.qp_num; 176 __entry->qpn = qp->ibqp.qp_num;
|
/drivers/crypto/hisilicon/sec2/ |
D | sec_main.c | 211 void sec_destroy_qps(struct hisi_qp **qps, int qp_num) in sec_destroy_qps() argument 213 hisi_qm_free_qps(qps, qp_num); in sec_destroy_qps() 439 qm->debug.curr_qm_qp_num = qm->qp_num; in sec_current_qm_write() 441 vfq_num = (qm->ctrl_qp_num - qm->qp_num) / qm->vfs_num; in sec_current_qm_write() 445 qm->ctrl_qp_num - qm->qp_num - in sec_current_qm_write() 772 qm->qp_num = pf_q_num; in sec_qm_init() 783 qm->qp_num = SEC_QUEUE_NUM_V1 - SEC_PF_DEF_Q_NUM; in sec_qm_init()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 429 data.qpn = cpu_to_be32(priv->qp->qp_num); in ipoib_cm_send_rep() 437 rep.qp_num = qp->qp_num; in ipoib_cm_send_rep() 741 tx->tx_head, skb->len, tx->qp->qp_num); in ipoib_cm_send() 762 tx->qp->qp_num); in ipoib_cm_send() 887 ret = ib_cm_listen(priv->cm.id, cpu_to_be64(IPOIB_CM_IETF_ID | priv->qp->qp_num), in ipoib_cm_dev_open() 891 IPOIB_CM_IETF_ID | priv->qp->qp_num); in ipoib_cm_dev_open() 1091 data.qpn = cpu_to_be32(priv->qp->qp_num); in ipoib_cm_send_req() 1097 req.qp_num = qp->qp_num; in ipoib_cm_send_req() 1187 p->qp->qp_num, pathrec->dgid.raw, qpn); in ipoib_cm_tx_init() 1210 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); in ipoib_cm_tx_destroy()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 224 event->event, ch, ch->sess_name, ch->qp->qp_num, in srpt_qp_event() 236 ch->sess_name, ch->qp->qp_num, in srpt_qp_event() 872 ch->qp->qp_num); in srpt_zerolength_write() 881 pr_debug("%s-%d wc->status %d\n", ch->sess_name, ch->qp->qp_num, in srpt_zerolength_write_done() 891 ch->sess_name, ch->qp->qp_num); in srpt_zerolength_write_done() 1913 ch->sess_name, ch->qp->qp_num, ret); in srpt_close_ch() 1918 ch->sess_name, ch->qp->qp_num, ret); in srpt_close_ch() 1966 pr_debug("ch %s-%d state %d\n", ch->sess_name, ch->qp->qp_num, in srpt_disconnect_ch_sync() 1977 ch->sess_name, ch->qp->qp_num, ch->state); in srpt_disconnect_ch_sync() 1992 ch->sess_name, ch->qp->qp_num, in __srpt_close_all_ch() [all …]
|