/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 112 u32 qkey; in qib_ud_loopback() local 114 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? in qib_ud_loopback() 115 sqp->qkey : swqe->ud_wr.remote_qkey; in qib_ud_loopback() 116 if (unlikely(qkey != qp->qkey)) { in qib_ud_loopback() 121 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, in qib_ud_loopback() 395 qp->qkey : wqe->ud_wr.remote_qkey); in qib_make_ud_req() 446 u32 qkey; in qib_ud_rcv() local 458 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in qib_ud_rcv() 494 if (unlikely(qkey != qp->qkey)) { in qib_ud_rcv() 495 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, in qib_ud_rcv()
|
/drivers/infiniband/hw/hfi1/ |
D | ud.c | 127 u32 qkey; in ud_loopback() local 129 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? in ud_loopback() 130 sqp->qkey : swqe->ud_wr.remote_qkey; in ud_loopback() 131 if (unlikely(qkey != qp->qkey)) { in ud_loopback() 136 hfi1_bad_pqkey(ibp, OPA_TRAP_BAD_Q_KEY, qkey, in ud_loopback() 434 qp->qkey : wqe->ud_wr.remote_qkey); in hfi1_make_ud_req() 671 u32 qkey; in hfi1_ud_rcv() local 689 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in hfi1_ud_rcv() 741 if (unlikely(qkey != qp->qkey)) { in hfi1_ud_rcv() 742 hfi1_bad_pqkey(ibp, OPA_TRAP_BAD_Q_KEY, qkey, sl, in hfi1_ud_rcv()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_wqe.h | 70 __be32 qkey; member 77 __be32 qkey; member
|
D | mthca_qp.c | 150 __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()
|
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 | 484 __be32 qkey; member 495 return be32_to_cpu(deth->qkey); in __deth_qkey() 498 static inline void __deth_set_qkey(void *arg, u32 qkey) in __deth_set_qkey() argument 502 deth->qkey = cpu_to_be32(qkey); in __deth_set_qkey() 525 static inline void deth_set_qkey(struct rxe_pkt_info *pkt, u32 qkey) in deth_set_qkey() argument 528 + rxe_opcode[pkt->opcode].offset[RXE_DETH], qkey); in deth_set_qkey()
|
D | rxe_verbs.h | 351 u32 qkey; member
|
D | rxe_qp.c | 634 qp->attr.qkey = attr->qkey; in rxe_qp_from_attr()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 59 qp_attr->qkey = priv->qkey; in ipoib_mcast_attach() 88 qp_attr.qkey = 0; in ipoib_init_qp()
|
D | ipoib_multicast.c | 233 priv->broadcast->mcmember.qkey = mcmember->qkey; in ipoib_mcast_join_finish() 249 priv->qkey = be32_to_cpu(priv->broadcast->mcmember.qkey); in ipoib_mcast_join_finish() 251 priv->tx_wr.remote_qkey = priv->qkey; in ipoib_mcast_join_finish() 524 rec.qkey = priv->broadcast->mcmember.qkey; in ipoib_mcast_join()
|
/drivers/infiniband/core/ |
D | cma.c | 297 u32 qkey; member 494 static int cma_set_qkey(struct rdma_id_private *id_priv, u32 qkey) in cma_set_qkey() argument 499 if (id_priv->qkey) { in cma_set_qkey() 500 if (qkey && id_priv->qkey != qkey) in cma_set_qkey() 505 if (qkey) { in cma_set_qkey() 506 id_priv->qkey = qkey; in cma_set_qkey() 513 id_priv->qkey = RDMA_UDP_QKEY; in cma_set_qkey() 521 id_priv->qkey = be32_to_cpu(rec.qkey); in cma_set_qkey() 948 qp_attr->qkey = id_priv->qkey; in cma_ib_init_qp_attr() 3274 ret = cma_set_qkey(id_priv, rep->qkey); in cma_sidr_rep_handler() [all …]
|
D | uverbs_marshall.c | 62 dst->qkey = src->qkey; in ib_copy_qp_attr_to_user()
|
D | ucm.c | 248 urep->qkey = krep->qkey; in ib_ucm_event_sidr_rep_get() 1059 param.qkey = cmd.qkey; in ib_ucm_send_sidr_rep()
|
D | ucma.c | 260 dst->qkey = src->qkey; in ucma_copy_ud_event() 1021 dst->qkey = (id->route.addr.src_addr.ss_family == AF_IB) ? src->qkey : 0; in ucma_copy_conn_param()
|
D | multicast.c | 291 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
|
D | ud_header.c | 269 { STRUCT_FIELD(deth, qkey),
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 86 u32 qkey; member 1378 sqp->qkey = attr->qkey; in store_sqp_attrs() 1892 context->qkey = cpu_to_be32(IB_QP_SET_QKEY); in __mlx4_ib_modify_qp() 1896 (attr->qkey & MLX4_RESERVED_QKEY_MASK) == in __mlx4_ib_modify_qp() 1900 " is reserved)\n", attr->qkey); in __mlx4_ib_modify_qp() 1904 context->qkey = cpu_to_be32(attr->qkey); in __mlx4_ib_modify_qp() 2283 static int vf_get_qp0_qkey(struct mlx4_dev *dev, int qpn, u32 *qkey) in vf_get_qp0_qkey() argument 2289 *qkey = dev->caps.qp0_qkey[i]; in vf_get_qp0_qkey() 2306 u32 qkey; in build_sriov_qp0_header() local 2354 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()
|
D | mlx4_ib.h | 248 __be32 qkey; member 835 u32 qkey, struct ib_ah_attr *attr, u8 *s_mac,
|
/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 509 qp->qkey = 0; in rvt_init_qp() 1239 qp->qkey = attr->qkey; in rvt_modify_qp() 1354 attr->qkey = qp->qkey; in rvt_query_qp()
|
/drivers/infiniband/hw/qedr/ |
D | qedr.h | 356 u32 qkey; member
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 327 u32 size, proxy_qp, qkey; in mlx4_QUERY_FUNC_CAP_wrapper() local 411 !mlx4_get_parav_qkey(dev, proxy_qp, &qkey)) { in mlx4_QUERY_FUNC_CAP_wrapper() 413 MLX4_PUT(outbox->buf, qkey, in mlx4_QUERY_FUNC_CAP_wrapper() 539 u32 size, qkey; in mlx4_QUERY_FUNC_CAP() local 680 MLX4_GET(qkey, outbox, QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET); in mlx4_QUERY_FUNC_CAP() 681 func_cap->qp0_qkey = qkey; in mlx4_QUERY_FUNC_CAP()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 428 u32 qkey; member
|
/drivers/infiniband/hw/mlx5/ |
D | gsi.c | 283 attr.qkey = IB_QP1_QKEY; in modify_to_rts()
|