Home
last modified time | relevance | path

Searched refs:qkey (Results 1 – 25 of 44) sorted by relevance

12

/drivers/infiniband/hw/qib/
Dqib_ud.c107 u32 qkey; in qib_ud_loopback() local
109 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? in qib_ud_loopback()
110 sqp->qkey : swqe->ud_wr.remote_qkey; in qib_ud_loopback()
111 if (unlikely(qkey != qp->qkey)) { in qib_ud_loopback()
116 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, in qib_ud_loopback()
381 qp->qkey : wqe->ud_wr.remote_qkey); in qib_make_ud_req()
436 u32 qkey; in qib_ud_rcv() local
448 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in qib_ud_rcv()
484 if (unlikely(qkey != qp->qkey)) { in qib_ud_rcv()
485 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, in qib_ud_rcv()
Dqib_qp.c374 qp->qkey = 0; in qib_reset_qp()
817 qp->qkey = attr->qkey; in qib_modify_qp()
864 attr->qkey = qp->qkey; in qib_query_qp()
/drivers/staging/rdma/ipath/
Dipath_ud.c80 sqp->qkey : swqe->ud_wr.remote_qkey) != qp->qkey)) { in ipath_ud_loopback()
381 qp->qkey : wqe->ud_wr.remote_qkey); in ipath_make_ud_req()
416 u32 qkey; in ipath_ud_rcv() local
425 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in ipath_ud_rcv()
438 qkey = be32_to_cpu(((__be32 *) data)[1]); in ipath_ud_rcv()
442 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in ipath_ud_rcv()
458 if (unlikely(qkey != qp->qkey)) { in ipath_ud_rcv()
Dipath_qp.c326 qp->qkey = 0; in ipath_reset_qp()
591 qp->qkey = attr->qkey; in ipath_modify_qp()
629 attr->qkey = qp->qkey; in ipath_query_qp()
/drivers/staging/rdma/hfi1/
Dud.c129 u32 qkey; in ud_loopback() local
131 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? in ud_loopback()
132 sqp->qkey : swqe->ud_wr.remote_qkey; in ud_loopback()
133 if (unlikely(qkey != qp->qkey)) { in ud_loopback()
138 hfi1_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, in ud_loopback()
415 qp->qkey : wqe->ud_wr.remote_qkey); in hfi1_make_ud_req()
648 u32 qkey; in hfi1_ud_rcv() local
665 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in hfi1_ud_rcv()
754 if (unlikely(qkey != qp->qkey)) { in hfi1_ud_rcv()
755 hfi1_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, in hfi1_ud_rcv()
Dqp.c353 qp->qkey = 0; in reset_qp()
853 qp->qkey = attr->qkey; in hfi1_modify_qp()
900 attr->qkey = qp->qkey; in hfi1_query_qp()
/drivers/infiniband/hw/mthca/
Dmthca_wqe.h70 __be32 qkey; member
77 __be32 qkey; member
Dmthca_qp.c150 __be32 qkey; member
304 sqp->qkey = attr->qkey; in store_attrs()
463 qp_attr->qkey = be32_to_cpu(context->qkey); in mthca_query_qp()
764 qp_context->qkey = cpu_to_be32(attr->qkey); in __mthca_modify_qp()
1529 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header()
1530 sqp->qkey : wr->remote_qkey); in build_mlx_header()
1590 useg->qkey = cpu_to_be32(wr->remote_qkey); in set_tavor_ud_seg()
1599 useg->qkey = cpu_to_be32(wr->remote_qkey); in set_arbel_ud_seg()
Dmthca_provider.h291 u32 qkey; member
/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c59 qp_attr->qkey = priv->qkey; in ipoib_mcast_attach()
88 qp_attr.qkey = 0; in ipoib_init_qp()
Dipoib_multicast.c230 priv->broadcast->mcmember.qkey = mcmember->qkey; in ipoib_mcast_join_finish()
246 priv->qkey = be32_to_cpu(priv->broadcast->mcmember.qkey); in ipoib_mcast_join_finish()
248 priv->tx_wr.remote_qkey = priv->qkey; in ipoib_mcast_join_finish()
510 rec.qkey = priv->broadcast->mcmember.qkey; in ipoib_mcast_join()
/drivers/infiniband/core/
Dcma.c223 u32 qkey; member
387 static int cma_set_qkey(struct rdma_id_private *id_priv, u32 qkey) in cma_set_qkey() argument
392 if (id_priv->qkey) { in cma_set_qkey()
393 if (qkey && id_priv->qkey != qkey) in cma_set_qkey()
398 if (qkey) { in cma_set_qkey()
399 id_priv->qkey = qkey; in cma_set_qkey()
406 id_priv->qkey = RDMA_UDP_QKEY; in cma_set_qkey()
414 id_priv->qkey = be32_to_cpu(rec.qkey); in cma_set_qkey()
831 qp_attr->qkey = id_priv->qkey; in cma_ib_init_qp_attr()
3095 ret = cma_set_qkey(id_priv, rep->qkey); in cma_sidr_rep_handler()
[all …]
Duverbs_marshall.c62 dst->qkey = src->qkey; in ib_copy_qp_attr_to_user()
Ducm.c250 urep->qkey = krep->qkey; in ib_ucm_event_sidr_rep_get()
1061 param.qkey = cmd.qkey; in ib_ucm_send_sidr_rep()
Dud_header.c202 { STRUCT_FIELD(deth, qkey),
Ducma.c263 dst->qkey = src->qkey; in ucma_copy_ud_event()
1024 dst->qkey = (id->route.addr.src_addr.ss_family == AF_IB) ? src->qkey : 0; in ucma_copy_conn_param()
Dmulticast.c290 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
/drivers/infiniband/hw/mlx4/
Dqp.c84 u32 qkey; member
1293 sqp->qkey = attr->qkey; in store_sqp_attrs()
1765 context->qkey = cpu_to_be32(IB_QP_SET_QKEY); in __mlx4_ib_modify_qp()
1769 (attr->qkey & MLX4_RESERVED_QKEY_MASK) == in __mlx4_ib_modify_qp()
1773 " is reserved)\n", attr->qkey); in __mlx4_ib_modify_qp()
1777 context->qkey = cpu_to_be32(attr->qkey); in __mlx4_ib_modify_qp()
2134 static int vf_get_qp0_qkey(struct mlx4_dev *dev, int qpn, u32 *qkey) in vf_get_qp0_qkey() argument
2140 *qkey = dev->caps.qp0_qkey[i]; in vf_get_qp0_qkey()
2157 u32 qkey; in build_sriov_qp0_header() local
2208 if (mlx4_get_parav_qkey(mdev->dev, sqp->qp.mqp.qpn, &qkey)) in build_sriov_qp0_header()
[all …]
Dmcg.c88 __be32 qkey; member
391 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
1031 be32_to_cpu(group->rec.qkey), in sysfs_show_group()
Dmlx4_ib.h241 __be32 qkey; member
818 u32 qkey, struct ib_ah_attr *attr, u8 *s_mac,
/drivers/staging/rdma/ehca/
Dehca_classes.h198 u32 qkey; member
411 u32 qkey; member
Dehca_qp.c896 resp.qkey = my_qp->qkey; in internal_create_qp()
1299 .qkey = 0 in internal_modify_qp()
1483 mqpcb->qkey = attr->qkey; in internal_modify_qp()
1764 my_qp->qkey = attr->qkey; in internal_modify_qp()
1940 qp_attr->qkey = qpcb->qkey; in ehca_query_qp()
Dehca_classes_pSeries.h89 u32 qkey; /* 00 */ member
/drivers/net/ethernet/mellanox/mlx4/
Dfw.c257 u32 size, proxy_qp, qkey; in mlx4_QUERY_FUNC_CAP_wrapper() local
337 !mlx4_get_parav_qkey(dev, proxy_qp, &qkey)) { in mlx4_QUERY_FUNC_CAP_wrapper()
339 MLX4_PUT(outbox->buf, qkey, in mlx4_QUERY_FUNC_CAP_wrapper()
452 u32 size, qkey; in mlx4_QUERY_FUNC_CAP() local
591 MLX4_GET(qkey, outbox, QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET); in mlx4_QUERY_FUNC_CAP()
592 func_cap->qp0_qkey = qkey; in mlx4_QUERY_FUNC_CAP()
/drivers/infiniband/hw/mlx5/
Dqp.c1711 context->qkey = cpu_to_be32(attr->qkey); in __mlx5_ib_modify_qp()
1872 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey); in set_datagram_seg()
3090 qp_attr->qkey = be32_to_cpu(context->qkey); in mlx5_ib_query_qp()

12