Home
last modified time | relevance | path

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

123

/linux/include/trace/events/
H A Dib_umad.h32 __field(u32, qkey)
62 __entry->qkey = umad_hdr->qkey;
95 be32_to_cpu(__entry->qkey), be16_to_cpu(__entry->lid),
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c39 union ib_gid *mgid, u16 mlid, int set_qkey, u32 qkey) in ipoib_mcast_attach() argument
60 qp_attr->qkey = qkey; in ipoib_mcast_attach()
100 qp_attr.qkey = 0; in ipoib_init_qp()
H A Dipoib_multicast.c235 priv->broadcast->mcmember.qkey = mcmember->qkey; in ipoib_mcast_join_finish()
250 priv->qkey = be32_to_cpu(priv->broadcast->mcmember.qkey); in ipoib_mcast_join_finish()
252 priv->tx_wr.remote_qkey = priv->qkey; in ipoib_mcast_join_finish()
266 set_qkey, priv->qkey); in ipoib_mcast_join_finish()
509 rec.qkey = priv->broadcast->mcmember.qkey; in ipoib_mcast_join()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_wqe.h70 __be32 qkey; member
77 __be32 qkey; member
H A Dmthca_qp.c151 __be32 qkey; member
305 sqp->qkey = attr->qkey; in store_attrs()
469 qp_attr->qkey = be32_to_cpu(context->qkey); in mthca_query_qp()
780 qp_context->qkey = cpu_to_be32(attr->qkey); in __mthca_modify_qp()
1552 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header()
1553 sqp->qkey : wr->remote_qkey); in build_mlx_header()
1613 useg->qkey = cpu_to_be32(wr->remote_qkey); in set_tavor_ud_seg()
1622 useg->qkey = cpu_to_be32(wr->remote_qkey); in set_arbel_ud_seg()
H A Dmthca_provider.h245 u32 qkey; member
/linux/include/uapi/rdma/
H A Dib_user_mad.h80 __be32 qkey; member
124 __be32 qkey; member
H A Drdma_user_cm.h201 __u32 qkey; member
215 __u32 qkey; member
H A Dib_user_verbs.h570 __u32 qkey; member
713 __u32 qkey; member
744 __u32 qkey; member
/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_main.c106 u32 qkey) in hfi1_ipoib_mcast_attach() argument
121 priv->qkey = qkey; in hfi1_ipoib_mcast_attach()
H A Dud.c94 u32 qkey; in ud_loopback() local
96 qkey = (int)rvt_get_swqe_remote_qkey(swqe) < 0 ? in ud_loopback()
97 sqp->qkey : rvt_get_swqe_remote_qkey(swqe); in ud_loopback()
98 if (unlikely(qkey != qp->qkey)) in ud_loopback()
256 cpu_to_be32((int)rvt_get_swqe_remote_qkey(wqe) < 0 ? qp->qkey : in hfi1_make_bth_deth()
894 ib_get_qkey(packet->ohdr) != qp->qkey)) in hfi1_ud_rcv()
H A Dipoib.h128 u32 qkey; member
/linux/drivers/infiniband/sw/rxe/
H A Drxe_hdr.h464 __be32 qkey; member
475 return be32_to_cpu(deth->qkey); in __deth_qkey()
478 static inline void __deth_set_qkey(void *arg, u32 qkey) in __deth_set_qkey() argument
482 deth->qkey = cpu_to_be32(qkey); in __deth_set_qkey()
505 static inline void deth_set_qkey(struct rxe_pkt_info *pkt, u32 qkey) in deth_set_qkey() argument
508 rxe_opcode[pkt->opcode].offset[RXE_DETH], qkey); in deth_set_qkey()
H A Drxe_recv.c89 u32 qkey = (qpn == 1) ? GSI_QKEY : qp->attr.qkey; in check_keys() local
91 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys()
H A Drxe_qp.c732 qp->attr.qkey = attr->qkey; in rxe_qp_from_attr()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_qp.c574 qp->qkey = attr->qkey; in pvrdma_modify_qp()
592 cmd->attrs.qkey = attr->qkey; in pvrdma_modify_qp()
784 qp->qkey : ud_wr(wr)->remote_qkey; in pvrdma_post_send()
1002 attr->qkey = resp->attrs.qkey; in pvrdma_query_qp()
H A Dpvrdma.h184 u32 qkey; member
/linux/include/rdma/
H A Dib_cm.h235 u32 qkey; member
532 u32 qkey; member
/linux/drivers/infiniband/core/
H A Dcma.c623 id_priv->qkey = RDMA_UDP_QKEY; in cma_set_default_qkey()
631 id_priv->qkey = be32_to_cpu(rec.qkey); in cma_set_default_qkey()
639 static int cma_set_qkey(struct rdma_id_private *id_priv, u32 qkey) in cma_set_qkey() argument
641 if (!qkey || in cma_set_qkey()
642 (id_priv->qkey && (id_priv->qkey != qkey))) in cma_set_qkey()
645 id_priv->qkey = qkey; in cma_set_qkey()
1281 qp_attr->qkey = id_priv->qkey; in cma_ib_init_qp_attr()
4274 ret = cma_set_qkey(id_priv, rep->qkey); in cma_sidr_rep_handler()
4287 event.param.ud.qkey = rep->qkey; in cma_sidr_rep_handler()
4643 enum ib_cm_sidr_status status, u32 qkey, in cma_send_sidr_rep() argument
[all …]
H A Dmulticast.c291 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
/linux/include/linux/mlx4/
H A Dqp.h217 __be32 qkey; member
358 __be32 qkey; member
/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c1769 sqp->qkey = attr->qkey; in store_sqp_attrs()
2421 context->qkey = cpu_to_be32(IB_QP_SET_QKEY); in __mlx4_ib_modify_qp()
2425 (attr->qkey & MLX4_RESERVED_QKEY_MASK) == in __mlx4_ib_modify_qp()
2429 " is reserved)\n", attr->qkey); in __mlx4_ib_modify_qp()
2433 context->qkey = cpu_to_be32(attr->qkey); in __mlx4_ib_modify_qp()
2854 static int vf_get_qp0_qkey(struct mlx4_dev *dev, int qpn, u32 *qkey) in vf_get_qp0_qkey() argument
2860 *qkey = dev->caps.spec_qps[i].qp0_qkey; in vf_get_qp0_qkey()
2878 u32 qkey; in build_sriov_qp0_header() local
2929 if (mlx4_get_parav_qkey(mdev->dev, qp->mqp.qpn, &qkey)) in build_sriov_qp0_header()
2932 if (vf_get_qp0_qkey(mdev->dev, qp->mqp.qpn, &qkey)) in build_sriov_qp0_header()
[all …]
H A Dmcg.c88 __be32 qkey; member
391 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
1038 be32_to_cpu(group->rec.qkey), in sysfs_show_group()
/linux/samples/bpf/
H A Dibumad_kern.c57 u32 qkey; member
/linux/arch/s390/include/asm/
H A Dqdio.h80 u32 qkey : 4; member

123