/linux/drivers/ntb/ |
A D | ntb_transport.c | 614 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 D | ib_mad.h | 33 __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 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() 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 D | qib_driver.c | 311 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 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
|
A 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()
|
A 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/drivers/infiniband/sw/rxe/ |
A D | rxe_qp.c | 175 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 D | rxe_req.c | 106 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 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);
|
A D | ib_cm.h | 360 u32 qp_num; member 388 u32 qp_num; member 546 u32 qp_num; member
|
A D | rdma_cm.h | 68 u32 qp_num; member 76 u32 qp_num; member
|
/linux/drivers/infiniband/hw/mthca/ |
A 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/drivers/infiniband/hw/hfi1/ |
A 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() 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 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; 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 D | trace_rc.h | 33 __entry->qpn = qp->ibqp.qp_num; 93 __entry->qpn = qp->ibqp.qp_num;
|
/linux/drivers/dma/ |
A D | hisi_dma.c | 97 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 D | qm.c | 1690 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 D | qm.h | 225 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 D | trace_qp.h | 27 __entry->qpn = qp->ibqp.qp_num; 59 __entry->qpn = qp->ibqp.qp_num;
|
A D | trace_tx.h | 75 __entry->qpn = qp->ibqp.qp_num; 134 __entry->qpn = qp->ibqp.qp_num;
|
/linux/drivers/crypto/hisilicon/sec2/ |
A D | sec_main.c | 277 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 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() 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 D | ib_srpt.c | 230 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 D | rdma_user_cm.h | 191 __u32 qp_num; member 205 __u32 qp_num; member
|