Home
last modified time | relevance | path

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

12

/drivers/infiniband/hw/qib/
Dqib_ud.c100 u32 qkey; in qib_ud_loopback() local
102 qkey = (int)swqe->wr.wr.ud.remote_qkey < 0 ? in qib_ud_loopback()
103 sqp->qkey : swqe->wr.wr.ud.remote_qkey; in qib_ud_loopback()
104 if (unlikely(qkey != qp->qkey)) { in qib_ud_loopback()
109 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, in qib_ud_loopback()
374 qp->qkey : wqe->wr.wr.ud.remote_qkey); in qib_make_ud_req()
429 u32 qkey; in qib_ud_rcv() local
441 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in qib_ud_rcv()
477 if (unlikely(qkey != qp->qkey)) { in qib_ud_rcv()
478 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, in qib_ud_rcv()
Dqib_qp.c369 qp->qkey = 0; in qib_reset_qp()
812 qp->qkey = attr->qkey; in qib_modify_qp()
859 attr->qkey = qp->qkey; in qib_query_qp()
/drivers/infiniband/hw/ipath/
Dipath_ud.c81 sqp->qkey : swqe->wr.wr.ud.remote_qkey) != qp->qkey)) { in ipath_ud_loopback()
382 qp->qkey : wqe->wr.wr.ud.remote_qkey); in ipath_make_ud_req()
417 u32 qkey; in ipath_ud_rcv() local
426 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in ipath_ud_rcv()
439 qkey = be32_to_cpu(((__be32 *) data)[1]); in ipath_ud_rcv()
443 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in ipath_ud_rcv()
459 if (unlikely(qkey != qp->qkey)) { in ipath_ud_rcv()
Dipath_qp.c327 qp->qkey = 0; in ipath_reset_qp()
592 qp->qkey = attr->qkey; in ipath_modify_qp()
630 attr->qkey = qp->qkey; in ipath_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()
1528 sqp->ud_header.deth.qkey = cpu_to_be32(wr->wr.ud.remote_qkey & 0x80000000 ? in build_mlx_header()
1529 sqp->qkey : wr->wr.ud.remote_qkey); in build_mlx_header()
1589 useg->qkey = cpu_to_be32(wr->wr.ud.remote_qkey); in set_tavor_ud_seg()
1598 useg->qkey = cpu_to_be32(wr->wr.ud.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.c189 priv->qkey = be32_to_cpu(priv->broadcast->mcmember.qkey); in ipoib_mcast_join_finish()
191 priv->tx_wr.wr.ud.remote_qkey = priv->qkey; in ipoib_mcast_join_finish()
475 rec.qkey = priv->broadcast->mcmember.qkey; in ipoib_mcast_join()
Dipoib.h331 u32 qkey; member
/drivers/infiniband/hw/mlx4/
Dqp.c77 u32 qkey; member
1137 sqp->qkey = attr->qkey; in store_sqp_attrs()
1421 context->qkey = cpu_to_be32(IB_QP_SET_QKEY); in __mlx4_ib_modify_qp()
1425 (attr->qkey & MLX4_RESERVED_QKEY_MASK) == in __mlx4_ib_modify_qp()
1429 " is reserved)\n", attr->qkey); in __mlx4_ib_modify_qp()
1433 context->qkey = cpu_to_be32(attr->qkey); in __mlx4_ib_modify_qp()
1644 u32 qkey; in build_sriov_qp0_header() local
1691 if (mlx4_get_parav_qkey(mdev->dev, sqp->qp.mqp.qpn, &qkey)) in build_sriov_qp0_header()
1693 sqp->ud_header.deth.qkey = cpu_to_be32(qkey); in build_sriov_qp0_header()
1884 sqp->ud_header.deth.qkey = cpu_to_be32(wr->wr.ud.remote_qkey & 0x80000000 ? in build_mlx_header()
[all …]
Dmcg.c84 __be32 qkey; member
385 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
1025 be32_to_cpu(group->rec.qkey), in sysfs_show_group()
Dmlx4_ib.h206 __be32 qkey; member
705 u32 qkey, struct ib_ah_attr *attr, struct ib_mad *mad);
Dmad.c1080 u32 qkey, struct ib_ah_attr *attr, struct ib_mad *mad) in mlx4_ib_send_to_wire() argument
1161 wr.wr.ud.remote_qkey = qkey; in mlx4_ib_send_to_wire()
1275 be32_to_cpu(tunnel->hdr.qkey), in mlx4_ib_multiplex_mad()
1516 attr.qkey = IB_QP1_QKEY; in create_pv_sqp()
/drivers/infiniband/core/
Duverbs_marshall.c62 dst->qkey = src->qkey; in ib_copy_qp_attr_to_user()
Dcma.c141 u32 qkey; member
318 if (id_priv->qkey) in cma_set_qkey()
323 id_priv->qkey = RDMA_UDP_QKEY; in cma_set_qkey()
331 id_priv->qkey = be32_to_cpu(rec.qkey); in cma_set_qkey()
637 qp_attr->qkey = id_priv->qkey; in cma_ib_init_qp_attr()
2508 if (id_priv->qkey != rep->qkey) { in cma_sidr_rep_handler()
2517 event.param.ud.qkey = rep->qkey; in cma_sidr_rep_handler()
2805 rep.qkey = id_priv->qkey; in cma_send_sidr_rep()
2976 event.param.ud.qkey = be32_to_cpu(multicast->rec.qkey); in cma_ib_mc_handler()
3036 rec.qkey = cpu_to_be32(RDMA_UDP_QKEY); in cma_join_ib_multicast()
[all …]
Ducm.c247 urep->qkey = krep->qkey; in ib_ucm_event_sidr_rep_get()
1059 param.qkey = cmd.qkey; in ib_ucm_send_sidr_rep()
Dud_header.c202 { STRUCT_FIELD(deth, qkey),
Dmulticast.c291 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
/drivers/infiniband/hw/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/infiniband/hw/ocrdma/
Docrdma.h294 u32 qkey; member
Docrdma_sli.h993 u32 qkey; member
1638 u32 qkey; member
/drivers/s390/cio/
Dqdio_setup.c386 irq_ptr->qdr->qkey = PAGE_DEFAULT_KEY >> 4; in setup_qdr()

12