/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 112 u32 qkey; in qib_ud_loopback() local 114 qkey = (int)rvt_get_swqe_remote_qkey(swqe) < 0 ? in qib_ud_loopback() 115 sqp->qkey : rvt_get_swqe_remote_qkey(swqe); in qib_ud_loopback() 116 if (unlikely(qkey != qp->qkey)) in qib_ud_loopback() 382 cpu_to_be32((int)rvt_get_swqe_remote_qkey(wqe) < 0 ? qp->qkey : in qib_make_ud_req() 434 u32 qkey; in qib_ud_rcv() local 446 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in qib_ud_rcv() 482 if (unlikely(qkey != qp->qkey)) in qib_ud_rcv()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 39 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()
|
D | ipoib_multicast.c | 235 priv->broadcast->mcmember.qkey = mcmember->qkey; in ipoib_mcast_join_finish() 251 priv->qkey = be32_to_cpu(priv->broadcast->mcmember.qkey); in ipoib_mcast_join_finish() 253 priv->tx_wr.remote_qkey = priv->qkey; in ipoib_mcast_join_finish() 267 set_qkey, priv->qkey); in ipoib_mcast_join_finish() 520 rec.qkey = priv->broadcast->mcmember.qkey; in ipoib_mcast_join()
|
D | ipoib.h | 368 u32 qkey; member 577 union ib_gid *mgid, u16 mlid, int set_qkey, u32 qkey);
|
/drivers/infiniband/hw/mthca/ |
D | mthca_wqe.h | 70 __be32 qkey; member 77 __be32 qkey; member
|
D | mthca_qp.c | 151 __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() 1550 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header() 1551 sqp->qkey : wr->remote_qkey); in build_mlx_header() 1611 useg->qkey = cpu_to_be32(wr->remote_qkey); in set_tavor_ud_seg() 1620 useg->qkey = cpu_to_be32(wr->remote_qkey); in set_arbel_ud_seg()
|
D | mthca_provider.h | 291 u32 qkey; member
|
/drivers/infiniband/sw/rxe/ |
D | rxe_recv.c | 138 u32 qkey = (qpn == 1) ? GSI_QKEY : qp->attr.qkey; in check_keys() local 140 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys() 142 deth_qkey(pkt), qkey, qpn); in check_keys()
|
D | rxe_hdr.h | 492 __be32 qkey; member 503 return be32_to_cpu(deth->qkey); in __deth_qkey() 506 static inline void __deth_set_qkey(void *arg, u32 qkey) in __deth_set_qkey() argument 510 deth->qkey = cpu_to_be32(qkey); in __deth_set_qkey() 533 static inline void deth_set_qkey(struct rxe_pkt_info *pkt, u32 qkey) in deth_set_qkey() argument 536 + rxe_opcode[pkt->opcode].offset[RXE_DETH], qkey); in deth_set_qkey()
|
D | rxe_verbs.h | 360 u32 qkey; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib.c | 175 context->qkey = cpu_to_be32(IB_DEFAULT_Q_KEY); in mlx5i_init_underlay_qp() 586 u32 qkey) in mlx5i_attach_mcast() argument 601 netdev->name, qkey); in mlx5i_attach_mcast() 602 ipriv->qkey = qkey; in mlx5i_attach_mcast() 634 return mlx5i_sq_xmit(sq, skb, &mah->av, dqpn, ipriv->qkey, netdev_xmit_more()); in mlx5i_xmit()
|
D | ipoib.h | 56 u32 qkey; member
|
/drivers/infiniband/core/ |
D | cma.c | 551 static int cma_set_qkey(struct rdma_id_private *id_priv, u32 qkey) in cma_set_qkey() argument 556 if (id_priv->qkey) { in cma_set_qkey() 557 if (qkey && id_priv->qkey != qkey) in cma_set_qkey() 562 if (qkey) { in cma_set_qkey() 563 id_priv->qkey = qkey; in cma_set_qkey() 570 id_priv->qkey = RDMA_UDP_QKEY; in cma_set_qkey() 578 id_priv->qkey = be32_to_cpu(rec.qkey); in cma_set_qkey() 1100 qp_attr->qkey = id_priv->qkey; in cma_ib_init_qp_attr() 3689 ret = cma_set_qkey(id_priv, rep->qkey); in cma_sidr_rep_handler() 3702 event.param.ud.qkey = rep->qkey; in cma_sidr_rep_handler() [all …]
|
D | uverbs_marshall.c | 104 dst->qkey = src->qkey; in ib_copy_qp_attr_to_user()
|
D | cma_priv.h | 82 u32 qkey; member
|
D | ucma.c | 277 dst->qkey = src->qkey; in ucma_copy_ud_event() 1049 dst->qkey = (id->route.addr.src_addr.ss_family == AF_IB) ? src->qkey : 0; in ucma_copy_conn_param()
|
/drivers/infiniband/hw/efa/ |
D | efa_com_cmd.h | 47 u32 qkey; member 58 u32 qkey; member
|
D | efa_admin_cmds_defs.h | 211 u32 qkey; member 247 u32 qkey; member
|
D | efa_com_cmd.c | 76 cmd.qkey = params->qkey; in efa_com_modify_qp() 121 result->qkey = resp.qkey; in efa_com_query_qp()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 521 qp->qkey = attr->qkey; in pvrdma_modify_qp() 539 cmd->attrs.qkey = attr->qkey; in pvrdma_modify_qp() 739 qp->qkey : ud_wr(wr)->remote_qkey; in pvrdma_post_send() 957 attr->qkey = resp->attrs.qkey; in pvrdma_query_qp()
|
D | pvrdma_verbs.h | 339 u32 qkey; member
|
/drivers/infiniband/hw/hfi1/ |
D | ud.c | 136 u32 qkey; in ud_loopback() local 138 qkey = (int)rvt_get_swqe_remote_qkey(swqe) < 0 ? in ud_loopback() 139 sqp->qkey : rvt_get_swqe_remote_qkey(swqe); in ud_loopback() 140 if (unlikely(qkey != qp->qkey)) in ud_loopback() 298 cpu_to_be32((int)rvt_get_swqe_remote_qkey(wqe) < 0 ? qp->qkey : in hfi1_make_bth_deth() 940 ib_get_qkey(packet->ohdr) != qp->qkey)) in hfi1_ud_rcv()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 84 u32 qkey; member 1785 sqp->qkey = attr->qkey; in store_sqp_attrs() 2437 context->qkey = cpu_to_be32(IB_QP_SET_QKEY); in __mlx4_ib_modify_qp() 2441 (attr->qkey & MLX4_RESERVED_QKEY_MASK) == in __mlx4_ib_modify_qp() 2445 " is reserved)\n", attr->qkey); in __mlx4_ib_modify_qp() 2449 context->qkey = cpu_to_be32(attr->qkey); in __mlx4_ib_modify_qp() 2867 static int vf_get_qp0_qkey(struct mlx4_dev *dev, int qpn, u32 *qkey) in vf_get_qp0_qkey() argument 2873 *qkey = dev->caps.spec_qps[i].qp0_qkey; in vf_get_qp0_qkey() 2890 u32 qkey; in build_sriov_qp0_header() local 2938 if (mlx4_get_parav_qkey(mdev->dev, sqp->qp.mqp.qpn, &qkey)) in build_sriov_qp0_header() [all …]
|
D | mcg.c | 88 __be32 qkey; member 391 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec() 1028 be32_to_cpu(group->rec.qkey), in sysfs_show_group()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 582 dseg->av.key.qkey.qkey = cpu_to_be32(dqkey); in mlx5i_txwqe_build_datagram()
|