qpn 83 drivers/infiniband/core/agent.c int port_num, int qpn, size_t resp_mad_len, bool opa) qpn 101 drivers/infiniband/core/agent.c agent = port_priv->agent[qpn]; qpn 49 drivers/infiniband/core/agent.h int port_num, int qpn, size_t resp_mad_len, bool opa); qpn 3692 drivers/infiniband/core/cm.c param->qpn = be32_to_cpu(cm_sidr_rep_get_qpn(sidr_rep_msg)); qpn 108 drivers/infiniband/core/cm_msgs.h static inline void cm_req_set_local_qpn(struct cm_req_msg *req_msg, __be32 qpn) qpn 110 drivers/infiniband/core/cm_msgs.h req_msg->offset32 = cpu_to_be32((be32_to_cpu(qpn) << 8) | qpn 516 drivers/infiniband/core/cm_msgs.h static inline void cm_rep_set_local_qpn(struct cm_rep_msg *rep_msg, __be32 qpn) qpn 518 drivers/infiniband/core/cm_msgs.h rep_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) | qpn 636 drivers/infiniband/core/cm_msgs.h static inline void cm_dreq_set_remote_qpn(struct cm_dreq_msg *dreq_msg, __be32 qpn) qpn 638 drivers/infiniband/core/cm_msgs.h dreq_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) | qpn 685 drivers/infiniband/core/cm_msgs.h static inline void cm_lap_set_remote_qpn(struct cm_lap_msg *lap_msg, __be32 qpn) qpn 687 drivers/infiniband/core/cm_msgs.h lap_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) | qpn 822 drivers/infiniband/core/cm_msgs.h __be32 qpn) qpn 824 drivers/infiniband/core/cm_msgs.h sidr_rep_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) | qpn 3711 drivers/infiniband/core/cma.c event.param.ud.qp_num = rep->qpn; qpn 3899 drivers/infiniband/core/cma.c iw_param.qpn = id_priv->id.qp ? id_priv->qp_num : conn_param->qp_num; qpn 3902 drivers/infiniband/core/cma.c iw_param.qpn = id_priv->qp_num; qpn 3995 drivers/infiniband/core/cma.c iw_param.qpn = id_priv->qp_num; qpn 3997 drivers/infiniband/core/cma.c iw_param.qpn = conn_param->qp_num; qpn 661 drivers/infiniband/core/iwcm.c qp = cm_id->device->ops.iw_get_qp(cm_id->device, iw_param->qpn); qpn 720 drivers/infiniband/core/iwcm.c qp = cm_id->device->ops.iw_get_qp(cm_id->device, iw_param->qpn); qpn 243 drivers/infiniband/core/mad.c int ret2, qpn; qpn 251 drivers/infiniband/core/mad.c qpn = get_spl_qp_index(qp_type); qpn 252 drivers/infiniband/core/mad.c if (qpn == -1) { qpn 365 drivers/infiniband/core/mad.c if (!port_priv->qp_info[qpn].qp) { qpn 367 drivers/infiniband/core/mad.c __func__, qpn); qpn 388 drivers/infiniband/core/mad.c mad_agent_priv->qp_info = &port_priv->qp_info[qpn]; qpn 395 drivers/infiniband/core/mad.c mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; qpn 547 drivers/infiniband/core/mad.c int qpn; qpn 556 drivers/infiniband/core/mad.c qpn = get_spl_qp_index(qp_type); qpn 557 drivers/infiniband/core/mad.c if (qpn == -1) { qpn 574 drivers/infiniband/core/mad.c mad_snoop_priv->qp_info = &port_priv->qp_info[qpn]; qpn 579 drivers/infiniband/core/mad.c mad_snoop_priv->agent.qp = port_priv->qp_info[qpn].qp; qpn 591 drivers/infiniband/core/mad.c &port_priv->qp_info[qpn], qpn 667 drivers/infiniband/core/nldev.c static int fill_stat_counter_qp_entry(struct sk_buff *msg, u32 qpn) qpn 675 drivers/infiniband/core/nldev.c if (nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_LQPN, qpn)) qpn 1669 drivers/infiniband/core/nldev.c u32 index, port, mode, mask = 0, qpn, cntn = 0; qpn 1720 drivers/infiniband/core/nldev.c qpn = nla_get_u32(tb[RDMA_NLDEV_ATTR_RES_LQPN]); qpn 1723 drivers/infiniband/core/nldev.c ret = rdma_counter_bind_qpn(device, port, qpn, cntn); qpn 1726 drivers/infiniband/core/nldev.c qpn, &cntn); qpn 1734 drivers/infiniband/core/nldev.c nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_LQPN, qpn)) { qpn 1745 drivers/infiniband/core/nldev.c rdma_counter_unbind_qpn(device, port, qpn, cntn); qpn 1759 drivers/infiniband/core/nldev.c u32 index, port, qpn, cntn; qpn 1795 drivers/infiniband/core/nldev.c qpn = nla_get_u32(tb[RDMA_NLDEV_ATTR_RES_LQPN]); qpn 1799 drivers/infiniband/core/nldev.c nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_LQPN, qpn)) { qpn 1804 drivers/infiniband/core/nldev.c ret = rdma_counter_unbind_qpn(device, port, qpn, cntn); qpn 247 drivers/infiniband/core/user_mad.c packet->mad.hdr.qpn = cpu_to_be32(mad_recv_wc->wc->src_qp); qpn 569 drivers/infiniband/core/user_mad.c be32_to_cpu(packet->mad.hdr.qpn), qpn 688 drivers/infiniband/core/user_mad.c if (ureq.qpn != 0 && ureq.qpn != 1) { qpn 691 drivers/infiniband/core/user_mad.c ureq.qpn); qpn 726 drivers/infiniband/core/user_mad.c ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, qpn 790 drivers/infiniband/core/user_mad.c if (ureq.qpn != 0 && ureq.qpn != 1) { qpn 793 drivers/infiniband/core/user_mad.c ureq.qpn); qpn 842 drivers/infiniband/core/user_mad.c ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, qpn 1451 drivers/infiniband/core/uverbs_cmd.c resp.base.qpn = qp->qp_num; qpn 1585 drivers/infiniband/core/uverbs_cmd.c attr.qp_num = cmd.qpn; qpn 1602 drivers/infiniband/core/uverbs_cmd.c resp.qpn = qp->qp_num; qpn 1787 drivers/infiniband/hw/cxgb3/iwch_cm.c struct iwch_qp *qp = get_qhp(h, conn_param->qpn); qpn 1915 drivers/infiniband/hw/cxgb3/iwch_cm.c ep->com.qp = get_qhp(h, conn_param->qpn); qpn 1917 drivers/infiniband/hw/cxgb3/iwch_cm.c pr_debug("%s qpn 0x%x qp %p cm_id %p\n", __func__, conn_param->qpn, qpn 904 drivers/infiniband/hw/cxgb3/iwch_provider.c static struct ib_qp *iwch_get_qp(struct ib_device *dev, int qpn) qpn 906 drivers/infiniband/hw/cxgb3/iwch_provider.c pr_debug("%s ib_dev %p qpn 0x%x\n", __func__, dev, qpn); qpn 907 drivers/infiniband/hw/cxgb3/iwch_provider.c return (struct ib_qp *)get_qhp(to_iwch_dev(dev), qpn); qpn 3123 drivers/infiniband/hw/cxgb4/cm.c struct c4iw_qp *qp = get_qhp(h, conn_param->qpn); qpn 3342 drivers/infiniband/hw/cxgb4/cm.c ep->com.qp = get_qhp(dev, conn_param->qpn); qpn 3344 drivers/infiniband/hw/cxgb4/cm.c pr_warn("%s qpn 0x%x not found!\n", __func__, conn_param->qpn); qpn 3349 drivers/infiniband/hw/cxgb4/cm.c pr_debug("qpn 0x%x qp %p cm_id %p\n", conn_param->qpn, qpn 1013 drivers/infiniband/hw/cxgb4/iw_cxgb4.h struct ib_qp *c4iw_get_qp(struct ib_device *dev, int qpn); qpn 2418 drivers/infiniband/hw/cxgb4/qp.c struct ib_qp *c4iw_get_qp(struct ib_device *dev, int qpn) qpn 2420 drivers/infiniband/hw/cxgb4/qp.c pr_debug("ib_dev %p qpn 0x%x\n", dev, qpn); qpn 2421 drivers/infiniband/hw/cxgb4/qp.c return (struct ib_qp *)get_qhp(to_c4iw_dev(dev), qpn); qpn 14254 drivers/infiniband/hw/hfi1/chip.c unsigned qpns_per_vl, ctxt, i, qpn, n = 1, m; qpn 14274 drivers/infiniband/hw/hfi1/chip.c for (qpn = 0, tctxt = ctxt; qpn 14275 drivers/infiniband/hw/hfi1/chip.c krcvqs[i] && qpn < qpns_per_vl; qpn++) { qpn 14279 drivers/infiniband/hw/hfi1/chip.c idx = rmt->used + ((qpn << n) ^ i); qpn 630 drivers/infiniband/hw/hfi1/driver.c u32 etype = rhf_rcv_type(rhf), qpn, bth1; qpn 660 drivers/infiniband/hw/hfi1/driver.c qpn = bth1 & RVT_QPN_MASK; qpn 662 drivers/infiniband/hw/hfi1/driver.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, qpn); qpn 1767 drivers/infiniband/hw/hfi1/driver.c u32 etype = rhf_rcv_type(rhf), qpn; qpn 1794 drivers/infiniband/hw/hfi1/driver.c qpn = be32_to_cpu(packet.ohdr->bth[1]) & RVT_QPN_MASK; qpn 1798 drivers/infiniband/hw/hfi1/driver.c mdata.ps_head, opcode, qpn, psn); qpn 320 drivers/infiniband/hw/hfi1/mad.c u32 qpn = ppd_from_ibp(ibp)->sm_trap_qp; qpn 346 drivers/infiniband/hw/hfi1/mad.c send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, qpn 160 drivers/infiniband/hw/hfi1/trace.c u16 *pkey, u32 *psn, u32 *qpn) qpn 172 drivers/infiniband/hw/hfi1/trace.c *qpn = ib_bth_get_qpn(ohdr); qpn 178 drivers/infiniband/hw/hfi1/trace.c u32 *psn, u32 *qpn) qpn 187 drivers/infiniband/hw/hfi1/trace.c *qpn = ib_bth_get_qpn(ohdr); qpn 259 drivers/infiniband/hw/hfi1/trace.c u8 tver, u16 pkey, u32 psn, u32 qpn, qpn 271 drivers/infiniband/hw/hfi1/trace.c se, mig, pad, tver, qpn, ack, psn); qpn 277 drivers/infiniband/hw/hfi1/trace.c qpn, ack, psn); qpn 118 drivers/infiniband/hw/hfi1/trace_ibhdrs.h u16 *pkey, u32 *psn, u32 *qpn); qpn 125 drivers/infiniband/hw/hfi1/trace_ibhdrs.h u32 *psn, u32 *qpn); qpn 141 drivers/infiniband/hw/hfi1/trace_ibhdrs.h u8 tver, u16 pkey, u32 psn, u32 qpn, qpn 184 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __field(u32, qpn) qpn 226 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &__entry->qpn); qpn 250 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &__entry->qpn); qpn 297 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __entry->qpn, qpn 343 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __field(u32, qpn) qpn 391 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &__entry->qpn); qpn 418 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &__entry->qpn); qpn 460 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __entry->qpn, qpn 23 drivers/infiniband/hw/hfi1/trace_iowait.h __field(u32, qpn) qpn 29 drivers/infiniband/hw/hfi1/trace_iowait.h __entry->qpn = iowait_to_qp(wait)->ibqp.qp_num; qpn 34 drivers/infiniband/hw/hfi1/trace_iowait.h __entry->qpn, qpn 100 drivers/infiniband/hw/hfi1/trace_misc.h __field(u32, qpn) qpn 104 drivers/infiniband/hw/hfi1/trace_misc.h __entry->qpn = qp->ibqp.qp_num; qpn 108 drivers/infiniband/hw/hfi1/trace_misc.h __get_str(dev), __entry->qpn, __entry->opcode) qpn 63 drivers/infiniband/hw/hfi1/trace_rc.h __field(u32, qpn) qpn 74 drivers/infiniband/hw/hfi1/trace_rc.h __entry->qpn = qp->ibqp.qp_num; qpn 86 drivers/infiniband/hw/hfi1/trace_rc.h __entry->qpn, qpn 125 drivers/infiniband/hw/hfi1/trace_rc.h __field(u32, qpn) qpn 134 drivers/infiniband/hw/hfi1/trace_rc.h __entry->qpn = qp->ibqp.qp_num; qpn 144 drivers/infiniband/hw/hfi1/trace_rc.h __entry->qpn, qpn 199 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 208 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 216 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 259 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 266 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 274 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 306 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 318 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 331 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 355 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 360 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp ? qp->ibqp.qp_num : 0; qpn 366 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 421 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 430 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 440 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 461 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 468 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 476 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 495 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 515 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 538 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 643 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 653 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 664 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 687 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 695 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 704 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 748 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 769 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 788 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 872 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 890 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 910 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 982 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 999 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 1015 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 1049 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 1071 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 1094 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 1276 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 1289 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 1303 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 1328 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 1335 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 1343 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 1362 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 1383 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 1403 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 1476 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 1494 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 1511 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 1570 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 1578 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 1587 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 1608 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, qpn) qpn 1615 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn = qp->ibqp.qp_num; qpn 1623 drivers/infiniband/hw/hfi1/trace_tid.h __entry->qpn, qpn 114 drivers/infiniband/hw/hfi1/trace_tx.h __field(u32, qpn) qpn 123 drivers/infiniband/hw/hfi1/trace_tx.h __entry->qpn = qp->ibqp.qp_num; qpn 133 drivers/infiniband/hw/hfi1/trace_tx.h __entry->qpn, qpn 786 drivers/infiniband/hw/hfi1/trace_tx.h __field(u32, qpn) qpn 798 drivers/infiniband/hw/hfi1/trace_tx.h __entry->qpn = qp->ibqp.qp_num; qpn 809 drivers/infiniband/hw/hfi1/trace_tx.h __entry->qpn, qpn 827 drivers/infiniband/hw/hfi1/trace_tx.h __field(u32, qpn) qpn 832 drivers/infiniband/hw/hfi1/trace_tx.h __entry->qpn = qp->ibqp.qp_num; qpn 838 drivers/infiniband/hw/hfi1/trace_tx.h __entry->qpn, qpn 686 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long qpn; qpn 917 drivers/infiniband/hw/hns/hns_roce_device.h u32 qpn; qpn 1105 drivers/infiniband/hw/hns/hns_roce_device.h *__hns_roce_qp_lookup(struct hns_roce_dev *hr_dev, u32 qpn) qpn 1107 drivers/infiniband/hw/hns/hns_roce_device.h return xa_load(&hr_dev->qp_table_xa, qpn & (hr_dev->caps.num_qps - 1)); qpn 1277 drivers/infiniband/hw/hns/hns_roce_device.h void hns_roce_qp_event(struct hns_roce_dev *hr_dev, u32 qpn, int event_type); qpn 428 drivers/infiniband/hw/hns/hns_roce_hw_v1.c RQ_DOORBELL_U32_8_QPN_S, hr_qp->qpn); qpn 818 drivers/infiniband/hw/hns/hns_roce_hw_v1.c attr.dest_qp_num = hr_qp->qpn; qpn 1063 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->qpn, ret); qpn 1078 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->qpn, ret, hr_mr->key, ne); qpn 2014 drivers/infiniband/hw/hns/hns_roce_hw_v1.c static void __hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, qpn 2036 drivers/infiniband/hw/hns/hns_roce_hw_v1.c HNS_ROCE_CQE_QPN_MASK) == qpn) { qpn 2062 drivers/infiniband/hw/hns/hns_roce_hw_v1.c static void hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, qpn 2066 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __hns_roce_v1_cq_clean(hr_cq, qpn, srq); qpn 2188 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int qpn; qpn 2214 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qpn = roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_PORT_NUM_M, qpn 2220 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qpn = roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, qpn 2224 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (!*cur_qp || (qpn & HNS_ROCE_CQE_QPN_MASK) != (*cur_qp)->qpn) { qpn 2225 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp = __hns_roce_qp_lookup(hr_dev, qpn); qpn 2228 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_cq->cqn, (qpn & HNS_ROCE_CQE_QPN_MASK)); qpn 2545 drivers/infiniband/hw/hns/hns_roce_hw_v1.c return hns_roce_cmd_mbox(hr_dev, 0, 0, hr_qp->qpn, 2, qpn 2550 drivers/infiniband/hw/hns/hns_roce_hw_v1.c return hns_roce_cmd_mbox(hr_dev, 0, 0, hr_qp->qpn, 2, qpn 2560 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ret = hns_roce_cmd_mbox(hr_dev, mailbox->dma, 0, hr_qp->qpn, 0, qpn 2692 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_v1_cq_clean(to_hr_cq(ibqp->recv_cq), hr_qp->qpn, qpn 2696 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->qpn, NULL); qpn 2747 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->qpn, &dma_handle_2); qpn 2815 drivers/infiniband/hw/hns/hns_roce_hw_v1.c QP_CONTEXT_QPC_BYTES_16_QP_NUM_S, hr_qp->qpn); qpn 2886 drivers/infiniband/hw/hns/hns_roce_hw_v1.c QP_CONTEXT_QPC_BYTES_16_QP_NUM_S, hr_qp->qpn); qpn 3281 drivers/infiniband/hw/hns/hns_roce_hw_v1.c RQ_DOORBELL_U32_8_QPN_S, hr_qp->qpn); qpn 3305 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_v1_cq_clean(to_hr_cq(ibqp->recv_cq), hr_qp->qpn, qpn 3309 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->qpn, NULL); qpn 3366 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ret = hns_roce_cmd_mbox(hr_dev, 0, mailbox->dma, hr_qp->qpn, 0, qpn 3618 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __hns_roce_v1_cq_clean(recv_cq, hr_qp->qpn, hr_qp->ibqp.srq ? qpn 3621 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __hns_roce_v1_cq_clean(send_cq, hr_qp->qpn, NULL); qpn 3630 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_release_range_qp(hr_dev, hr_qp->qpn, 1); qpn 3701 drivers/infiniband/hw/hns/hns_roce_hw_v1.c struct hns_roce_aeqe *aeqe, int qpn) qpn 3709 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, QPC error.\n", qpn); qpn 3712 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, MTU error.\n", qpn); qpn 3715 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, WQE BA addr error.\n", qpn); qpn 3718 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, WQE addr error.\n", qpn); qpn 3721 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, WQE shift error\n", qpn); qpn 3724 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, SL error.\n", qpn); qpn 3727 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, port error.\n", qpn); qpn 3736 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int qpn) qpn 3744 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, R_key violation.\n", qpn); qpn 3747 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, length error.\n", qpn); qpn 3750 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, VA error.\n", qpn); qpn 3753 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_err(dev, "QP %d, PD error.\n", qpn); qpn 3756 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, rw acc error.\n", qpn); qpn 3759 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, key state error.\n", qpn); qpn 3762 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dev_warn(dev, "QP %d, MR operation error.\n", qpn); qpn 3775 drivers/infiniband/hw/hns/hns_roce_hw_v1.c int qpn; qpn 3777 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qpn = roce_get_field(aeqe->event.qp_event.qp, qpn 3783 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (qpn <= 1) qpn 3784 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qpn = HNS_ROCE_MAX_PORTS * qpn + phy_port; qpn 3789 drivers/infiniband/hw/hns/hns_roce_hw_v1.c "QP %d, phy_port %d.\n", qpn, phy_port); qpn 3792 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_v1_wq_catas_err_handle(hr_dev, aeqe, qpn); qpn 3795 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_v1_local_wq_access_err_handle(hr_dev, aeqe, qpn); qpn 3801 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_qp_event(hr_dev, qpn, event_type); qpn 2492 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static void __hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, qpn 2515 drivers/infiniband/hw/hns/hns_roce_hw_v2.c HNS_ROCE_V2_CQE_QPN_MASK) == qpn) { qpn 2546 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static void hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, qpn 2550 drivers/infiniband/hw/hns/hns_roce_hw_v2.c __hns_roce_v2_cq_clean(hr_cq, qpn, srq); qpn 2708 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int qpn; qpn 2723 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qpn = roce_get_field(cqe->byte_16, V2_CQE_BYTE_16_LCL_QPN_M, qpn 2726 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (!*cur_qp || (qpn & HNS_ROCE_V2_CQE_QPN_MASK) != (*cur_qp)->qpn) { qpn 2728 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp = __hns_roce_qp_lookup(hr_dev, qpn); qpn 2731 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_cq->cqn, (qpn & HNS_ROCE_V2_CQE_QPN_MASK)); qpn 3180 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_cmd_mbox(hr_dev, mailbox->dma, 0, hr_qp->qpn, 0, qpn 3277 drivers/infiniband/hw/hns/hns_roce_hw_v2.c V2_QPC_BYTE_4_SQPN_S, hr_qp->qpn); qpn 3629 drivers/infiniband/hw/hns/hns_roce_hw_v2.c V2_QPC_BYTE_4_SQPN_S, hr_qp->qpn); qpn 3635 drivers/infiniband/hw/hns/hns_roce_hw_v2.c V2_QPC_BYTE_56_DQPN_S, hr_qp->qpn); qpn 3652 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->qpn); qpn 3659 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->qpn); qpn 3699 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->qpn, &dma_handle_2); qpn 3707 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->qpn, &dma_handle_3); qpn 3928 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dev_err(dev, "qp(0x%lx) buf pa find failed\n", hr_qp->qpn); qpn 3939 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->qpn); qpn 4461 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_v2_cq_clean(to_hr_cq(ibqp->recv_cq), hr_qp->qpn, qpn 4465 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->qpn, NULL); qpn 4506 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_cmd_mbox(hr_dev, 0, mailbox->dma, hr_qp->qpn, 0, qpn 4671 drivers/infiniband/hw/hns/hns_roce_hw_v2.c __hns_roce_v2_cq_clean(recv_cq, hr_qp->qpn, hr_qp->ibqp.srq ? qpn 4674 drivers/infiniband/hw/hns/hns_roce_hw_v2.c __hns_roce_v2_cq_clean(send_cq, hr_qp->qpn, NULL); qpn 4687 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_release_range_qp(hr_dev, hr_qp->qpn, 1); qpn 4730 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->qpn, ret); qpn 4761 drivers/infiniband/hw/hns/hns_roce_hw_v2.c clr->qpn = cpu_to_le32(hr_qp->qpn); qpn 4834 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static void hns_roce_set_qps_to_err(struct hns_roce_dev *hr_dev, u32 qpn) qpn 4841 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp = __hns_roce_qp_lookup(hr_dev, qpn); qpn 4864 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qpn); qpn 4872 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u32 qpn = irq_work->qpn; qpn 4889 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qpn, irq_work->sub_type); qpn 4890 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_set_qps_to_err(irq_work->hr_dev, qpn); qpn 4894 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qpn); qpn 4895 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_set_qps_to_err(irq_work->hr_dev, qpn); qpn 4899 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qpn, irq_work->sub_type); qpn 4900 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_set_qps_to_err(irq_work->hr_dev, qpn); qpn 4932 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u32 qpn, u32 cqn) qpn 4942 drivers/infiniband/hw/hns/hns_roce_hw_v2.c irq_work->qpn = qpn; qpn 5032 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u32 qpn; qpn 5047 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qpn = roce_get_field(aeqe->event.qp_event.qp, qpn 5066 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_qp_event(hr_dev, qpn, event_type); qpn 5102 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_v2_init_irq_work(hr_dev, eq, qpn, cqn); qpn 1815 drivers/infiniband/hw/hns/hns_roce_hw_v2.h __le32 qpn; qpn 46 drivers/infiniband/hw/hns/hns_roce_qp.c void hns_roce_qp_event(struct hns_roce_dev *hr_dev, u32 qpn, int event_type) qpn 52 drivers/infiniband/hw/hns/hns_roce_qp.c qp = __hns_roce_qp_lookup(hr_dev, qpn); qpn 58 drivers/infiniband/hw/hns/hns_roce_qp.c dev_warn(dev, "Async event for bogus QP %08x\n", qpn); qpn 104 drivers/infiniband/hw/hns/hns_roce_qp.c type, hr_qp->qpn); qpn 142 drivers/infiniband/hw/hns/hns_roce_qp.c static int hns_roce_gsi_qp_alloc(struct hns_roce_dev *hr_dev, unsigned long qpn, qpn 148 drivers/infiniband/hw/hns/hns_roce_qp.c if (!qpn) qpn 151 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->qpn = qpn; qpn 155 drivers/infiniband/hw/hns/hns_roce_qp.c ret = xa_err(xa_store_irq(xa, hr_qp->qpn & (hr_dev->caps.num_qps - 1), qpn 163 drivers/infiniband/hw/hns/hns_roce_qp.c static int hns_roce_qp_alloc(struct hns_roce_dev *hr_dev, unsigned long qpn, qpn 170 drivers/infiniband/hw/hns/hns_roce_qp.c if (!qpn) qpn 173 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->qpn = qpn; qpn 176 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_table_get(hr_dev, &qp_table->qp_table, hr_qp->qpn); qpn 183 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_table_get(hr_dev, &qp_table->irrl_table, hr_qp->qpn); qpn 192 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->qpn); qpn 202 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->qpn); qpn 209 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_gsi_qp_alloc(hr_dev, qpn, hr_qp); qpn 218 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->qpn); qpn 222 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_table_put(hr_dev, &qp_table->trrl_table, hr_qp->qpn); qpn 225 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_table_put(hr_dev, &qp_table->irrl_table, hr_qp->qpn); qpn 228 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_table_put(hr_dev, &qp_table->qp_table, hr_qp->qpn); qpn 240 drivers/infiniband/hw/hns/hns_roce_qp.c __xa_erase(xa, hr_qp->qpn & (hr_dev->caps.num_qps - 1)); qpn 255 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->qpn); qpn 256 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_table_put(hr_dev, &qp_table->irrl_table, hr_qp->qpn); qpn 697 drivers/infiniband/hw/hns/hns_roce_qp.c unsigned long qpn = 0; qpn 897 drivers/infiniband/hw/hns/hns_roce_qp.c qpn = sqpn; qpn 900 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_reserve_range_qp(hr_dev, 1, 1, &qpn); qpn 921 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_gsi_qp_alloc(hr_dev, qpn, hr_qp); qpn 927 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_qp_alloc(hr_dev, qpn, hr_qp); qpn 937 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->doorbell_qpn = (u32)hr_qp->qpn; qpn 966 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_release_range_qp(hr_dev, qpn, 1); qpn 1036 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->qpn, ret); qpn 1041 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->ibqp.qp_num = hr_qp->qpn; qpn 3653 drivers/infiniband/hw/i40iw/i40iw_cm.c ibqp = i40iw_get_qp(cm_id->device, conn_param->qpn); qpn 3832 drivers/infiniband/hw/i40iw/i40iw_cm.c ibqp = i40iw_get_qp(cm_id->device, conn_param->qpn); qpn 682 drivers/infiniband/hw/i40iw/i40iw_utils.c struct ib_qp *i40iw_get_qp(struct ib_device *device, int qpn) qpn 686 drivers/infiniband/hw/i40iw/i40iw_utils.c if ((qpn < IW_FIRST_QPN) || (qpn >= iwdev->max_qp)) qpn 689 drivers/infiniband/hw/i40iw/i40iw_utils.c return &iwdev->qp_table[qpn]->ibqp; qpn 714 drivers/infiniband/hw/mlx4/cq.c (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) { qpn 919 drivers/infiniband/hw/mlx4/cq.c void __mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) qpn 946 drivers/infiniband/hw/mlx4/cq.c if ((be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) == qpn) { qpn 972 drivers/infiniband/hw/mlx4/cq.c void mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) qpn 975 drivers/infiniband/hw/mlx4/cq.c __mlx4_ib_cq_clean(cq, qpn, srq); qpn 385 drivers/infiniband/hw/mlx4/mad.c int qpn = mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED; qpn 387 drivers/infiniband/hw/mlx4/mad.c struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; qpn 392 drivers/infiniband/hw/mlx4/mad.c send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, qpn 1352 drivers/infiniband/hw/mlx4/mad.c static int is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) qpn 1356 drivers/infiniband/hw/mlx4/mad.c return (qpn >= proxy_start && qpn <= proxy_start + 1); qpn 1567 drivers/infiniband/hw/mlx4/main.c ctrl->qpn = cpu_to_be32(qp->qp_num); qpn 2308 drivers/infiniband/hw/mlx4/main.c if (mlx4_update_qp(ibdev->dev, qp->mqp.qpn, MLX4_UPDATE_QP_SMAC, qpn 2947 drivers/infiniband/hw/mlx4/main.c int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn) qpn 2959 drivers/infiniband/hw/mlx4/main.c *qpn = dev->steer_qpn_base + offset; qpn 2963 drivers/infiniband/hw/mlx4/main.c void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count) qpn 2965 drivers/infiniband/hw/mlx4/main.c if (!qpn || qpn 2969 drivers/infiniband/hw/mlx4/main.c if (WARN(qpn < dev->steer_qpn_base, "qpn = %u, steer_qpn_base = %u\n", qpn 2970 drivers/infiniband/hw/mlx4/main.c qpn, dev->steer_qpn_base)) qpn 2975 drivers/infiniband/hw/mlx4/main.c qpn - dev->steer_qpn_base, qpn 751 drivers/infiniband/hw/mlx4/mlx4_ib.h void __mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq); qpn 752 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq); qpn 890 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn); qpn 891 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count); qpn 136 drivers/infiniband/hw/mlx4/qp.c return qp->mqp.qpn >= dev->dev->phys_caps.base_tunnel_sqpn && qpn 137 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn < dev->dev->phys_caps.base_tunnel_sqpn + qpn 148 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && qpn 149 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 3); qpn 155 drivers/infiniband/hw/mlx4/qp.c if (qp->mqp.qpn == dev->dev->caps.spec_qps[i].qp0_proxy || qpn 156 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn == dev->dev->caps.spec_qps[i].qp1_proxy) { qpn 176 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && qpn 177 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 1); qpn 183 drivers/infiniband/hw/mlx4/qp.c if (qp->mqp.qpn == dev->dev->caps.spec_qps[i].qp0_proxy) { qpn 267 drivers/infiniband/hw/mlx4/qp.c "on QP %06x\n", type, qp->qpn); qpn 278 drivers/infiniband/hw/mlx4/qp.c type, qp->qpn); qpn 517 drivers/infiniband/hw/mlx4/qp.c static int qp0_enabled_vf(struct mlx4_dev *dev, int qpn) qpn 521 drivers/infiniband/hw/mlx4/qp.c if (qpn == dev->caps.spec_qps[i].qp0_proxy) qpn 646 drivers/infiniband/hw/mlx4/qp.c int qpn; qpn 651 drivers/infiniband/hw/mlx4/qp.c err = mlx4_qp_reserve_range(dev->dev, 1, 1, &qpn, 0, qp->mqp.usage); qpn 655 drivers/infiniband/hw/mlx4/qp.c err = mlx4_qp_alloc(dev->dev, qpn, &qp->mqp); qpn 695 drivers/infiniband/hw/mlx4/qp.c mlx4_qp_release_range(dev->dev, qpn, 1); qpn 770 drivers/infiniband/hw/mlx4/qp.c qp->ibqp.qp_num = qp->mqp.qpn; qpn 862 drivers/infiniband/hw/mlx4/qp.c int qpn; qpn 941 drivers/infiniband/hw/mlx4/qp.c err = mlx4_ib_alloc_wqn(context, qp, range_size, &qpn); qpn 945 drivers/infiniband/hw/mlx4/qp.c err = mlx4_qp_alloc(dev->dev, qpn, &qp->mqp); qpn 954 drivers/infiniband/hw/mlx4/qp.c qp->doorbell_qpn = swab32(qp->mqp.qpn << 8); qpn 995 drivers/infiniband/hw/mlx4/qp.c int qpn; qpn 1020 drivers/infiniband/hw/mlx4/qp.c qpn = sqpn; qpn 1041 drivers/infiniband/hw/mlx4/qp.c qpn = dev->dev->phys_caps.base_tunnel_sqpn + 8 * tnl_init->slave qpn 1043 drivers/infiniband/hw/mlx4/qp.c sqpn = qpn; qpn 1207 drivers/infiniband/hw/mlx4/qp.c err = mlx4_qp_reserve_range(dev->dev, 1, 1, &qpn, qpn 1215 drivers/infiniband/hw/mlx4/qp.c err = mlx4_ib_steer_qp_alloc(dev, 1, &qpn); qpn 1218 drivers/infiniband/hw/mlx4/qp.c &qpn, 0, qp->mqp.usage); qpn 1226 drivers/infiniband/hw/mlx4/qp.c err = mlx4_qp_alloc(dev->dev, qpn, &qp->mqp); qpn 1231 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn |= (1 << 23); qpn 1238 drivers/infiniband/hw/mlx4/qp.c qp->doorbell_qpn = swab32(qp->mqp.qpn << 8); qpn 1267 drivers/infiniband/hw/mlx4/qp.c mlx4_ib_steer_qp_free(dev, qpn, 1); qpn 1269 drivers/infiniband/hw/mlx4/qp.c mlx4_qp_release_range(dev->dev, qpn, 1); qpn 1406 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn); qpn 1411 drivers/infiniband/hw/mlx4/qp.c mlx4_qp_release_range(dev->dev, qp->mqp.qpn, 1); qpn 1427 drivers/infiniband/hw/mlx4/qp.c qp->mqp.qpn); qpn 1461 drivers/infiniband/hw/mlx4/qp.c __mlx4_ib_cq_clean(recv_cq, qp->mqp.qpn, qpn 1464 drivers/infiniband/hw/mlx4/qp.c __mlx4_ib_cq_clean(send_cq, qp->mqp.qpn, NULL); qpn 1476 drivers/infiniband/hw/mlx4/qp.c mlx4_ib_steer_qp_free(dev, qp->mqp.qpn, 1); qpn 1485 drivers/infiniband/hw/mlx4/qp.c mlx4_qp_release_range(dev->dev, qp->mqp.qpn, 1); qpn 1604 drivers/infiniband/hw/mlx4/qp.c qp->ibqp.qp_num = qp->mqp.qpn; qpn 2601 drivers/infiniband/hw/mlx4/qp.c mlx4_ib_cq_clean(recv_cq, qp->mqp.qpn, qpn 2604 drivers/infiniband/hw/mlx4/qp.c mlx4_ib_cq_clean(send_cq, qp->mqp.qpn, NULL); qpn 2867 drivers/infiniband/hw/mlx4/qp.c static int vf_get_qp0_qkey(struct mlx4_dev *dev, int qpn, u32 *qkey) qpn 2871 drivers/infiniband/hw/mlx4/qp.c if (qpn == dev->caps.spec_qps[i].qp0_proxy || qpn 2872 drivers/infiniband/hw/mlx4/qp.c qpn == dev->caps.spec_qps[i].qp0_tunnel) { qpn 2941 drivers/infiniband/hw/mlx4/qp.c if (mlx4_get_parav_qkey(mdev->dev, sqp->qp.mqp.qpn, &qkey)) qpn 2944 drivers/infiniband/hw/mlx4/qp.c if (vf_get_qp0_qkey(mdev->dev, sqp->qp.mqp.qpn, &qkey)) qpn 2948 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.mqp.qpn); qpn 4195 drivers/infiniband/hw/mlx4/qp.c qp->ibwq.wq_num = qp->mqp.qpn; qpn 278 drivers/infiniband/hw/mlx5/cmd.c u32 qpn, u16 uid) qpn 285 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(attach_to_mcg_in, in, qpn, qpn); qpn 293 drivers/infiniband/hw/mlx5/cmd.c u32 qpn, u16 uid) qpn 300 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(detach_from_mcg_in, in, qpn, qpn); qpn 59 drivers/infiniband/hw/mlx5/cmd.h u32 qpn, u16 uid); qpn 61 drivers/infiniband/hw/mlx5/cmd.h u32 qpn, u16 uid); qpn 452 drivers/infiniband/hw/mlx5/cq.c uint32_t qpn; qpn 484 drivers/infiniband/hw/mlx5/cq.c qpn = ntohl(cqe64->sop_drop_qpn) & 0xffffff; qpn 485 drivers/infiniband/hw/mlx5/cq.c if (!*cur_qp || (qpn != (*cur_qp)->ibqp.qp_num)) { qpn 490 drivers/infiniband/hw/mlx5/cq.c mqp = __mlx5_qp_lookup(dev->mdev, qpn); qpn 1085 drivers/infiniband/hw/mlx5/cq.c void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq) qpn 1091 drivers/infiniband/hw/mlx5/cq.c __mlx5_ib_cq_clean(cq, qpn, srq); qpn 486 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_qp_in, in, qpn)); qpn 490 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(rst2init_qp_in, in, qpn)); qpn 494 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(init2rtr_qp_in, in, qpn)); qpn 498 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(rtr2rts_qp_in, in, qpn)); qpn 502 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(rts2rts_qp_in, in, qpn)); qpn 506 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(sqerr2rts_qp_in, in, qpn)); qpn 510 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(qp_2err_in, in, qpn)); qpn 514 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(qp_2rst_in, in, qpn)); qpn 619 drivers/infiniband/hw/mlx5/devx.c rq->base.mqp.qpn) == obj_id || qpn 621 drivers/infiniband/hw/mlx5/devx.c sq->base.mqp.qpn) == obj_id || qpn 630 drivers/infiniband/hw/mlx5/devx.c qp->dct.mdct.mqp.qpn) == obj_id; qpn 638 drivers/infiniband/hw/mlx5/devx.c to_mrwq(uobj->object)->core_qp.qpn) == qpn 1225 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(detach_from_mcg_in, din, qpn, qpn 1226 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(attach_to_mcg_in, in, qpn)); qpn 155 drivers/infiniband/hw/mlx5/ib_rep.c sq->base.mqp.qpn); qpn 1103 drivers/infiniband/hw/mlx5/mlx5_ib.h void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq); qpn 1104 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq); qpn 173 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 713 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 1106 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 1180 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 1650 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 1934 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 1033 drivers/infiniband/hw/mlx5/odp.c u32 qpn = qp->trans_qp.base.mqp.qpn; qpn 1044 drivers/infiniband/hw/mlx5/odp.c wqe_index, qpn); qpn 322 drivers/infiniband/hw/mlx5/qp.c pr_warn("mlx5_ib: Unexpected event type %d on QP %06x\n", type, qp->qpn); qpn 1418 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(tirc, tirc, inline_rqn, rq->base.mqp.qpn); qpn 1478 drivers/infiniband/hw/mlx5/qp.c resp->sqn = sq->base.mqp.qpn; qpn 1504 drivers/infiniband/hw/mlx5/qp.c resp->rqn = rq->base.mqp.qpn; qpn 1525 drivers/infiniband/hw/mlx5/qp.c qp->trans_qp.base.mqp.qpn = qp->sq.wqe_cnt ? sq->base.mqp.qpn : qpn 1526 drivers/infiniband/hw/mlx5/qp.c rq->base.mqp.qpn; qpn 1831 drivers/infiniband/hw/mlx5/qp.c qp->trans_qp.base.mqp.qpn = 0; qpn 2465 drivers/infiniband/hw/mlx5/qp.c base->mqp.qpn); qpn 2482 drivers/infiniband/hw/mlx5/qp.c __mlx5_ib_cq_clean(recv_cq, base->mqp.qpn, qpn 2485 drivers/infiniband/hw/mlx5/qp.c __mlx5_ib_cq_clean(send_cq, base->mqp.qpn, qpn 2498 drivers/infiniband/hw/mlx5/qp.c base->mqp.qpn); qpn 2721 drivers/infiniband/hw/mlx5/qp.c qp->ibqp.qp_num = qp->trans_qp.base.mqp.qpn; qpn 2724 drivers/infiniband/hw/mlx5/qp.c qp->ibqp.qp_num, qp->trans_qp.base.mqp.qpn, qpn 3180 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_modify_rq(dev->mdev, rq->base.mqp.qpn, in, inlen); qpn 3243 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_modify_sq(dev, sq->base.mqp.qpn, in, inlen); qpn 3371 drivers/infiniband/hw/mlx5/qp.c tx_port_affinity, qp_base->mqp.qpn, ucontext); qpn 3379 drivers/infiniband/hw/mlx5/qp.c tx_port_affinity, qp_base->mqp.qpn); qpn 3716 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_cq_clean(recv_cq, base->mqp.qpn, qpn 3719 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_cq_clean(send_cq, base->mqp.qpn, NULL); qpn 3872 drivers/infiniband/hw/mlx5/qp.c resp.dctn = qp->dct.mdct.mqp.qpn; qpn 4941 drivers/infiniband/hw/mlx5/qp.c ctrl->qpn_ds = cpu_to_be32(size | (qp->trans_qp.base.mqp.qpn << 8)); qpn 5519 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_query_sq_state(dev->mdev, sq->base.mqp.qpn, sq_state); qpn 5542 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_query_rq(dev->mdev, rq->base.mqp.qpn, out); qpn 5589 drivers/infiniband/hw/mlx5/qp.c qp->raw_packet_qp.sq.base.mqp.qpn, sq_state, qpn 5590 drivers/infiniband/hw/mlx5/qp.c qp->raw_packet_qp.rq.base.mqp.qpn, rq_state); qpn 5889 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_warn(dev, "Unexpected event type %d on WQ %06x\n", type, core_qp->qpn); qpn 6160 drivers/infiniband/hw/mlx5/qp.c rwq->ibwq.wq_num = rwq->core_qp.qpn; qpn 6366 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_modify_rq(dev->mdev, rwq->core_qp.qpn, in, inlen); qpn 1837 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_CONF_SPECIAL_QP(struct mthca_dev *dev, int type, u32 qpn) qpn 1858 drivers/infiniband/hw/mthca/mthca_cmd.c return mthca_cmd(dev, 0, qpn, op_mod, CMD_CONF_SPECIAL_QP, qpn 313 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_CONF_SPECIAL_QP(struct mthca_dev *dev, int type, u32 qpn); qpn 273 drivers/infiniband/hw/mthca/mthca_cq.c void mthca_cq_clean(struct mthca_dev *dev, struct mthca_cq *cq, u32 qpn, qpn 297 drivers/infiniband/hw/mthca/mthca_cq.c qpn, cq->cqn, cq->cons_index, prod_index); qpn 305 drivers/infiniband/hw/mthca/mthca_cq.c if (cqe->my_qpn == cpu_to_be32(qpn)) { qpn 514 drivers/infiniband/hw/mthca/mthca_cq.c if (!*cur_qp || be32_to_cpu(cqe->my_qpn) != (*cur_qp)->qpn) { qpn 506 drivers/infiniband/hw/mthca/mthca_dev.h void mthca_cq_clean(struct mthca_dev *dev, struct mthca_cq *cq, u32 qpn, qpn 528 drivers/infiniband/hw/mthca/mthca_dev.h void mthca_qp_event(struct mthca_dev *dev, u32 qpn, qpn 559 drivers/infiniband/hw/mthca/mthca_dev.h int qpn, qpn 143 drivers/infiniband/hw/mthca/mthca_eq.c __be32 qpn; qpn 282 drivers/infiniband/hw/mthca/mthca_eq.c mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, qpn 287 drivers/infiniband/hw/mthca/mthca_eq.c mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, qpn 292 drivers/infiniband/hw/mthca/mthca_eq.c mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, qpn 297 drivers/infiniband/hw/mthca/mthca_eq.c mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, qpn 307 drivers/infiniband/hw/mthca/mthca_eq.c mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, qpn 312 drivers/infiniband/hw/mthca/mthca_eq.c mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, qpn 317 drivers/infiniband/hw/mthca/mthca_eq.c mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, qpn 322 drivers/infiniband/hw/mthca/mthca_eq.c mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, qpn 168 drivers/infiniband/hw/mthca/mthca_mad.c int qpn = mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED; qpn 170 drivers/infiniband/hw/mthca/mthca_mad.c struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; qpn 175 drivers/infiniband/hw/mthca/mthca_mad.c send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, qpn 538 drivers/infiniband/hw/mthca/mthca_provider.c qp->ibqp.qp_num = qp->qpn; qpn 264 drivers/infiniband/hw/mthca/mthca_provider.h u32 qpn; qpn 198 drivers/infiniband/hw/mthca/mthca_qp.c return qp->qpn >= dev->qp_table.sqp_start && qpn 199 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn <= dev->qp_table.sqp_start + 3; qpn 204 drivers/infiniband/hw/mthca/mthca_qp.c return qp->qpn >= dev->qp_table.sqp_start && qpn 205 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn <= dev->qp_table.sqp_start + 1; qpn 238 drivers/infiniband/hw/mthca/mthca_qp.c void mthca_qp_event(struct mthca_dev *dev, u32 qpn, qpn 245 drivers/infiniband/hw/mthca/mthca_qp.c qp = mthca_array_get(&dev->qp_table.qp, qpn & (dev->limits.num_qps - 1)); qpn 252 drivers/infiniband/hw/mthca/mthca_qp.c event_type, qpn); qpn 454 drivers/infiniband/hw/mthca/mthca_qp.c err = mthca_QUERY_QP(dev, qp->qpn, 0, mailbox); qpn 630 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->local_qpn = cpu_to_be32(qp->qpn); qpn 771 drivers/infiniband/hw/mthca/mthca_qp.c ((qp->qpn & (dev->limits.num_qps - 1)) * MTHCA_RDB_ENTRY_SIZE << qpn 793 drivers/infiniband/hw/mthca/mthca_qp.c err = mthca_MODIFY_QP(dev, cur_state, new_state, qp->qpn, 0, qpn 835 drivers/infiniband/hw/mthca/mthca_qp.c mthca_cq_clean(dev, to_mcq(qp->ibqp.recv_cq), qp->qpn, qpn 838 drivers/infiniband/hw/mthca/mthca_qp.c mthca_cq_clean(dev, to_mcq(qp->ibqp.send_cq), qp->qpn, NULL); qpn 1095 drivers/infiniband/hw/mthca/mthca_qp.c ret = mthca_table_get(dev, dev->qp_table.qp_table, qp->qpn); qpn 1099 drivers/infiniband/hw/mthca/mthca_qp.c ret = mthca_table_get(dev, dev->qp_table.eqp_table, qp->qpn); qpn 1104 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn << dev->qp_table.rdb_shift); qpn 1113 drivers/infiniband/hw/mthca/mthca_qp.c mthca_table_put(dev, dev->qp_table.eqp_table, qp->qpn); qpn 1116 drivers/infiniband/hw/mthca/mthca_qp.c mthca_table_put(dev, dev->qp_table.qp_table, qp->qpn); qpn 1125 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn << dev->qp_table.rdb_shift); qpn 1126 drivers/infiniband/hw/mthca/mthca_qp.c mthca_table_put(dev, dev->qp_table.eqp_table, qp->qpn); qpn 1127 drivers/infiniband/hw/mthca/mthca_qp.c mthca_table_put(dev, dev->qp_table.qp_table, qp->qpn); qpn 1135 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn, &qp->rq.db); qpn 1140 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn, &qp->sq.db); qpn 1311 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn = mthca_alloc(&dev->qp_table.alloc); qpn 1312 drivers/infiniband/hw/mthca/mthca_qp.c if (qp->qpn == -1) qpn 1321 drivers/infiniband/hw/mthca/mthca_qp.c mthca_free(&dev->qp_table.alloc, qp->qpn); qpn 1327 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn & (dev->limits.num_qps - 1), qp); qpn 1369 drivers/infiniband/hw/mthca/mthca_qp.c int qpn, qpn 1374 drivers/infiniband/hw/mthca/mthca_qp.c u32 mqpn = qpn * 2 + dev->qp_table.sqp_start + port - 1; qpn 1399 drivers/infiniband/hw/mthca/mthca_qp.c sqp->qp.qpn = mqpn; qpn 1459 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn & (dev->limits.num_qps - 1)); qpn 1468 drivers/infiniband/hw/mthca/mthca_qp.c mthca_MODIFY_QP(dev, qp->state, IB_QPS_RESET, qp->qpn, 0, qpn 1477 drivers/infiniband/hw/mthca/mthca_qp.c mthca_cq_clean(dev, recv_cq, qp->qpn, qpn 1480 drivers/infiniband/hw/mthca/mthca_qp.c mthca_cq_clean(dev, send_cq, qp->qpn, NULL); qpn 1495 drivers/infiniband/hw/mthca/mthca_qp.c mthca_free(&dev->qp_table.alloc, qp->qpn); qpn 1656 drivers/infiniband/hw/mthca/mthca_qp.c " %d max, %d nreq)\n", qp->qpn, qpn 1809 drivers/infiniband/hw/mthca/mthca_qp.c (qp->qpn << 8) | size0, qpn 1852 drivers/infiniband/hw/mthca/mthca_qp.c " %d max, %d nreq)\n", qp->qpn, qpn 1902 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn << 8, dev->kar + MTHCA_RECEIVE_DOORBELL, qpn 1915 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn << 8 | nreq, dev->kar + MTHCA_RECEIVE_DOORBELL, qpn 1979 drivers/infiniband/hw/mthca/mthca_qp.c mthca_write64(dbhi, (qp->qpn << 8) | size0, qpn 1986 drivers/infiniband/hw/mthca/mthca_qp.c " %d max, %d nreq)\n", qp->qpn, qpn 2152 drivers/infiniband/hw/mthca/mthca_qp.c mthca_write64(dbhi, (qp->qpn << 8) | size0, dev->kar + MTHCA_SEND_DOORBELL, qpn 2181 drivers/infiniband/hw/mthca/mthca_qp.c " %d max, %d nreq)\n", qp->qpn, qpn 1783 drivers/infiniband/hw/ocrdma/ocrdma_sli.h u32 qpn; qpn 1798 drivers/infiniband/hw/ocrdma/ocrdma_sli.h u32 qpn; qpn 1608 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u32 qpn = 0, wqe_idx = 0; qpn 1631 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qpn = cqe->cmn.qpn & OCRDMA_CQE_QPN_MASK; qpn 1634 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (qpn == 0 || qpn != qp->id) qpn 1658 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c cqe->cmn.qpn = 0; qpn 2770 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u16 qpn = 0; qpn 2785 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qpn = (le32_to_cpu(cqe->cmn.qpn) & OCRDMA_CQE_QPN_MASK); qpn 2787 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (qpn == 0) qpn 2789 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp = dev->qp_tbl[qpn]; qpn 2804 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c cqe->cmn.qpn = 0; qpn 509 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct qedr_qp *qedr_iw_load_qp(struct qedr_dev *dev, u32 qpn) qpn 514 drivers/infiniband/hw/qedr/qedr_iw_cm.c qp = xa_load(&dev->qps, qpn); qpn 560 drivers/infiniband/hw/qedr/qedr_iw_cm.c qp = qedr_iw_load_qp(dev, conn_param->qpn); qpn 732 drivers/infiniband/hw/qedr/qedr_iw_cm.c DP_DEBUG(dev, QEDR_MSG_IWARP, "Accept on qpid=%d\n", conn_param->qpn); qpn 734 drivers/infiniband/hw/qedr/qedr_iw_cm.c qp = qedr_iw_load_qp(dev, conn_param->qpn); qpn 736 drivers/infiniband/hw/qedr/qedr_iw_cm.c DP_ERR(dev, "Invalid QP number %d\n", conn_param->qpn); qpn 799 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct ib_qp *qedr_iw_get_qp(struct ib_device *ibdev, int qpn) qpn 803 drivers/infiniband/hw/qedr/qedr_iw_cm.c return xa_load(&dev->qps, qpn); qpn 49 drivers/infiniband/hw/qedr/qedr_iw_cm.h struct ib_qp *qedr_iw_get_qp(struct ib_device *dev, int qpn); qpn 130 drivers/infiniband/hw/qib/qib_qp.c u32 i, offset, max_scan, qpn; qpn 152 drivers/infiniband/hw/qib/qib_qp.c qpn = qpt->last + 2; qpn 153 drivers/infiniband/hw/qib/qib_qp.c if (qpn >= RVT_QPN_MAX) qpn 154 drivers/infiniband/hw/qib/qib_qp.c qpn = 2; qpn 155 drivers/infiniband/hw/qib/qib_qp.c if (qpt_mask && ((qpn & qpt_mask) >> 1) >= dd->n_krcv_queues) qpn 156 drivers/infiniband/hw/qib/qib_qp.c qpn = (qpn | qpt_mask) + 2; qpn 157 drivers/infiniband/hw/qib/qib_qp.c offset = qpn & RVT_BITS_PER_PAGE_MASK; qpn 158 drivers/infiniband/hw/qib/qib_qp.c map = &qpt->map[qpn / RVT_BITS_PER_PAGE]; qpn 168 drivers/infiniband/hw/qib/qib_qp.c qpt->last = qpn; qpn 169 drivers/infiniband/hw/qib/qib_qp.c ret = qpn; qpn 174 drivers/infiniband/hw/qib/qib_qp.c qpn = mk_qpn(qpt, map, offset); qpn 183 drivers/infiniband/hw/qib/qib_qp.c } while (offset < RVT_BITS_PER_PAGE && qpn < RVT_QPN_MAX); qpn 201 drivers/infiniband/hw/qib/qib_qp.c qpn = mk_qpn(qpt, map, offset); qpn 576 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 qpn; qpn 311 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c static void pvrdma_qp_event(struct pvrdma_dev *dev, u32 qpn, int type) qpn 317 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c qp = dev->qp_tbl[qpn % dev->dsr->caps.max_qp]; qpn 382 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->qp_handle = resp->qpn; qpn 384 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->ibqp.qp_num = resp->qpn; qpn 534 drivers/infiniband/sw/rdmavt/qp.c u32 i, offset, max_scan, qpn; qpn 555 drivers/infiniband/sw/rdmavt/qp.c qpn = qpt->last + qpt->incr; qpn 556 drivers/infiniband/sw/rdmavt/qp.c if (qpn >= RVT_QPN_MAX) qpn 557 drivers/infiniband/sw/rdmavt/qp.c qpn = qpt->incr | ((qpt->last & 1) ^ 1); qpn 559 drivers/infiniband/sw/rdmavt/qp.c offset = qpn & RVT_BITS_PER_PAGE_MASK; qpn 560 drivers/infiniband/sw/rdmavt/qp.c map = &qpt->map[qpn / RVT_BITS_PER_PAGE]; qpn 570 drivers/infiniband/sw/rdmavt/qp.c qpt->last = qpn; qpn 571 drivers/infiniband/sw/rdmavt/qp.c ret = qpn; qpn 579 drivers/infiniband/sw/rdmavt/qp.c qpn = mk_qpn(qpt, map, offset); qpn 580 drivers/infiniband/sw/rdmavt/qp.c } while (offset < RVT_BITS_PER_PAGE && qpn < RVT_QPN_MAX); qpn 604 drivers/infiniband/sw/rdmavt/qp.c qpn = mk_qpn(qpt, map, offset); qpn 986 drivers/infiniband/sw/rdmavt/qp.c static void rvt_free_qpn(struct rvt_qpn_table *qpt, u32 qpn) qpn 990 drivers/infiniband/sw/rdmavt/qp.c map = qpt->map + (qpn & RVT_QPN_MASK) / RVT_BITS_PER_PAGE; qpn 992 drivers/infiniband/sw/rdmavt/qp.c clear_bit(qpn & RVT_BITS_PER_PAGE_MASK, map->page); qpn 119 drivers/infiniband/sw/rdmavt/trace_cq.h __field(u32, qpn) qpn 131 drivers/infiniband/sw/rdmavt/trace_cq.h __entry->qpn = wc->qp->qp_num; qpn 144 drivers/infiniband/sw/rdmavt/trace_cq.h __entry->qpn, qpn 64 drivers/infiniband/sw/rdmavt/trace_qp.h __field(u32, qpn) qpn 69 drivers/infiniband/sw/rdmavt/trace_qp.h __entry->qpn = qp->ibqp.qp_num; qpn 75 drivers/infiniband/sw/rdmavt/trace_qp.h __entry->qpn, qpn 94 drivers/infiniband/sw/rdmavt/trace_qp.h __field(u32, qpn) qpn 101 drivers/infiniband/sw/rdmavt/trace_qp.h __entry->qpn = qp->ibqp.qp_num; qpn 109 drivers/infiniband/sw/rdmavt/trace_qp.h __entry->qpn, qpn 64 drivers/infiniband/sw/rdmavt/trace_rc.h __field(u32, qpn) qpn 75 drivers/infiniband/sw/rdmavt/trace_rc.h __entry->qpn = qp->ibqp.qp_num; qpn 87 drivers/infiniband/sw/rdmavt/trace_rc.h __entry->qpn, qpn 97 drivers/infiniband/sw/rdmavt/trace_tx.h __field(u32, qpn) qpn 117 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->qpn = qp->ibqp.qp_num; qpn 139 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->qpn, qpn 164 drivers/infiniband/sw/rdmavt/trace_tx.h __field(u32, qpn) qpn 176 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->qpn = qp->ibqp.qp_num; qpn 187 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->qpn, qpn 93 drivers/infiniband/sw/rxe/rxe_hdr.h __be32 qpn; qpn 208 drivers/infiniband/sw/rxe/rxe_hdr.h return BTH_QPN_MASK & be32_to_cpu(bth->qpn); qpn 211 drivers/infiniband/sw/rxe/rxe_hdr.h static inline void __bth_set_qpn(void *arg, u32 qpn) qpn 214 drivers/infiniband/sw/rxe/rxe_hdr.h u32 resvqpn = be32_to_cpu(bth->qpn); qpn 216 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32((BTH_QPN_MASK & qpn) | qpn 224 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (cpu_to_be32(BTH_FECN_MASK) & bth->qpn); qpn 232 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn |= cpu_to_be32(BTH_FECN_MASK); qpn 234 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn &= ~cpu_to_be32(BTH_FECN_MASK); qpn 241 drivers/infiniband/sw/rxe/rxe_hdr.h return 0 != (cpu_to_be32(BTH_BECN_MASK) & bth->qpn); qpn 249 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn |= cpu_to_be32(BTH_BECN_MASK); qpn 251 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn &= ~cpu_to_be32(BTH_BECN_MASK); qpn 258 drivers/infiniband/sw/rxe/rxe_hdr.h return (BTH_RESV6A_MASK & be32_to_cpu(bth->qpn)) >> 24; qpn 265 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32(~BTH_RESV6A_MASK); qpn 373 drivers/infiniband/sw/rxe/rxe_hdr.h static inline void bth_set_qpn(struct rxe_pkt_info *pkt, u32 qpn) qpn 375 drivers/infiniband/sw/rxe/rxe_hdr.h __bth_set_qpn(pkt->hdr + pkt->offset, qpn); qpn 434 drivers/infiniband/sw/rxe/rxe_hdr.h int mig, int pad, u16 pkey, u32 qpn, int ack_req, qpn 446 drivers/infiniband/sw/rxe/rxe_hdr.h bth->qpn = cpu_to_be32(qpn & BTH_QPN_MASK); qpn 87 drivers/infiniband/sw/rxe/rxe_icrc.c bth->qpn |= cpu_to_be32(~BTH_QPN_MASK); qpn 181 drivers/infiniband/sw/rxe/rxe_qp.c u32 qpn; qpn 187 drivers/infiniband/sw/rxe/rxe_qp.c qpn = qp->pelem.index; qpn 193 drivers/infiniband/sw/rxe/rxe_qp.c port->qp_smi_index = qpn; qpn 199 drivers/infiniband/sw/rxe/rxe_qp.c port->qp_gsi_index = qpn; qpn 204 drivers/infiniband/sw/rxe/rxe_qp.c qp->ibqp.qp_num = qpn; qpn 102 drivers/infiniband/sw/rxe/rxe_recv.c u32 qpn, struct rxe_qp *qp) qpn 111 drivers/infiniband/sw/rxe/rxe_recv.c if (qpn == 1) { qpn 138 drivers/infiniband/sw/rxe/rxe_recv.c u32 qkey = (qpn == 1) ? GSI_QKEY : qp->attr.qkey; qpn 142 drivers/infiniband/sw/rxe/rxe_recv.c deth_qkey(pkt), qkey, qpn); qpn 219 drivers/infiniband/sw/rxe/rxe_recv.c u32 qpn = bth_qpn(pkt); qpn 228 drivers/infiniband/sw/rxe/rxe_recv.c if (unlikely(qpn == 0)) { qpn 233 drivers/infiniband/sw/rxe/rxe_recv.c if (qpn != IB_MULTICAST_QPN) { qpn 234 drivers/infiniband/sw/rxe/rxe_recv.c index = (qpn == 1) ? port->qp_gsi_index : qpn; qpn 238 drivers/infiniband/sw/rxe/rxe_recv.c pr_warn_ratelimited("no qp matches qpn 0x%x\n", qpn); qpn 250 drivers/infiniband/sw/rxe/rxe_recv.c err = check_keys(rxe, pkt, qpn, qp); qpn 1369 drivers/infiniband/sw/siw/siw_cm.c qp = siw_qp_id2obj(sdev, params->qpn); qpn 1371 drivers/infiniband/sw/siw/siw_cm.c WARN(1, "[QP %u] does not exist\n", params->qpn); qpn 1588 drivers/infiniband/sw/siw/siw_cm.c qp = siw_qp_id2obj(sdev, params->qpn); qpn 1590 drivers/infiniband/sw/siw/siw_cm.c WARN(1, "[QP %d] does not exist\n", params->qpn); qpn 1602 drivers/infiniband/sw/siw/siw_cm.c siw_dbg_cep(cep, "[QP %d]\n", params->qpn); qpn 197 drivers/infiniband/ulp/ipoib/ipoib.h __be32 qpn; /* High byte MUST be ignored on receive */ qpn 429 drivers/infiniband/ulp/ipoib/ipoib_cm.c data.qpn = cpu_to_be32(priv->qp->qp_num); qpn 1084 drivers/infiniband/ulp/ipoib/ipoib_cm.c u32 qpn, qpn 1091 drivers/infiniband/ulp/ipoib/ipoib_cm.c data.qpn = cpu_to_be32(priv->qp->qp_num); qpn 1096 drivers/infiniband/ulp/ipoib/ipoib_cm.c req.service_id = cpu_to_be64(IPOIB_CM_IETF_ID | qpn); qpn 1144 drivers/infiniband/ulp/ipoib/ipoib_cm.c static int ipoib_cm_tx_init(struct ipoib_cm_tx *p, u32 qpn, qpn 1180 drivers/infiniband/ulp/ipoib/ipoib_cm.c ret = ipoib_cm_send_req(p->dev, p->id, p->qp, qpn, pathrec); qpn 1187 drivers/infiniband/ulp/ipoib/ipoib_cm.c p->qp->qp_num, pathrec->dgid.raw, qpn); qpn 1353 drivers/infiniband/ulp/ipoib/ipoib_cm.c u32 qpn; qpn 1363 drivers/infiniband/ulp/ipoib/ipoib_cm.c qpn = IPOIB_QPN(neigh->daddr); qpn 1380 drivers/infiniband/ulp/ipoib/ipoib_cm.c ret = ipoib_cm_tx_init(p, qpn, &pathrec); qpn 459 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c *base_qpn = cmd_base_qpn.qpn; qpn 200 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h u16 qpn; qpn 97 drivers/net/ethernet/ibm/ehea/ehea_phyp.h u32 qpn; /* 00 */ qpn 1591 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c u32 qpn; qpn 1607 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c qpn = priv->drop_qp.qpn; qpn 1609 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c qpn = cmd->fs.ring_cookie & (EN_ETHTOOL_QP_ATTACH - 1); qpn 1616 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c qpn = priv->rss_map.qps[cmd->fs.ring_cookie].qpn; qpn 1617 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (!qpn) { qpn 1623 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c rule.qpn = qpn; qpn 130 drivers/net/ethernet/mellanox/mlx4/en_main.c priv->rss_map.indir_qp && priv->rss_map.indir_qp->qpn) { qpn 249 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rule.qpn = priv->rss_map.qps[filter->rxq_index].qpn; qpn 538 drivers/net/ethernet/mellanox/mlx4/en_netdev.c int qpn, u64 *reg_id) qpn 546 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_tunnel_steer_add(priv->mdev->dev, addr, priv->port, qpn, qpn 558 drivers/net/ethernet/mellanox/mlx4/en_netdev.c unsigned char *mac, int *qpn, u64 *reg_id) qpn 569 drivers/net/ethernet/mellanox/mlx4/en_netdev.c qp.qpn = *qpn; qpn 589 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rule.qpn = *qpn; qpn 610 drivers/net/ethernet/mellanox/mlx4/en_netdev.c unsigned char *mac, int qpn, u64 reg_id) qpn 620 drivers/net/ethernet/mellanox/mlx4/en_netdev.c qp.qpn = qpn; qpn 642 drivers/net/ethernet/mellanox/mlx4/en_netdev.c int *qpn = &priv->base_qpn; qpn 659 drivers/net/ethernet/mellanox/mlx4/en_netdev.c *qpn = base_qpn + index; qpn 663 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_qp_reserve_range(dev, 1, 1, qpn, MLX4_RESERVE_A0_QP, qpn 665 drivers/net/ethernet/mellanox/mlx4/en_netdev.c en_dbg(DRV, priv, "Reserved qp %d\n", *qpn); qpn 679 drivers/net/ethernet/mellanox/mlx4/en_netdev.c int qpn = priv->base_qpn; qpn 688 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->port, qpn); qpn 689 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_qp_release_range(dev, qpn, 1); qpn 694 drivers/net/ethernet/mellanox/mlx4/en_netdev.c static int mlx4_en_replace_mac(struct mlx4_en_priv *priv, int qpn, qpn 713 drivers/net/ethernet/mellanox/mlx4/en_netdev.c qpn, entry->reg_id); qpn 725 drivers/net/ethernet/mellanox/mlx4/en_netdev.c &qpn, qpn 733 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_tunnel_steer_add(priv, new_mac, qpn, qpn 741 drivers/net/ethernet/mellanox/mlx4/en_netdev.c return __mlx4_replace_mac(dev, priv->port, qpn, new_mac_u64); qpn 1301 drivers/net/ethernet/mellanox/mlx4/en_netdev.c int *qpn = &priv->base_qpn; qpn 1304 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_uc_steer_add(priv, priv->dev->dev_addr, qpn, ®_id); qpn 1308 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_tunnel_steer_add(priv, priv->dev->dev_addr, *qpn, qpn 1332 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_uc_steer_release(priv, priv->dev->dev_addr, *qpn, reg_id); qpn 1340 drivers/net/ethernet/mellanox/mlx4/en_netdev.c int qpn = priv->base_qpn; qpn 1352 drivers/net/ethernet/mellanox/mlx4/en_netdev.c qpn, entry->reg_id); qpn 1381 drivers/net/ethernet/mellanox/mlx4/en_netdev.c i, tx_ring->qpn, tx_ring->sp_cqn, qpn 2770 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_update_qp(priv->mdev->dev, tx_ring->qpn, MLX4_UPDATE_QP_RATE_LIMIT, qpn 41 drivers/net/ethernet/mellanox/mlx4/en_resources.c int is_tx, int rss, int qpn, int cqn, qpn 63 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->local_qpn = cpu_to_be32(qpn); qpn 89 drivers/net/ethernet/mellanox/mlx4/en_resources.c en_dbg(HW, priv, "Setting RX qp %x tunnel mode to RX tunneled & non-tunneled\n", qpn); qpn 104 drivers/net/ethernet/mellanox/mlx4/en_resources.c ret = mlx4_update_qp(priv->mdev->dev, qp->qpn, qpn 1056 drivers/net/ethernet/mellanox/mlx4/en_rx.c static int mlx4_en_config_rss_qp(struct mlx4_en_priv *priv, int qpn, qpn 1069 drivers/net/ethernet/mellanox/mlx4/en_rx.c err = mlx4_qp_alloc(mdev->dev, qpn, qp); qpn 1071 drivers/net/ethernet/mellanox/mlx4/en_rx.c en_err(priv, "Failed to allocate qp #%x\n", qpn); qpn 1078 drivers/net/ethernet/mellanox/mlx4/en_rx.c qpn, ring->cqn, -1, context); qpn 1105 drivers/net/ethernet/mellanox/mlx4/en_rx.c u32 qpn; qpn 1107 drivers/net/ethernet/mellanox/mlx4/en_rx.c err = mlx4_qp_reserve_range(priv->mdev->dev, 1, 1, &qpn, qpn 1114 drivers/net/ethernet/mellanox/mlx4/en_rx.c err = mlx4_qp_alloc(priv->mdev->dev, qpn, &priv->drop_qp); qpn 1117 drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_qp_release_range(priv->mdev->dev, qpn, 1); qpn 1126 drivers/net/ethernet/mellanox/mlx4/en_rx.c u32 qpn; qpn 1128 drivers/net/ethernet/mellanox/mlx4/en_rx.c qpn = priv->drop_qp.qpn; qpn 1131 drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_qp_release_range(priv->mdev->dev, qpn, 1); qpn 1145 drivers/net/ethernet/mellanox/mlx4/en_rx.c int i, qpn; qpn 1163 drivers/net/ethernet/mellanox/mlx4/en_rx.c qpn = rss_map->base_qpn + i; qpn 1164 drivers/net/ethernet/mellanox/mlx4/en_rx.c err = mlx4_en_config_rss_qp(priv, qpn, priv->rx_ring[i], qpn 1175 drivers/net/ethernet/mellanox/mlx4/en_rx.c priv->base_qpn = rss_map->indir_qp->qpn; qpn 105 drivers/net/ethernet/mellanox/mlx4/en_tx.c err = mlx4_qp_reserve_range(mdev->dev, 1, 1, &ring->qpn, qpn 113 drivers/net/ethernet/mellanox/mlx4/en_tx.c err = mlx4_qp_alloc(mdev->dev, ring->qpn, &ring->sp_qp); qpn 115 drivers/net/ethernet/mellanox/mlx4/en_tx.c en_err(priv, "Failed allocating qp %d\n", ring->qpn); qpn 146 drivers/net/ethernet/mellanox/mlx4/en_tx.c mlx4_qp_release_range(mdev->dev, ring->qpn, 1); qpn 166 drivers/net/ethernet/mellanox/mlx4/en_tx.c en_dbg(DRV, priv, "Destroying tx ring, qpn: %d\n", ring->qpn); qpn 172 drivers/net/ethernet/mellanox/mlx4/en_tx.c mlx4_qp_release_range(priv->mdev->dev, ring->qpn, 1); qpn 198 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->doorbell_qpn = cpu_to_be32(ring->sp_qp.qpn << 8); qpn 201 drivers/net/ethernet/mellanox/mlx4/en_tx.c mlx4_en_fill_qp_context(priv, ring->size, ring->sp_stride, 1, 0, ring->qpn, qpn 538 drivers/net/ethernet/mellanox/mlx4/eq.c be32_to_cpu(eqe->event.qp.qpn) qpn 553 drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & qpn 2760 drivers/net/ethernet/mellanox/mlx4/fw.c qp.qpn = be32_to_cpu(mgm->qp[i]); qpn 760 drivers/net/ethernet/mellanox/mlx4/main.c int mlx4_get_parav_qkey(struct mlx4_dev *dev, u32 qpn, u32 *qkey) qpn 764 drivers/net/ethernet/mellanox/mlx4/main.c if (qpn >= dev->phys_caps.base_tunnel_sqpn + 8 * MLX4_MFUNC_MAX || qpn 765 drivers/net/ethernet/mellanox/mlx4/main.c qpn < dev->phys_caps.base_proxy_sqpn) qpn 768 drivers/net/ethernet/mellanox/mlx4/main.c if (qpn >= dev->phys_caps.base_tunnel_sqpn) qpn 770 drivers/net/ethernet/mellanox/mlx4/main.c qk += qpn - dev->phys_caps.base_tunnel_sqpn; qpn 772 drivers/net/ethernet/mellanox/mlx4/main.c qk += qpn - dev->phys_caps.base_proxy_sqpn; qpn 125 drivers/net/ethernet/mellanox/mlx4/mcg.c u32 qpn) qpn 136 drivers/net/ethernet/mellanox/mlx4/mcg.c if (pqp->qpn == qpn) qpn 149 drivers/net/ethernet/mellanox/mlx4/mcg.c unsigned int index, u32 qpn) qpn 176 drivers/net/ethernet/mellanox/mlx4/mcg.c pqp = get_promisc_qp(dev, port, steer, qpn); qpn 183 drivers/net/ethernet/mellanox/mlx4/mcg.c dqp->qpn = qpn; qpn 209 drivers/net/ethernet/mellanox/mlx4/mcg.c if (pqp->qpn == qpn) qpn 218 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32(pqp->qpn & MGM_QPN_MASK); qpn 241 drivers/net/ethernet/mellanox/mlx4/mcg.c unsigned int index, u32 qpn) qpn 253 drivers/net/ethernet/mellanox/mlx4/mcg.c pqp = get_promisc_qp(dev, port, steer, qpn); qpn 272 drivers/net/ethernet/mellanox/mlx4/mcg.c if (qpn == dqp->qpn) qpn 280 drivers/net/ethernet/mellanox/mlx4/mcg.c dqp->qpn = qpn; qpn 290 drivers/net/ethernet/mellanox/mlx4/mcg.c unsigned int index, u32 qpn) qpn 302 drivers/net/ethernet/mellanox/mlx4/mcg.c if (!get_promisc_qp(dev, port, steer, qpn)) qpn 318 drivers/net/ethernet/mellanox/mlx4/mcg.c if (dqp->qpn == qpn) { qpn 355 drivers/net/ethernet/mellanox/mlx4/mcg.c u32 qpn = be32_to_cpu(mgm->qp[i]) & MGM_QPN_MASK; qpn 356 drivers/net/ethernet/mellanox/mlx4/mcg.c if (!get_promisc_qp(dev, port, steer, qpn) && qpn != tqpn) { qpn 419 drivers/net/ethernet/mellanox/mlx4/mcg.c enum mlx4_steer_type steer, u32 qpn) qpn 441 drivers/net/ethernet/mellanox/mlx4/mcg.c if (get_promisc_qp(dev, port, steer, qpn)) { qpn 451 drivers/net/ethernet/mellanox/mlx4/mcg.c pqp->qpn = qpn; qpn 478 drivers/net/ethernet/mellanox/mlx4/mcg.c MGM_QPN_MASK) == qpn) { qpn 487 drivers/net/ethernet/mellanox/mlx4/mcg.c dqp->qpn = qpn; qpn 502 drivers/net/ethernet/mellanox/mlx4/mcg.c cpu_to_be32(qpn & MGM_QPN_MASK); qpn 525 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32(dqp->qpn & MGM_QPN_MASK); qpn 549 drivers/net/ethernet/mellanox/mlx4/mcg.c enum mlx4_steer_type steer, u32 qpn) qpn 570 drivers/net/ethernet/mellanox/mlx4/mcg.c pqp = get_promisc_qp(dev, port, steer, qpn); qpn 572 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_warn(dev, "QP %x is not promiscuous QP\n", qpn); qpn 591 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32(dqp->qpn & MGM_QPN_MASK); qpn 605 drivers/net/ethernet/mellanox/mlx4/mcg.c if (dqp->qpn == qpn) { qpn 629 drivers/net/ethernet/mellanox/mlx4/mcg.c qpn, entry->index); qpn 637 drivers/net/ethernet/mellanox/mlx4/mcg.c MGM_QPN_MASK) == qpn) { qpn 644 drivers/net/ethernet/mellanox/mlx4/mcg.c qpn, entry->index); qpn 784 drivers/net/ethernet/mellanox/mlx4/mcg.c hw->qpn = cpu_to_be32(ctrl->qpn); qpn 911 drivers/net/ethernet/mellanox/mlx4/mcg.c rule->port, rule->priority, rule->qpn); qpn 989 drivers/net/ethernet/mellanox/mlx4/mcg.c if (!mlx4_qp_lookup(dev, rule->qpn)) { qpn 1050 drivers/net/ethernet/mellanox/mlx4/mcg.c int port, int qpn, u16 prio, u64 *reg_id) qpn 1067 drivers/net/ethernet/mellanox/mlx4/mcg.c rule.qpn = qpn; qpn 1159 drivers/net/ethernet/mellanox/mlx4/mcg.c if ((be32_to_cpu(mgm->qp[i]) & MGM_QPN_MASK) == qp->qpn) { qpn 1160 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_dbg(dev, "QP %06x already a member of MGM\n", qp->qpn); qpn 1166 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32((qp->qpn & MGM_QPN_MASK) | qpn 1169 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[members_count++] = cpu_to_be32(qp->qpn & MGM_QPN_MASK); qpn 1195 drivers/net/ethernet/mellanox/mlx4/mcg.c index, qp->qpn); qpn 1198 drivers/net/ethernet/mellanox/mlx4/mcg.c index, qp->qpn); qpn 1249 drivers/net/ethernet/mellanox/mlx4/mcg.c check_duplicate_entry(dev, port, steer, index, qp->qpn) && qpn 1250 drivers/net/ethernet/mellanox/mlx4/mcg.c !promisc_steering_entry(dev, port, steer, index, qp->qpn, NULL)) qpn 1255 drivers/net/ethernet/mellanox/mlx4/mcg.c if ((be32_to_cpu(mgm->qp[i]) & MGM_QPN_MASK) == qp->qpn) { qpn 1261 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_err(dev, "QP %06x not found in MGM\n", qp->qpn); qpn 1273 drivers/net/ethernet/mellanox/mlx4/mcg.c index, qp->qpn); qpn 1341 drivers/net/ethernet/mellanox/mlx4/mcg.c int qpn; qpn 1351 drivers/net/ethernet/mellanox/mlx4/mcg.c qpn = qp->qpn; qpn 1352 drivers/net/ethernet/mellanox/mlx4/mcg.c qpn |= (prot << 28); qpn 1354 drivers/net/ethernet/mellanox/mlx4/mcg.c qpn |= (1 << 31); qpn 1356 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_cmd(dev, mailbox->dma, qpn, attach, qpn 1384 drivers/net/ethernet/mellanox/mlx4/mcg.c rule.qpn = qp->qpn; qpn 1467 drivers/net/ethernet/mellanox/mlx4/mcg.c u32 qpn, enum mlx4_net_trans_promisc_mode mode) qpn 1493 drivers/net/ethernet/mellanox/mlx4/mcg.c rule.qpn = qpn; qpn 1564 drivers/net/ethernet/mellanox/mlx4/mcg.c u32 qpn = (u32) vhcr->in_param & 0xffffffff; qpn 1576 drivers/net/ethernet/mellanox/mlx4/mcg.c return add_promisc_qp(dev, port, steer, qpn); qpn 1578 drivers/net/ethernet/mellanox/mlx4/mcg.c return remove_promisc_qp(dev, port, steer, qpn); qpn 1581 drivers/net/ethernet/mellanox/mlx4/mcg.c static int mlx4_PROMISC(struct mlx4_dev *dev, u32 qpn, qpn 1584 drivers/net/ethernet/mellanox/mlx4/mcg.c return mlx4_cmd(dev, (u64) qpn | (u64) port << 62, (u32) steer, add, qpn 1589 drivers/net/ethernet/mellanox/mlx4/mcg.c int mlx4_multicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port) qpn 1592 drivers/net/ethernet/mellanox/mlx4/mcg.c return mlx4_PROMISC(dev, qpn, MLX4_MC_STEER, 1, port); qpn 1594 drivers/net/ethernet/mellanox/mlx4/mcg.c return add_promisc_qp(dev, port, MLX4_MC_STEER, qpn); qpn 1598 drivers/net/ethernet/mellanox/mlx4/mcg.c int mlx4_multicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port) qpn 1601 drivers/net/ethernet/mellanox/mlx4/mcg.c return mlx4_PROMISC(dev, qpn, MLX4_MC_STEER, 0, port); qpn 1603 drivers/net/ethernet/mellanox/mlx4/mcg.c return remove_promisc_qp(dev, port, MLX4_MC_STEER, qpn); qpn 1607 drivers/net/ethernet/mellanox/mlx4/mcg.c int mlx4_unicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port) qpn 1610 drivers/net/ethernet/mellanox/mlx4/mcg.c return mlx4_PROMISC(dev, qpn, MLX4_UC_STEER, 1, port); qpn 1612 drivers/net/ethernet/mellanox/mlx4/mcg.c return add_promisc_qp(dev, port, MLX4_UC_STEER, qpn); qpn 1616 drivers/net/ethernet/mellanox/mlx4/mcg.c int mlx4_unicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port) qpn 1619 drivers/net/ethernet/mellanox/mlx4/mcg.c return mlx4_PROMISC(dev, qpn, MLX4_UC_STEER, 0, port); qpn 1621 drivers/net/ethernet/mellanox/mlx4/mcg.c return remove_promisc_qp(dev, port, MLX4_UC_STEER, qpn); qpn 303 drivers/net/ethernet/mellanox/mlx4/mlx4.h __be32 qpn; qpn 467 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 qpn; qpn 973 drivers/net/ethernet/mellanox/mlx4/mlx4.h int __mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn); qpn 974 drivers/net/ethernet/mellanox/mlx4/mlx4.h void __mlx4_qp_free_icm(struct mlx4_dev *dev, int qpn); qpn 1224 drivers/net/ethernet/mellanox/mlx4/mlx4.h void mlx4_qp_event(struct mlx4_dev *dev, u32 qpn, int event_type); qpn 309 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int qpn; qpn 751 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int is_tx, int rss, int qpn, int cqn, int user_prio, qpn 862 drivers/net/ethernet/mellanox/mlx4/mr.c mpt_entry->qpn = cpu_to_be32(MLX4_MPT_QP_FLAG_BOUND_QP); qpn 474 drivers/net/ethernet/mellanox/mlx4/port.c int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac) qpn 478 drivers/net/ethernet/mellanox/mlx4/port.c int index = qpn - info->base_qpn; qpn 49 drivers/net/ethernet/mellanox/mlx4/qp.c void mlx4_qp_event(struct mlx4_dev *dev, u32 qpn, int event_type) qpn 56 drivers/net/ethernet/mellanox/mlx4/qp.c qp = __mlx4_qp_lookup(dev, qpn); qpn 63 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_dbg(dev, "Async event for none existent QP %08x\n", qpn); qpn 79 drivers/net/ethernet/mellanox/mlx4/qp.c *proxy_qp0 = qp->qpn >= pf_proxy_offset && qp->qpn <= pf_proxy_offset + 1; qpn 81 drivers/net/ethernet/mellanox/mlx4/qp.c *real_qp0 = qp->qpn >= dev->phys_caps.base_sqpn && qpn 82 drivers/net/ethernet/mellanox/mlx4/qp.c qp->qpn <= dev->phys_caps.base_sqpn + 1; qpn 145 drivers/net/ethernet/mellanox/mlx4/qp.c ret = mlx4_cmd(dev, 0, qp->qpn, 2, qpn 150 drivers/net/ethernet/mellanox/mlx4/qp.c port = (qp->qpn & 1) + 1; qpn 174 drivers/net/ethernet/mellanox/mlx4/qp.c cpu_to_be16(mlx4_qp_roce_entropy(dev, qp->qpn)); qpn 180 drivers/net/ethernet/mellanox/mlx4/qp.c cpu_to_be32(qp->qpn); qpn 183 drivers/net/ethernet/mellanox/mlx4/qp.c qp->qpn | (!!sqd_event << 31), qpn 188 drivers/net/ethernet/mellanox/mlx4/qp.c port = (qp->qpn & 1) + 1; qpn 308 drivers/net/ethernet/mellanox/mlx4/qp.c int __mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn) qpn 314 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_table_get(dev, &qp_table->qp_table, qpn); qpn 318 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_table_get(dev, &qp_table->auxc_table, qpn); qpn 322 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_table_get(dev, &qp_table->altc_table, qpn); qpn 326 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_table_get(dev, &qp_table->rdmarc_table, qpn); qpn 330 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_table_get(dev, &qp_table->cmpt_table, qpn); qpn 337 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->rdmarc_table, qpn); qpn 340 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->altc_table, qpn); qpn 343 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->auxc_table, qpn); qpn 346 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->qp_table, qpn); qpn 352 drivers/net/ethernet/mellanox/mlx4/qp.c static int mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn) qpn 357 drivers/net/ethernet/mellanox/mlx4/qp.c set_param_l(¶m, qpn); qpn 362 drivers/net/ethernet/mellanox/mlx4/qp.c return __mlx4_qp_alloc_icm(dev, qpn); qpn 365 drivers/net/ethernet/mellanox/mlx4/qp.c void __mlx4_qp_free_icm(struct mlx4_dev *dev, int qpn) qpn 370 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->cmpt_table, qpn); qpn 371 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->rdmarc_table, qpn); qpn 372 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->altc_table, qpn); qpn 373 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->auxc_table, qpn); qpn 374 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_table_put(dev, &qp_table->qp_table, qpn); qpn 377 drivers/net/ethernet/mellanox/mlx4/qp.c static void mlx4_qp_free_icm(struct mlx4_dev *dev, int qpn) qpn 382 drivers/net/ethernet/mellanox/mlx4/qp.c set_param_l(&in_param, qpn); qpn 386 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_warn(dev, "Failed to free icm of qp:%d\n", qpn); qpn 388 drivers/net/ethernet/mellanox/mlx4/qp.c __mlx4_qp_free_icm(dev, qpn); qpn 391 drivers/net/ethernet/mellanox/mlx4/qp.c struct mlx4_qp *mlx4_qp_lookup(struct mlx4_dev *dev, u32 qpn) qpn 398 drivers/net/ethernet/mellanox/mlx4/qp.c qp = __mlx4_qp_lookup(dev, qpn); qpn 404 drivers/net/ethernet/mellanox/mlx4/qp.c int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp) qpn 410 drivers/net/ethernet/mellanox/mlx4/qp.c if (!qpn) qpn 413 drivers/net/ethernet/mellanox/mlx4/qp.c qp->qpn = qpn; qpn 415 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_qp_alloc_icm(dev, qpn); qpn 420 drivers/net/ethernet/mellanox/mlx4/qp.c err = radix_tree_insert(&dev->qp_table_tree, qp->qpn & qpn 432 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_qp_free_icm(dev, qpn); qpn 438 drivers/net/ethernet/mellanox/mlx4/qp.c int mlx4_update_qp(struct mlx4_dev *dev, u32 qpn, qpn 504 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_cmd(dev, mailbox->dma, qpn & 0xffffff, 0, qpn 519 drivers/net/ethernet/mellanox/mlx4/qp.c radix_tree_delete(&dev->qp_table_tree, qp->qpn & (dev->caps.num_qps - 1)); qpn 530 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_qp_free_icm(dev, qp->qpn); qpn 903 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_cmd_box(dev, 0, mailbox->dma, qp->qpn, 0, qpn 947 drivers/net/ethernet/mellanox/mlx4/qp.c u16 mlx4_qp_roce_entropy(struct mlx4_dev *dev, u32 qpn) qpn 953 drivers/net/ethernet/mellanox/mlx4/qp.c qp.qpn = qpn; qpn 958 drivers/net/ethernet/mellanox/mlx4/qp.c u16 folded_src = folded_qp(qpn); qpn 960 drivers/net/ethernet/mellanox/mlx4/qp.c return (dest_qpn != qpn) ? qpn 225 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn; qpn 751 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u8 slave, u32 qpn) qpn 772 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mlx4_is_qp_reserved(dev, qpn)) qpn 786 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_update_qp(dev, qpn, MLX4_UPDATE_QP_VSD, ¶ms); qpn 1172 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static struct res_common *alloc_fs_rule_tr(u64 id, int qpn) qpn 1182 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c ret->qpn = qpn; qpn 1504 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int qp_res_start_move_to(struct mlx4_dev *dev, int slave, int qpn, qpn 1514 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c r = res_tracker_lookup(&tracker->res_tree[RES_QP], qpn); qpn 1775 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int valid_reserved(struct mlx4_dev *dev, int slave, int qpn) qpn 1777 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return mlx4_is_qp_reserved(dev, qpn) && qpn 1778 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c (mlx4_is_master(dev) || mlx4_is_guest_proxy(dev, slave, qpn)); qpn 1781 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int fw_reserved(struct mlx4_dev *dev, int qpn) qpn 1783 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return qpn < dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; qpn 1793 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn; qpn 1823 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = get_param_l(&in_param) & 0x7fffff; qpn 1824 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (valid_reserved(dev, slave, qpn)) { qpn 1825 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = add_res_range(dev, slave, qpn, 1, RES_QP, 0); qpn 1830 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = qp_res_start_move_to(dev, slave, qpn, RES_QP_MAPPED, qpn 1835 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!fw_reserved(dev, qpn)) { qpn 1836 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = __mlx4_qp_alloc_icm(dev, qpn); qpn 1838 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_abort_move(dev, slave, RES_QP, qpn); qpn 1843 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_end_move(dev, slave, RES_QP, qpn); qpn 2365 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn; qpn 2378 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = get_param_l(&in_param) & 0x7fffff; qpn 2379 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = qp_res_start_move_to(dev, slave, qpn, RES_QP_RESERVED, qpn 2384 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!fw_reserved(dev, qpn)) qpn 2385 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_qp_free_icm(dev, qpn); qpn 2387 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_end_move(dev, slave, RES_QP, qpn); qpn 2389 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (valid_reserved(dev, slave, qpn)) qpn 2390 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = rem_res_range(dev, slave, qpn, 1, RES_QP, 0); qpn 2937 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u32 qpn = vhcr->in_modifier & 0xffffff; qpn 2940 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mlx4_get_parav_qkey(dev, qpn, &qkey)) qpn 2958 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn = vhcr->in_modifier & 0x7fffff; qpn 2977 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = qp_res_start_move_to(dev, slave, qpn, RES_QP_HW, &qp, 0); qpn 3040 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_end_move(dev, slave, RES_QP, qpn); qpn 3055 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_abort_move(dev, slave, RES_QP, qpn); qpn 3188 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u32 qpn; qpn 3242 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = vhcr->in_modifier & 0x7fffff; qpn 3246 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mlx4_is_qp_reserved(dev, qpn) && qpn 3738 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn = vhcr->in_modifier & 0x7fffff; qpn 3741 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, qpn, RES_QP, &qp); qpn 3751 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, qpn, RES_QP); qpn 3827 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn = vhcr->in_modifier & 0x7fffff; qpn 3851 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, qpn, RES_QP, &qp); qpn 3859 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = update_vport_qp_param(dev, inbox, slave, qpn); qpn 3877 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, qpn, RES_QP); qpn 3991 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn = vhcr->in_modifier & 0x7fffff; qpn 3994 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = qp_res_start_move_to(dev, slave, qpn, RES_QP_MAPPED, &qp, 0); qpn 4006 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_end_move(dev, slave, RES_QP, qpn); qpn 4010 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_abort_move(dev, slave, RES_QP, qpn); qpn 4147 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn; qpn 4155 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = vhcr->in_modifier & 0xffffff; qpn 4156 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, qpn, RES_QP, &rqp); qpn 4160 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp.qpn = qpn; qpn 4165 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c pr_err("Fail to attach rule to qp 0x%x\n", qpn); qpn 4183 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn, reg_id); qpn 4185 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, qpn, RES_QP); qpn 4191 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, qpn, RES_QP); qpn 4290 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u32 qpn = vhcr->in_modifier & 0xffffff; qpn 4315 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, qpn, RES_QP, &rqp); qpn 4317 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mlx4_err(dev, "Updating qpn 0x%x for slave %d rejected\n", qpn, slave); qpn 4330 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn, smac_index); qpn 4340 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mlx4_err(dev, "Failed to update qpn on qpn 0x%x, command failed\n", qpn); qpn 4345 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, qpn, RES_QP); qpn 4376 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn; qpn 4393 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = be32_to_cpu(ctrl->qpn) & 0xffffff; qpn 4394 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, qpn, RES_QP, &rqp); qpn 4396 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c pr_err("Steering rule with qpn 0x%x rejected\n", qpn); qpn 4439 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = add_res_range(dev, slave, vhcr->out_param, 1, RES_FS_RULE, qpn); qpn 4480 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, qpn, RES_QP); qpn 4509 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn; qpn 4526 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = rrule->qpn; qpn 4530 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, qpn, RES_QP, &rqp); qpn 4555 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, qpn, RES_QP); qpn 4593 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp.qpn = rqp->local_qpn; qpn 4669 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn; qpn 4681 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = qp->com.res_id; qpn 4692 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!valid_reserved(dev, slave, qpn)) { qpn 4693 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_qp_release_range(dev, qpn, 1); qpn 4701 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!valid_reserved(dev, slave, qpn)) qpn 4702 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_qp_free_icm(dev, qpn); qpn 5000 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = add_res_range(dev, fs_rule->com.owner, reg_id, 1, RES_FS_RULE, fs_rule->qpn); qpn 457 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c &qp->dbg, qp->qpn, qp_fields, qpn 201 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 83 drivers/net/ethernet/mellanox/mlx5/core/en_common.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 288 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 1444 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c u32 qpn; qpn 1448 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c qpn = be32_to_cpu(cqe->sop_drop_qpn) & 0xffffff; qpn 1449 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c netdev = mlx5i_pkey_get_netdev(rq->netdev, qpn); qpn 1457 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c pr_warn_once("Unable to map QPN %u to dev - dropping skb\n", qpn); qpn 168 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c ctrl->qpn_ds = cpu_to_be32(size | (conn->qp.mqp.qpn << 8)); qpn 242 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 379 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_fpga_warn(conn->fdev, "QP event %u on QP #%u\n", event, mqp->qpn); qpn 608 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_fpga_dbg(fdev, "Created QP #0x%x\n", conn->qp.mqp.qpn); qpn 673 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_fpga_dbg(conn->fdev, "Modifying QP %u to RST\n", conn->qp.mqp.qpn); qpn 686 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_fpga_dbg(conn->fdev, "Modifying QP %u to INIT\n", conn->qp.mqp.qpn); qpn 934 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c MLX5_SET(fpga_qpc, conn->fpga_qpc, remote_qpn, conn->qp.mqp.qpn); qpn 854 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c u32 qpn; qpn 864 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c qpn = 0; qpn 865 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c err = root->cmds->update_root_ft(root, ft, qpn, false); qpn 868 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c qpn = uqp->qpn; qpn 870 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c qpn, false); qpn 879 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft->id, qpn); qpn 1961 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c u32 qpn; qpn 1974 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c qpn = 0; qpn 1976 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c qpn, false); qpn 1979 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c qpn = uqp->qpn; qpn 1981 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c new_root_ft, qpn, qpn 1991 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft->id, qpn); qpn 2842 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c new_uqp->qpn = underlay_qpn; qpn 2865 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (uqp->qpn == underlay_qpn) { qpn 179 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h u32 qpn; qpn 282 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c err = mlx5i_create_tis(priv->mdev, ipriv->qp.qpn, &priv->tisn[0][0]); qpn 479 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c dev->dev_addr[1] = (ipriv->qp.qpn >> 16) & 0xff; qpn 480 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c dev->dev_addr[2] = (ipriv->qp.qpn >> 8) & 0xff; qpn 481 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c dev->dev_addr[3] = (ipriv->qp.qpn) & 0xff; qpn 484 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5i_pkey_add_qpn(dev ,ipriv->qp.qpn); qpn 511 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5i_pkey_del_qpn(dev, ipriv->qp.qpn); qpn 531 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c err = mlx5_fs_add_rx_underlay_qpn(mdev, ipriv->qp.qpn); qpn 548 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5_fs_remove_rx_underlay_qpn(mdev, ipriv->qp.qpn); qpn 574 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5_fs_remove_rx_underlay_qpn(mdev, ipriv->qp.qpn); qpn 593 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5_core_dbg(mdev, "attaching QPN 0x%x, MGID %pI6\n", ipriv->qp.qpn, gid->raw); qpn 594 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c err = mlx5_core_attach_mcg(mdev, gid, ipriv->qp.qpn); qpn 597 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c ipriv->qp.qpn, gid->raw); qpn 616 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5_core_dbg(mdev, "detaching QPN 0x%x, MGID %pI6\n", ipriv->qp.qpn, gid->raw); qpn 618 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c err = mlx5_core_detach_mcg(mdev, gid, ipriv->qp.qpn); qpn 621 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c ipriv->qp.qpn, gid->raw); qpn 77 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h int mlx5i_pkey_add_qpn(struct net_device *netdev, u32 qpn); qpn 78 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h int mlx5i_pkey_del_qpn(struct net_device *netdev, u32 qpn); qpn 81 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h struct net_device *mlx5i_pkey_get_netdev(struct net_device *netdev, u32 qpn); qpn 72 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c u32 qpn) qpn 74 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c struct hlist_head *h = &buckets[hash_32(qpn, MLX5I_MAX_LOG_PKEY_SUP)]; qpn 78 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c if (node->underlay_qpn == qpn) qpn 85 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c int mlx5i_pkey_add_qpn(struct net_device *netdev, u32 qpn) qpn 89 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c u8 key = hash_32(qpn, MLX5I_MAX_LOG_PKEY_SUP); qpn 97 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c new_node->underlay_qpn = qpn; qpn 105 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c int mlx5i_pkey_del_qpn(struct net_device *netdev, u32 qpn) qpn 112 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c node = mlx5i_find_qpn_to_netdev_node(ht->buckets, qpn); qpn 126 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c struct net_device *mlx5i_pkey_get_netdev(struct net_device *netdev, u32 qpn) qpn 131 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c node = mlx5i_find_qpn_to_netdev_node(ipriv->qpn_htbl->buckets, qpn); qpn 207 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c err = mlx5_fs_add_rx_underlay_qpn(mdev, ipriv->qp.qpn); qpn 213 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c err = mlx5i_create_tis(mdev, ipriv->qp.qpn, &epriv->tisn[0][0]); qpn 233 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c mlx5_fs_remove_rx_underlay_qpn(mdev, ipriv->qp.qpn); qpn 256 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c mlx5_fs_remove_rx_underlay_qpn(mdev, ipriv->qp.qpn); qpn 40 drivers/net/ethernet/mellanox/mlx5/core/mcg.c int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) qpn 47 drivers/net/ethernet/mellanox/mlx5/core/mcg.c MLX5_SET(attach_to_mcg_in, in, qpn, qpn); qpn 54 drivers/net/ethernet/mellanox/mlx5/core/mcg.c int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) qpn 61 drivers/net/ethernet/mellanox/mlx5/core/mcg.c MLX5_SET(detach_from_mcg_in, in, qpn, qpn); qpn 206 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->qpn | (rsc_type << MLX5_USER_INDEX_LEN), qpn 227 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->qpn | (qp->common.res << MLX5_USER_INDEX_LEN)); qpn 248 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->qpn, err); qpn 257 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_dct_in, in, dctn, qp->qpn); qpn 281 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->qpn = MLX5_GET(create_dct_out, out, dctn); qpn 310 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->qpn = MLX5_GET(create_qp_out, out, qpn); qpn 311 drivers/net/ethernet/mellanox/mlx5/core/qp.c mlx5_core_dbg(dev, "qpn = 0x%x\n", qp->qpn); qpn 320 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->qpn); qpn 330 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_qp_in, din, qpn, qp->qpn); qpn 345 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(drain_dct_in, in, dctn, qp->qpn); qpn 370 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_qp_in, in, qpn, qp->qpn); qpn 423 drivers/net/ethernet/mellanox/mlx5/core/qp.c static int modify_qp_mbox_alloc(struct mlx5_core_dev *dev, u16 opcode, int qpn, qpn 436 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, qpn, _qpn); \ qpn 453 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET(qp_2rst, mbox->in, opcode, qpn, uid); qpn 458 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET(qp_2err, mbox->in, opcode, qpn, uid); qpn 465 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(rst2init_qp, mbox->in, opcode, qpn, qpn 471 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(init2rtr_qp, mbox->in, opcode, qpn, qpn 477 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(rtr2rts_qp, mbox->in, opcode, qpn, qpn 483 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(rts2rts_qp, mbox->in, opcode, qpn, qpn 489 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(sqerr2rts_qp, mbox->in, opcode, qpn, qpn 495 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(init2init_qp, mbox->in, opcode, qpn, qpn 500 drivers/net/ethernet/mellanox/mlx5/core/qp.c opcode, qpn); qpn 513 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = modify_qp_mbox_alloc(dev, opcode, qp->qpn, qpn 551 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_qp_in, in, qpn, qp->qpn); qpn 563 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_dct_in, in, dctn, qp->qpn); qpn 617 drivers/net/ethernet/mellanox/mlx5/core/qp.c rq->qpn = rqn; qpn 625 drivers/net/ethernet/mellanox/mlx5/core/qp.c destroy_rq_tracked(dev, rq->qpn, rq->uid); qpn 635 drivers/net/ethernet/mellanox/mlx5/core/qp.c destroy_rq_tracked(dev, rq->qpn, rq->uid); qpn 661 drivers/net/ethernet/mellanox/mlx5/core/qp.c sq->qpn = sqn; qpn 669 drivers/net/ethernet/mellanox/mlx5/core/qp.c destroy_sq_tracked(dev, sq->qpn, sq->uid); qpn 679 drivers/net/ethernet/mellanox/mlx5/core/qp.c destroy_sq_tracked(dev, sq->qpn, sq->uid); qpn 91 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 105 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c pr_info("DR QP event %u on QP #%u\n", event, mqp->qpn); qpn 245 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c wq_ctrl->qpn_ds = cpu_to_be32(size | dr_qp->mqp.qpn << 8); qpn 601 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(rtr2rts_qp_in, in, qpn, dr_qp->mqp.qpn); qpn 620 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(init2rtr_qp_in, in, qpn, dr_qp->mqp.qpn); qpn 664 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c rtr_attr.qp_num = dr_qp->mqp.qpn; qpn 813 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(mkc, mkc, qpn, 0xffffff); qpn 768 include/linux/mlx4/device.h int qpn; qpn 929 include/linux/mlx4/device.h __be32 qpn; qpn 1057 include/linux/mlx4/device.h static inline int mlx4_is_qp_reserved(struct mlx4_dev *dev, u32 qpn) qpn 1059 include/linux/mlx4/device.h return (qpn < dev->phys_caps.base_sqpn + 8 + qpn 1061 include/linux/mlx4/device.h qpn >= dev->phys_caps.base_sqpn) || qpn 1062 include/linux/mlx4/device.h (qpn < dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]); qpn 1065 include/linux/mlx4/device.h static inline int mlx4_is_guest_proxy(struct mlx4_dev *dev, int slave, u32 qpn) qpn 1069 include/linux/mlx4/device.h if (qpn >= guest_proxy_base && qpn < guest_proxy_base + 8) qpn 1147 include/linux/mlx4/device.h int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp); qpn 1274 include/linux/mlx4/device.h u32 qpn; qpn 1285 include/linux/mlx4/device.h __be32 qpn; qpn 1380 include/linux/mlx4/device.h int mlx4_flow_steer_promisc_add(struct mlx4_dev *dev, u8 port, u32 qpn, qpn 1384 include/linux/mlx4/device.h int mlx4_multicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port); qpn 1385 include/linux/mlx4/device.h int mlx4_multicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port); qpn 1386 include/linux/mlx4/device.h int mlx4_unicast_promisc_add(struct mlx4_dev *dev, u32 qpn, u8 port); qpn 1387 include/linux/mlx4/device.h int mlx4_unicast_promisc_remove(struct mlx4_dev *dev, u32 qpn, u8 port); qpn 1393 include/linux/mlx4/device.h int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac); qpn 1460 include/linux/mlx4/device.h int port, int qpn, u16 prio, u64 *reg_id); qpn 1465 include/linux/mlx4/device.h int mlx4_get_parav_qkey(struct mlx4_dev *dev, u32 qpn, u32 *qkey); qpn 473 include/linux/mlx4/qp.h struct mlx4_qp *mlx4_qp_lookup(struct mlx4_dev *dev, u32 qpn); qpn 474 include/linux/mlx4/qp.h int mlx4_update_qp(struct mlx4_dev *dev, u32 qpn, qpn 489 include/linux/mlx4/qp.h static inline struct mlx4_qp *__mlx4_qp_lookup(struct mlx4_dev *dev, u32 qpn) qpn 491 include/linux/mlx4/qp.h return radix_tree_lookup(&dev->qp_table_tree, qpn & (dev->caps.num_qps - 1)); qpn 504 include/linux/mlx4/qp.h u16 mlx4_qp_roce_entropy(struct mlx4_dev *dev, u32 qpn); qpn 936 include/linux/mlx5/device.h __be32 qpn; qpn 978 include/linux/mlx5/driver.h int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn); qpn 979 include/linux/mlx5/driver.h int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn); qpn 2494 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 3254 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 3799 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 3829 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 4034 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 4064 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 4094 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 4643 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 5764 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 5786 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 6367 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 6397 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 6542 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 6810 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 7467 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 7805 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 8892 include/linux/mlx5/mlx5_ifc.h u8 qpn[0x18]; qpn 479 include/linux/mlx5/qp.h int qpn; qpn 556 include/linux/mlx5/qp.h static inline struct mlx5_core_qp *__mlx5_qp_lookup(struct mlx5_core_dev *dev, u32 qpn) qpn 558 include/linux/mlx5/qp.h return radix_tree_lookup(&dev->priv.qp_table.tree, qpn); qpn 260 include/rdma/ib_cm.h u32 qpn; qpn 2530 include/rdma/ib_verbs.h struct ib_qp *(*iw_get_qp)(struct ib_device *device, int qpn); qpn 106 include/rdma/iw_cm.h u32 qpn; qpn 161 include/rdma/iw_cm.h struct ib_qp *iw_cm_get_qp(struct ib_device *device, int qpn); qpn 716 include/rdma/rdmavt_qp.h u32 qpn) __must_hold(RCU) qpn 720 include/rdma/rdmavt_qp.h if (unlikely(qpn <= 1)) { qpn 721 include/rdma/rdmavt_qp.h qp = rcu_dereference(rvp->qp[qpn]); qpn 723 include/rdma/rdmavt_qp.h u32 n = hash_32(qpn, rdi->qp_dev->qp_table_bits); qpn 727 include/rdma/rdmavt_qp.h if (qp->ibqp.qp_num == qpn) qpn 31 include/trace/events/ib_umad.h __field(u32, qpn) qpn 61 include/trace/events/ib_umad.h __entry->qpn = umad_hdr->qpn; qpn 94 include/trace/events/ib_umad.h __entry->retires, __entry->length, be32_to_cpu(__entry->qpn), qpn 79 include/uapi/rdma/ib_user_mad.h __be32 qpn; qpn 123 include/uapi/rdma/ib_user_mad.h __be32 qpn; qpn 188 include/uapi/rdma/ib_user_mad.h __u8 qpn; qpn 223 include/uapi/rdma/ib_user_mad.h __u32 qpn; qpn 627 include/uapi/rdma/ib_user_verbs.h __u32 qpn; qpn 636 include/uapi/rdma/ib_user_verbs.h __u32 qpn; qpn 457 net/smc/af_smc.c link->peer_qpn = ntoh24(clc->qpn); qpn 598 net/smc/af_smc.c ini->ib_clcqpn = ntoh24(aclc->qpn); qpn 508 net/smc/smc_clc.c hton24(cclc.qpn, link->roce_qp->qp_num); qpn 580 net/smc/smc_clc.c hton24(aclc.qpn, link->roce_qp->qp_num); qpn 123 net/smc/smc_clc.h u8 qpn[3]; /* QP number */ qpn 56 samples/bpf/ibumad_kern.c u32 qpn;