/Linux-v6.6/drivers/ntb/ |
D | ntb_transport.c | 142 u8 qp_num; /* Only 64 QP's are allowed. 0-63 */ member 614 unsigned int qp_num) in ntb_transport_setup_qp_mw() argument 616 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_mw() 628 mw_num = QP_TO_MW(nt, qp_num); in ntb_transport_setup_qp_mw() 640 qp->rx_buff = mw->virt_addr + rx_size * (qp_num / mw_count); in ntb_transport_setup_qp_mw() 693 unsigned int qp_num) in ntb_transport_setup_qp_peer_msi() argument 695 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_peer_msi() 696 int spad = qp_num * 2 + nt->msi_spad_offset; in ntb_transport_setup_qp_peer_msi() 710 qp_num, qp->peer_msi_desc.addr_offset, qp->peer_msi_desc.data); in ntb_transport_setup_qp_peer_msi() 715 "Using MSI interrupts for QP%d\n", qp_num); in ntb_transport_setup_qp_peer_msi() [all …]
|
/Linux-v6.6/include/trace/events/ |
D | ib_mad.h | 33 __field(u32, qp_num) 57 __entry->qp_num = wr->mad_agent_priv->qp_info->qp->qp_num; 92 __entry->dev_index, __entry->port_num, __entry->qp_num, 129 __field(u32, qp_num) 146 __entry->qp_num = wr->mad_agent_priv->qp_info->qp->qp_num; 171 __entry->dev_index, __entry->port_num, __entry->qp_num, 193 __field(u32, qp_num) 211 __entry->qp_num = qp_info->qp->qp_num; 233 __entry->dev_index, __entry->port_num, __entry->qp_num,
|
/Linux-v6.6/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() 385 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in qib_make_ud_req() 464 if (qp->ibqp.qp_num) { in qib_ud_rcv() 468 if (qp->ibqp.qp_num > 1) { in qib_ud_rcv() 478 src_qp, qp->ibqp.qp_num, in qib_ud_rcv() 487 if (unlikely(qp->ibqp.qp_num == 1 && in qib_ud_rcv() [all …]
|
/Linux-v6.6/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 | 444 static struct ib_qp *rdma_counter_get_qp(struct ib_device *dev, u32 qp_num) in rdma_counter_get_qp() argument 449 res = rdma_restrack_get_byid(dev, RDMA_RESTRACK_QP, qp_num); in rdma_counter_get_qp() 485 u32 qp_num, u32 counter_id) in rdma_counter_bind_qpn() argument 496 qp = rdma_counter_get_qp(dev, qp_num); in rdma_counter_bind_qpn() 535 u32 qp_num, u32 *counter_id) in rdma_counter_bind_qpn_alloc() argument 552 qp = rdma_counter_get_qp(dev, qp_num); in rdma_counter_bind_qpn_alloc() 582 u32 qp_num, u32 counter_id) in rdma_counter_unbind_qpn() argument 591 qp = rdma_counter_get_qp(dev, qp_num); in rdma_counter_unbind_qpn()
|
D | restrack.c | 241 WARN_ONCE(qp->qp_num >> 24 || qp->port >> 8, in rdma_restrack_add() 242 "QP number 0x%0X and port 0x%0X", qp->qp_num, in rdma_restrack_add() 244 res->id = qp->qp_num; in rdma_restrack_add()
|
/Linux-v6.6/include/rdma/ |
D | rdma_counter.h | 57 u32 qp_num, u32 counter_id); 59 u32 qp_num, u32 *counter_id); 61 u32 qp_num, u32 counter_id);
|
D | ib_cm.h | 356 u32 qp_num; member 384 u32 qp_num; member 542 u32 qp_num; member
|
D | rdma_cm.h | 78 u32 qp_num; member 86 u32 qp_num; member
|
/Linux-v6.6/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()
|
/Linux-v6.6/drivers/infiniband/sw/rxe/ |
D | rxe_mcast.c | 306 n = atomic_inc_return(&mcg->qp_num); in __rxe_init_mca() 308 atomic_dec(&mcg->qp_num); in __rxe_init_mca() 381 atomic_dec(&mcg->qp_num); in __rxe_cleanup_mca() 412 if (atomic_read(&mcg->qp_num) <= 0) in rxe_detach_mcg() 448 if (atomic_read(&mcg->qp_num) == 0) in rxe_attach_mcast()
|
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | ud.c | 69 if (qp->ibqp.qp_num > 1) { in ud_loopback() 82 sqp->ibqp.qp_num, qp->ibqp.qp_num, in ud_loopback() 93 if (qp->ibqp.qp_num) { in ud_loopback() 131 if (qp->ibqp.qp_num == 0) in ud_loopback() 197 wc.src_qp = sqp->ibqp.qp_num; in ud_loopback() 258 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_bth_deth() 342 u32 src_qp = qp->ibqp.qp_num; in hfi1_make_ud_req_16B() 870 if (qp->ibqp.qp_num) { in hfi1_ud_rcv() 873 if (qp->ibqp.qp_num > 1) { in hfi1_ud_rcv() 883 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 | 33 __entry->qpn = qp->ibqp.qp_num; 93 __entry->qpn = qp->ibqp.qp_num;
|
D | trace_iowait.h | 29 __entry->qpn = iowait_to_qp(wait)->ibqp.qp_num;
|
/Linux-v6.6/drivers/crypto/hisilicon/ |
D | debugfs.c | 149 if (ret || qp_id >= qm->qp_num) { in qm_sqc_dump() 150 dev_err(dev, "Please input qp num (0-%u)", qm->qp_num - 1); in qm_sqc_dump() 190 if (ret || qp_id >= qm->qp_num) { in qm_cqc_dump() 191 dev_err(dev, "Please input qp num (0-%u)", qm->qp_num - 1); in qm_cqc_dump() 260 unsigned int qp_num = qm->qp_num; in q_dump_param_parse() local 271 if (ret || *q_id >= qp_num) { in q_dump_param_parse() 272 dev_err(dev, "Please input qp num (0-%u)", qp_num - 1); in q_dump_param_parse() 650 vfq_num = (qm->ctrl_qp_num - qm->qp_num) / num_vfs; in qm_get_vf_qp_num() 654 remain_q_num = (qm->ctrl_qp_num - qm->qp_num) % num_vfs; in qm_get_vf_qp_num() 674 qm->debug.curr_qm_qp_num = qm->qp_num; in current_qm_write()
|
D | qm.c | 1871 if (qm->qp_in_used == qm->qp_num) { in qm_create_qp_nolock() 1873 qm->qp_num); in qm_create_qp_nolock() 1878 qp_id = idr_alloc_cyclic(&qm->qp_idr, NULL, 0, qm->qp_num, GFP_ATOMIC); in qm_create_qp_nolock() 1881 qm->qp_num); in qm_create_qp_nolock() 2304 ret = qm->qp_num - qm->qp_in_used; in hisi_qm_get_available_instances() 2314 for (i = 0; i < qm->qp_num; i++) in hisi_qm_set_hw_reset() 2694 qm->qp_in_used = qm->qp_num; in qm_frozen() 2784 qm->poll_data[id].qp_finish_id = kcalloc(qm->qp_num, sizeof(u16), in hisi_qp_memory_init() 2897 hisi_qp_memory_uninit(qm, qm->qp_num); in hisi_qm_memory_uninit() 3100 ret = hisi_qm_set_vft(qm, 0, qm->qp_base, qm->qp_num); in __hisi_qm_start() [all …]
|
/Linux-v6.6/drivers/vfio/pci/hisilicon/ |
D | hisi_acc_vfio_pci.c | 81 u32 qp_num; in qm_get_vft() local 92 qp_num = (QM_SQC_VFT_NUM_MASK_V2 & in qm_get_vft() 95 return qp_num; in qm_get_vft() 282 u32 qp_num; in pf_qm_get_qp_num() local 310 qp_num = (QM_SQC_VFT_NUM_MASK_V2 & in pf_qm_get_qp_num() 313 return qp_num; in pf_qm_get_qp_num() 344 for (i = 0; i < qm->qp_num; i++) in vf_qm_fun_reset() 383 if (ret != vf_data->qp_num) { in vf_qm_check_match() 388 vf_qm->qp_num = ret; in vf_qm_check_match() 432 vf_data->qp_num = ret; in vf_qm_get_match_data() [all …]
|
/Linux-v6.6/drivers/infiniband/sw/rdmavt/ |
D | trace_qp.h | 27 __entry->qpn = qp->ibqp.qp_num; 59 __entry->qpn = qp->ibqp.qp_num;
|
D | trace_tx.h | 75 __entry->qpn = qp->ibqp.qp_num; 134 __entry->qpn = qp->ibqp.qp_num;
|
/Linux-v6.6/drivers/dma/ |
D | hisi_dma.c | 153 u32 qp_num; member 424 u32 index = chan->qp_num, tmp; in hisi_dma_reset_or_disable_hw_chan() 536 chan->qp_num, chan->sq_tail); in hisi_dma_start_transfer() 560 hisi_dma_pause_dma(chan->hdma_dev, chan->qp_num, true); in hisi_dma_terminate_all() 571 hisi_dma_pause_dma(chan->hdma_dev, chan->qp_num, false); in hisi_dma_terminate_all() 709 hdma_dev->chan[i].qp_num = i; in hisi_dma_enable_qps() 743 chan->qp_num, chan->cq_head); in hisi_dma_irq()
|
/Linux-v6.6/include/uapi/rdma/ |
D | rdma_user_cm.h | 191 __u32 qp_num; member 205 __u32 qp_num; member
|
/Linux-v6.6/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() 888 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() 1183 p->qp->qp_num, pathrec->dgid.raw, qpn); in ipoib_cm_tx_init() 1206 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); in ipoib_cm_tx_destroy()
|
/Linux-v6.6/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 218 event->event, ch, ch->sess_name, ch->qp->qp_num, in srpt_qp_event() 230 ch->sess_name, ch->qp->qp_num, in srpt_qp_event() 866 ch->qp->qp_num); in srpt_zerolength_write() 875 pr_debug("%s-%d wc->status %d\n", ch->sess_name, ch->qp->qp_num, in srpt_zerolength_write_done() 885 ch->sess_name, ch->qp->qp_num); in srpt_zerolength_write_done() 1912 ch->sess_name, ch->qp->qp_num, ret); in srpt_close_ch() 1917 ch->sess_name, ch->qp->qp_num, ret); in srpt_close_ch() 1965 pr_debug("ch %s-%d state %d\n", ch->sess_name, ch->qp->qp_num, in srpt_disconnect_ch_sync() 1976 ch->sess_name, ch->qp->qp_num, ch->state); in srpt_disconnect_ch_sync() 1991 ch->sess_name, ch->qp->qp_num, in __srpt_close_all_ch() [all …]
|
/Linux-v6.6/include/linux/ |
D | hisi_acc_qm.h | 300 u32 qp_num; member 514 int hisi_qm_alloc_qps_node(struct hisi_qm_list *qm_list, int qp_num, 516 void hisi_qm_free_qps(struct hisi_qp **qps, int qp_num);
|