Home
last modified time | relevance | path

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

12345

/linux/drivers/ntb/
A Dntb_transport.c614 unsigned int qp_num) in ntb_transport_setup_qp_mw() argument
745 qp_num); in ntb_transport_setup_qp_msi()
1157 unsigned int qp_num) in ntb_transport_init_queue() argument
1171 qp = &nt->qp_vec[qp_num]; in ntb_transport_init_queue()
1172 qp->qp_num = qp_num; in ntb_transport_init_queue()
1692 __func__, qp->qp_num); in ntb_transport_rxc_db()
1950 qp->qp_num); in ntb_send_link_down()
2381 return qp->qp_num; in ntb_transport_qp_num()
2430 unsigned int qp_num; in ntb_transport_doorbell_callback() local
2441 qp_num = __ffs(db_bits); in ntb_transport_doorbell_callback()
[all …]
/linux/include/trace/events/
A 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,
/linux/drivers/infiniband/hw/qib/
A 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()
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()
509 if (qp->ibqp.qp_num > 1 && in qib_ud_rcv()
[all …]
A Dqib_driver.c311 u32 qp_num; in qib_rcv_hdrerr() local
347 qp_num = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; in qib_rcv_hdrerr()
348 if (qp_num != QIB_MULTICAST_QPN) { in qib_rcv_hdrerr()
352 qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in qib_rcv_hdrerr()
/linux/drivers/infiniband/core/
A 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
A Dcounters.c444 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()
A Drestrack.c241 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/drivers/infiniband/sw/rxe/
A Drxe_qp.c175 qp->ibqp.qp_num = 0; in rxe_qp_init_misc()
181 qp->ibqp.qp_num = 1; in rxe_qp_init_misc()
187 qp->ibqp.qp_num = qpn; in rxe_qp_init_misc()
221 (hash_32_generic(qp_num(qp), 14) & 0x3fff); in rxe_qp_init_req()
698 pr_debug("qp#%d state -> RESET\n", qp_num(qp)); in rxe_qp_from_attr()
703 pr_debug("qp#%d state -> INIT\n", qp_num(qp)); in rxe_qp_from_attr()
709 pr_debug("qp#%d state -> RTR\n", qp_num(qp)); in rxe_qp_from_attr()
714 pr_debug("qp#%d state -> RTS\n", qp_num(qp)); in rxe_qp_from_attr()
719 pr_debug("qp#%d state -> SQD\n", qp_num(qp)); in rxe_qp_from_attr()
724 pr_warn("qp#%d state -> SQE !!?\n", qp_num(qp)); in rxe_qp_from_attr()
[all …]
A Drxe_req.c106 pr_debug("qp#%d rnr nak timer fired\n", qp_num(qp)); in rnr_nak_timer()
376 u32 qp_num; in init_req_packet() local
409 qp_num = (pkt->mask & RXE_DETH_MASK) ? ibwr->wr.ud.remote_qpn : in init_req_packet()
417 bth_init(pkt, pkt->opcode, solicited, 0, pad, pkey, qp_num, in init_req_packet()
446 if (qp->ibqp.qp_num == 1) in init_req_packet()
450 deth_set_sqp(pkt, qp->ibqp.qp_num); in init_req_packet()
716 pr_err("qp#%d Failed allocating skb\n", qp_num(qp)); in rxe_requester()
723 pr_debug("qp#%d Error during finish packet\n", qp_num(qp)); in rxe_requester()
/linux/include/rdma/
A Drdma_counter.h57 u32 qp_num, u32 counter_id);
59 u32 qp_num, u32 *counter_id);
61 u32 qp_num, u32 counter_id);
A Dib_cm.h360 u32 qp_num; member
388 u32 qp_num; member
546 u32 qp_num; member
A Drdma_cm.h68 u32 qp_num; member
76 u32 qp_num; member
/linux/drivers/infiniband/hw/mthca/
A 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()
/linux/drivers/infiniband/hw/hfi1/
A Dud.c69 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()
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()
920 if (qp->ibqp.qp_num > 1 && in hfi1_ud_rcv()
[all …]
A Dtrace_tid.h208 __entry->qpn = qp->ibqp.qp_num;
266 __entry->qpn = qp->ibqp.qp_num;
318 __entry->qpn = qp->ibqp.qp_num;
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;
890 __entry->qpn = qp->ibqp.qp_num;
[all …]
A Dtrace_rc.h33 __entry->qpn = qp->ibqp.qp_num;
93 __entry->qpn = qp->ibqp.qp_num;
/linux/drivers/dma/
A Dhisi_dma.c97 u32 qp_num; member
186 u32 index = chan->qp_num, tmp; in hisi_dma_reset_hw_chan()
291 hisi_dma_chan_write(hdma_dev->base, HISI_DMA_SQ_TAIL_PTR, chan->qp_num, in hisi_dma_start_transfer()
316 hisi_dma_pause_dma(chan->hdma_dev, chan->qp_num, true); in hisi_dma_terminate_all()
327 hisi_dma_pause_dma(chan->hdma_dev, chan->qp_num, false); in hisi_dma_terminate_all()
405 hdma_dev->chan[i].qp_num = i; in hisi_dma_enable_qps()
439 HISI_DMA_CQ_HEAD_PTR, chan->qp_num, in hisi_dma_irq()
/linux/drivers/crypto/hisilicon/
A Dqm.c1690 unsigned int qp_num = qm->qp_num; in q_dump_param_parse() local
1701 if (ret || *q_id >= qp_num) { in q_dump_param_parse()
2506 qm->qp_num); in qm_create_qp_nolock()
2514 qm->qp_num); in qm_create_qp_nolock()
3186 qm->qp_in_used = qm->qp_num; in qm_frozen()
3608 if (!qm->qp_num) { in hisi_qm_start()
3875 if (!qps || qp_num <= 0) in hisi_qm_free_qps()
3968 if (i == qp_num) { in hisi_qm_alloc_qps_node()
3977 node, alg_type, qp_num); in hisi_qm_alloc_qps_node()
3989 u32 q_base = qm->qp_num; in qm_vf_q_assign()
[all …]
A Dqm.h225 u32 qp_num; member
427 int hisi_qm_alloc_qps_node(struct hisi_qm_list *qm_list, int qp_num,
429 void hisi_qm_free_qps(struct hisi_qp **qps, int qp_num);
/linux/drivers/infiniband/sw/rdmavt/
A Dtrace_qp.h27 __entry->qpn = qp->ibqp.qp_num;
59 __entry->qpn = qp->ibqp.qp_num;
A Dtrace_tx.h75 __entry->qpn = qp->ibqp.qp_num;
134 __entry->qpn = qp->ibqp.qp_num;
/linux/drivers/crypto/hisilicon/sec2/
A Dsec_main.c277 void sec_destroy_qps(struct hisi_qp **qps, int qp_num) in sec_destroy_qps() argument
279 hisi_qm_free_qps(qps, qp_num); in sec_destroy_qps()
884 qm->qp_num = pf_q_num; in sec_qm_init()
895 qm->qp_num = SEC_QUEUE_NUM_V1 - SEC_PF_DEF_Q_NUM; in sec_qm_init()
1004 if (qm->qp_num >= ctx_q_num) { in sec_probe()
1034 if (qm->qp_num >= ctx_q_num) in sec_probe()
1052 if (qm->qp_num >= ctx_q_num) in sec_remove()
/linux/drivers/infiniband/ulp/ipoib/
A 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()
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/drivers/infiniband/ulp/srpt/
A Dib_srpt.c230 ch->sess_name, ch->qp->qp_num, in srpt_qp_event()
866 ch->qp->qp_num); in srpt_zerolength_write()
885 ch->sess_name, ch->qp->qp_num); in srpt_zerolength_write_done()
1991 ch->sess_name, ch->qp->qp_num, in __srpt_close_all_ch()
2423 rep_param->ib_cm.qp_num = ch->qp->qp_num; in srpt_cm_req_recv()
2605 ch->qp->qp_num); in srpt_cm_rtu_recv()
2664 ch->sess_name, ch->qp->qp_num); in srpt_cm_handler()
2669 ch->sess_name, ch->qp->qp_num); in srpt_cm_handler()
2674 ch->qp->qp_num); in srpt_cm_handler()
2719 ch->qp->qp_num); in srpt_rdma_cm_handler()
[all …]
/linux/include/uapi/rdma/
A Drdma_user_cm.h191 __u32 qp_num; member
205 __u32 qp_num; member

Completed in 73 milliseconds

12345