Home
last modified time | relevance | path

Searched refs:qp_num (Results 1 – 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/include/trace/events/
Dib_mad.h33 __field(u32, qp_num)
58 __entry->qp_num = wr->mad_agent_priv->qp_info->qp->qp_num;
93 __entry->dev_index, __entry->port_num, __entry->qp_num,
130 __field(u32, qp_num)
147 __entry->qp_num = wr->mad_agent_priv->qp_info->qp->qp_num;
172 __entry->dev_index, __entry->port_num, __entry->qp_num,
194 __field(u32, qp_num)
213 __entry->qp_num = qp_info->qp->qp_num;
238 __entry->dev_index, __entry->port_num, __entry->qp_num,
/kernel/linux/linux-5.10/drivers/ntb/
Dntb_transport.c142 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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_ud.c87 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 …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma_trace.h106 __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
Dcounters.c402 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()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c164 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()
211 (hash_32_generic(qp_num(qp), 14) & 0x3fff); in rxe_qp_init_req()
273 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 …]
Drxe_req.c101 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()
/kernel/linux/linux-5.10/include/rdma/
Drdma_counter.h56 u32 qp_num, u32 counter_id);
58 u32 qp_num, u32 *counter_id);
60 u32 qp_num, u32 counter_id);
Dib_cm.h360 u32 qp_num; member
388 u32 qp_num; member
546 u32 qp_num; member
Drdma_cm.h68 u32 qp_num; member
76 u32 qp_num; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_mcg.c165 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dud.c111 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 …]
Dtrace_tid.h208 __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 …]
Dtrace_rc.h74 __entry->qpn = qp->ibqp.qp_num;
134 __entry->qpn = qp->ibqp.qp_num;
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dqm.c1152 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 …]
Dqm.h208 u32 qp_num; member
377 int hisi_qm_alloc_qps_node(struct hisi_qm_list *qm_list, int qp_num,
379 void hisi_qm_free_qps(struct hisi_qp **qps, int qp_num);
/kernel/linux/linux-5.10/drivers/dma/
Dhisi_dma.c97 u32 qp_num; member
191 u32 index = chan->qp_num, tmp; in hisi_dma_reset_hw_chan()
296 hisi_dma_chan_write(hdma_dev->base, HISI_DMA_SQ_TAIL_PTR, chan->qp_num, in hisi_dma_start_transfer()
321 hisi_dma_pause_dma(chan->hdma_dev, chan->qp_num, true); in hisi_dma_terminate_all()
332 hisi_dma_pause_dma(chan->hdma_dev, chan->qp_num, false); in hisi_dma_terminate_all()
410 hdma_dev->chan[i].qp_num = i; in hisi_dma_enable_qps()
445 HISI_DMA_CQ_HEAD_PTR, chan->qp_num, in hisi_dma_irq()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dtrace_qp.h69 __entry->qpn = qp->ibqp.qp_num;
101 __entry->qpn = qp->ibqp.qp_num;
Dtrace_tx.h117 __entry->qpn = qp->ibqp.qp_num;
176 __entry->qpn = qp->ibqp.qp_num;
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/zip/
Dzip_main.c244 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()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
Dsec_main.c211 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()
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_cm.h191 __u32 qp_num; member
205 __u32 qp_num; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Drdma_user_cm.h151 __u32 qp_num; member
164 __u32 qp_num; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Drdma_user_cm.h134 __u32 qp_num; member
147 __u32 qp_num; member
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c429 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()

12345