Searched refs:qpn (Results 1 - 25 of 48) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/mlx4/
H A Dqp.c44 void mlx4_qp_event(struct mlx4_dev *dev, u32 qpn, int event_type) argument
51 qp = __mlx4_qp_lookup(dev, qpn);
58 mlx4_warn(dev, "Async event for bogus QP %08x\n", qpn);
122 return mlx4_cmd(dev, 0, qp->qpn, 2,
140 cpu_to_be32(qp->qpn);
142 ret = mlx4_cmd(dev, mailbox->dma, qp->qpn | (!!sqd_event << 31),
158 qp->qpn = sqpn;
160 qp->qpn = mlx4_bitmap_alloc(&qp_table->bitmap);
161 if (qp->qpn == -1)
165 err = mlx4_table_get(dev, &qp_table->qp_table, qp->qpn);
[all...]
H A Dmcg.c209 if (mgm->qp[i] == cpu_to_be32(qp->qpn)) {
210 mlx4_dbg(dev, "QP %06x already a member of MGM\n", qp->qpn);
215 mgm->qp[members_count++] = cpu_to_be32(qp->qpn);
290 if (mgm->qp[i] == cpu_to_be32(qp->qpn))
294 mlx4_err(dev, "QP %06x not found in MGM\n", qp->qpn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/
H A Dagent.h51 int port_num, int qpn);
H A Dcm_msgs.h126 static inline void cm_req_set_local_qpn(struct cm_req_msg *req_msg, __be32 qpn) argument
128 req_msg->offset32 = cpu_to_be32((be32_to_cpu(qpn) << 8) |
523 static inline void cm_rep_set_local_qpn(struct cm_rep_msg *rep_msg, __be32 qpn) argument
525 rep_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) |
626 static inline void cm_dreq_set_remote_qpn(struct cm_dreq_msg *dreq_msg, __be32 qpn) argument
628 dreq_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) |
675 static inline void cm_lap_set_remote_qpn(struct cm_lap_msg *lap_msg, __be32 qpn) argument
677 lap_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) |
811 __be32 qpn)
813 sidr_rep_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) <<
810 cm_sidr_rep_set_qpn(struct cm_sidr_rep_msg *sidr_rep_msg, __be32 qpn) argument
[all...]
H A Dagent.c83 int port_num, int qpn)
97 agent = port_priv->agent[qpn];
81 agent_send_response(struct ib_mad *mad, struct ib_grh *grh, struct ib_wc *wc, struct ib_device *device, int port_num, int qpn) argument
H A Dmad.c198 int ret2, qpn; local
203 qpn = get_spl_qp_index(qp_type);
204 if (qpn == -1)
277 mad_agent_priv->agent.mr = ib_get_dma_mr(port_priv->qp_info[qpn].qp->pd,
295 mad_agent_priv->qp_info = &port_priv->qp_info[qpn];
302 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp;
443 int qpn; local
451 qpn = get_spl_qp_index(qp_type);
452 if (qpn == -1) {
469 mad_snoop_priv->qp_info = &port_priv->qp_info[qpn];
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/rdma/
H A Dib_user_mad.h62 * @qpn - Remote QP number received from/to be sent to
80 __be32 qpn; member in struct:ib_user_mad_hdr
107 * @qpn - Queue pair number; must be 0 or 1.
123 __u8 qpn; member in struct:ib_user_mad_reg_req
H A Diw_cm.h108 u32 qpn; member in struct:iw_cm_conn_param
117 int qpn);
172 * @qpn: The queue pair number
174 struct ib_qp *iw_cm_get_qp(struct ib_device *device, int qpn);
H A Dib_user_cm.h134 __u32 qpn; member in struct:ib_ucm_req
159 __u32 qpn; member in struct:ib_ucm_rep
212 __u32 qpn; member in struct:ib_ucm_sidr_rep
296 __u32 qpn; member in struct:ib_ucm_sidr_rep_event_resp
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c199 return qp->qpn >= dev->qp_table.sqp_start &&
200 qp->qpn <= dev->qp_table.sqp_start + 3;
205 return qp->qpn >= dev->qp_table.sqp_start &&
206 qp->qpn <= dev->qp_table.sqp_start + 1;
239 void mthca_qp_event(struct mthca_dev *dev, u32 qpn, argument
246 qp = mthca_array_get(&dev->qp_table.qp, qpn & (dev->limits.num_qps - 1));
252 mthca_warn(dev, "Async event for bogus QP %08x\n", qpn);
449 err = mthca_QUERY_QP(dev, qp->qpn, 0, mailbox, &status);
614 qp_context->local_qpn = cpu_to_be32(qp->qpn);
755 ((qp->qpn
1360 mthca_alloc_sqp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_sig_type send_policy, struct ib_qp_cap *cap, int qpn, int port, struct mthca_sqp *sqp) argument
[all...]
H A Dmthca_mad.c162 int qpn = mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED; local
164 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn];
169 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR,
H A Dmthca_eq.c144 __be32 qpn; member in struct:mthca_eqe::__anon4579::__anon4582
298 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff,
303 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff,
308 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff,
313 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff,
323 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff,
328 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff,
333 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff,
338 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff,
H A Dmthca_provider.h264 u32 qpn; member in struct:mthca_qp
H A Dmthca_dev.h508 void mthca_cq_clean(struct mthca_dev *dev, struct mthca_cq *cq, u32 qpn,
529 void mthca_qp_event(struct mthca_dev *dev, u32 qpn,
559 int qpn,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_qp.c105 u32 i, offset, max_scan, qpn; local
130 qpn = qpt->last + 1;
131 if (qpn >= QPN_MAX)
132 qpn = 2;
133 offset = qpn & BITS_PER_PAGE_MASK;
134 map = &qpt->map[qpn / BITS_PER_PAGE];
146 qpt->last = qpn;
147 ret = qpn;
151 qpn = mk_qpn(qpt, map, offset);
160 } while (offset < BITS_PER_PAGE && qpn < QPN_MA
188 free_qpn(struct ipath_qp_table *qpt, u32 qpn) argument
311 ipath_lookup_qpn(struct ipath_qp_table *qpt, u32 qpn) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mlx4/
H A Dqp.h285 static inline struct mlx4_qp *__mlx4_qp_lookup(struct mlx4_dev *dev, u32 qpn) argument
287 return radix_tree_lookup(&dev->qp_table_tree, qpn & (dev->caps.num_qps - 1));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/
H A Dmad.c200 int qpn = mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED; local
202 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn];
206 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR,
H A Dmlx4_ib.h246 void __mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq);
247 void mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq);
H A Dcq.c335 (be32_to_cpu(cqe->my_qpn) & 0xffffff) != (*cur_qp)->mqp.qpn) {
477 void __mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) argument
501 if ((be32_to_cpu(cqe->my_qpn) & 0xffffff) == qpn) {
525 void mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) argument
528 __mlx4_ib_cq_clean(cq, qpn, srq);
H A Dqp.c83 return qp->mqp.qpn >= dev->dev->caps.sqp_start &&
84 qp->mqp.qpn <= dev->dev->caps.sqp_start + 3;
89 return qp->mqp.qpn >= dev->dev->caps.sqp_start &&
90 qp->mqp.qpn <= dev->dev->caps.sqp_start + 1;
164 "on QP %06x\n", type, qp->qpn);
406 qp->doorbell_qpn = swab32(qp->mqp.qpn << 8);
491 qp->mqp.qpn);
499 __mlx4_ib_cq_clean(recv_cq, qp->mqp.qpn,
502 __mlx4_ib_cq_clean(send_cq, qp->mqp.qpn, NULL);
550 qp->ibqp.qp_num = qp->mqp.qpn;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2_provider.h113 int qpn; member in struct:c2_qp
H A Dc2_qp.c387 c2dev->qp_table.last++, &qp->qpn);
394 static void c2_free_qpn(struct c2_dev *c2dev, int qpn) argument
397 idr_remove(&c2dev->qp_table.idr, qpn);
401 struct c2_qp *c2_find_qpn(struct c2_dev *c2dev, int qpn) argument
407 qp = idr_find(&c2dev->qp_table.idr, qpn);
429 qp->ibqp.qp_num = qp->qpn;
566 c2_free_qpn(c2dev, qp->qpn);
609 c2_free_qpn(c2dev, qp->qpn);
H A Dc2_cm.c48 ibqp = c2_get_qp(cm_id->device, iw_param->qpn);
291 ibqp = c2_get_qp(cm_id->device, iw_param->qpn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c269 data.qpn = cpu_to_be32(priv->qp->qp_num);
817 u32 qpn,
824 data.qpn = cpu_to_be32(priv->qp->qp_num);
829 req.service_id = cpu_to_be64(IPOIB_CM_IETF_ID | qpn);
877 static int ipoib_cm_tx_init(struct ipoib_cm_tx *p, u32 qpn, argument
925 ret = ipoib_cm_send_req(p->dev, p->id, p->qp, qpn, pathrec);
931 ipoib_dbg(priv, "Request connection 0x%x for gid " IPOIB_GID_FMT " qpn 0x%x\n",
932 p->qp->qp_num, IPOIB_GID_ARG(pathrec->dgid), qpn);
1084 u32 qpn; local
1092 qpn
815 ipoib_cm_send_req(struct net_device *dev, struct ib_cm_id *id, struct ib_qp *qp, u32 qpn, struct ib_sa_path_rec *pathrec) argument
[all...]
H A Dipoib_ib.c343 struct ib_ah *address, u32 qpn,
352 priv->tx_wr.wr.ud.remote_qpn = qpn;
359 struct ipoib_ah *address, u32 qpn)
374 ipoib_dbg_data(priv, "sending packet, length=%d address=%p qpn=0x%06x\n",
375 skb->len, address, qpn);
396 address->ah, qpn, addr, skb->len))) {
341 post_send(struct ipoib_dev_priv *priv, unsigned int wr_id, struct ib_ah *address, u32 qpn, u64 addr, int len) argument
358 ipoib_send(struct net_device *dev, struct sk_buff *skb, struct ipoib_ah *address, u32 qpn) argument

Completed in 162 milliseconds

12