/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_ud.c | 102 * Check that the qkey matches (except for QP0, see 9.6.1.4.1). qib_ud_loopback() 104 * qkey from the QP context instead of the WR (see 10.2.5). qib_ud_loopback() 107 u32 qkey; qib_ud_loopback() local 109 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? qib_ud_loopback() 110 sqp->qkey : swqe->ud_wr.remote_qkey; qib_ud_loopback() 111 if (unlikely(qkey != qp->qkey)) { qib_ud_loopback() 116 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, qib_ud_loopback() 378 * qkey from the QP context instead of the WR (see 10.2.5). qib_make_ud_req() 381 qp->qkey : wqe->ud_wr.remote_qkey); qib_make_ud_req() 436 u32 qkey; qib_ud_rcv() local 448 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); qib_ud_rcv() 484 if (unlikely(qkey != qp->qkey)) { qib_ud_rcv() 485 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, qib_ud_rcv()
|
H A D | qib_qp.c | 374 qp->qkey = 0; qib_reset_qp() 817 qp->qkey = attr->qkey; qib_modify_qp() 864 attr->qkey = qp->qkey; qib_query_qp()
|
H A D | qib_verbs.h | 442 u32 qkey; /* QKEY for this QP (for UD or RD) */ member in struct:qib_qp
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_ud.c | 74 * Check that the qkey matches (except for QP0, see 9.6.1.4.1). ipath_ud_loopback() 76 * qkey from the QP context instead of the WR (see 10.2.5). ipath_ud_loopback() 80 sqp->qkey : swqe->ud_wr.remote_qkey) != qp->qkey)) { ipath_ud_loopback() 378 * qkey from the QP context instead of the WR (see 10.2.5). ipath_make_ud_req() 381 qp->qkey : wqe->ud_wr.remote_qkey); ipath_make_ud_req() 416 u32 qkey; ipath_ud_rcv() local 425 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); ipath_ud_rcv() 438 qkey = be32_to_cpu(((__be32 *) data)[1]); ipath_ud_rcv() 442 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); ipath_ud_rcv() 458 if (unlikely(qkey != qp->qkey)) { ipath_ud_rcv()
|
H A D | ipath_qp.c | 326 qp->qkey = 0; ipath_reset_qp() 591 qp->qkey = attr->qkey; ipath_modify_qp() 629 attr->qkey = qp->qkey; ipath_query_qp()
|
H A D | ipath_verbs.h | 430 u32 qkey; /* QKEY for this QP (for UD or RD) */ member in struct:ipath_qp
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
H A D | mthca_wqe.h | 70 __be32 qkey; member in struct:mthca_tavor_ud_seg 77 __be32 qkey; member in struct:mthca_arbel_ud_seg
|
H A D | mthca_qp.c | 150 __be32 qkey; member in struct:mthca_qp_context 304 sqp->qkey = attr->qkey; store_attrs() 463 qp_attr->qkey = be32_to_cpu(context->qkey); mthca_query_qp() 764 qp_context->qkey = cpu_to_be32(attr->qkey); __mthca_modify_qp() 1529 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? build_mlx_header() 1530 sqp->qkey : wr->remote_qkey); build_mlx_header() 1590 useg->qkey = cpu_to_be32(wr->remote_qkey); set_tavor_ud_seg() 1599 useg->qkey = cpu_to_be32(wr->remote_qkey); set_arbel_ud_seg()
|
H A D | mthca_provider.h | 291 u32 qkey; member in struct:mthca_sqp
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | ud.c | 124 * Check that the qkey matches (except for QP0, see 9.6.1.4.1). ud_loopback() 126 * qkey from the QP context instead of the WR (see 10.2.5). ud_loopback() 129 u32 qkey; ud_loopback() local 131 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? ud_loopback() 132 sqp->qkey : swqe->ud_wr.remote_qkey; ud_loopback() 133 if (unlikely(qkey != qp->qkey)) { ud_loopback() 138 hfi1_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, ud_loopback() 412 * qkey from the QP context instead of the WR (see 10.2.5). hfi1_make_ud_req() 415 qp->qkey : wqe->ud_wr.remote_qkey); hfi1_make_ud_req() 648 u32 qkey; hfi1_ud_rcv() local 665 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); hfi1_ud_rcv() 754 if (unlikely(qkey != qp->qkey)) { hfi1_ud_rcv() 755 hfi1_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_QKEY, qkey, hfi1_ud_rcv()
|
H A D | trace.c | 71 #define DETH_PRN "deth qkey 0x%.8x sqpn 0x%.6x"
|
H A D | qp.c | 353 qp->qkey = 0; reset_qp() 853 qp->qkey = attr->qkey; hfi1_modify_qp() 900 attr->qkey = qp->qkey; hfi1_query_qp()
|
H A D | verbs.h | 451 u32 qkey; /* QKEY for this QP (for UD or RD) */ member in struct:hfi1_qp
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 62 dst->qkey = src->qkey; ib_copy_qp_attr_to_user()
|
H A D | cma.c | 223 u32 qkey; member in struct:rdma_id_private 387 static int cma_set_qkey(struct rdma_id_private *id_priv, u32 qkey) cma_set_qkey() argument 392 if (id_priv->qkey) { cma_set_qkey() 393 if (qkey && id_priv->qkey != qkey) cma_set_qkey() 398 if (qkey) { cma_set_qkey() 399 id_priv->qkey = qkey; cma_set_qkey() 406 id_priv->qkey = RDMA_UDP_QKEY; cma_set_qkey() 414 id_priv->qkey = be32_to_cpu(rec.qkey); cma_set_qkey() 828 qp_attr->qkey = id_priv->qkey; cma_ib_init_qp_attr() 3078 ret = cma_set_qkey(id_priv, rep->qkey); cma_sidr_rep_handler() 3088 event.param.ud.qkey = rep->qkey; cma_sidr_rep_handler() 3368 enum ib_cm_sidr_status status, u32 qkey, cma_send_sidr_rep() 3377 ret = cma_set_qkey(id_priv, qkey); cma_send_sidr_rep() 3381 rep.qkey = id_priv->qkey; cma_send_sidr_rep() 3410 conn_param->qkey, rdma_accept() 3526 status = cma_set_qkey(id_priv, be32_to_cpu(multicast->rec.qkey)); cma_ib_mc_handler() 3542 event.param.ud.qkey = be32_to_cpu(multicast->rec.qkey); cma_ib_mc_handler() 3607 rec.qkey = cpu_to_be32(id_priv->qkey); cma_join_ib_multicast() 3696 mc->multicast.ib->rec.qkey = cpu_to_be32(RDMA_UDP_QKEY); cma_iboe_join_multicast() 3367 cma_send_sidr_rep(struct rdma_id_private *id_priv, enum ib_cm_sidr_status status, u32 qkey, const void *private_data, int private_data_len) cma_send_sidr_rep() argument
|
H A D | ucm.c | 248 urep->qkey = krep->qkey; ib_ucm_event_sidr_rep_get() 1059 param.qkey = cmd.qkey; ib_ucm_send_sidr_rep()
|
H A D | ud_header.c | 202 { STRUCT_FIELD(deth, qkey),
|
H A D | multicast.c | 291 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) cmp_rec()
|
H A D | ucma.c | 259 dst->qkey = src->qkey; ucma_copy_ud_event() 1010 dst->qkey = (id->route.addr.src_addr.ss_family == AF_IB) ? src->qkey : 0; ucma_copy_conn_param()
|
H A D | cm_msgs.h | 817 __be32 qkey; member in struct:cm_sidr_rep_msg
|
H A D | uverbs_cmd.c | 2202 resp.qkey = attr->qkey; ib_uverbs_query_qp() 2307 attr->qkey = cmd.qkey; ib_uverbs_modify_qp()
|
H A D | cm.c | 3134 sidr_rep_msg->qkey = cpu_to_be32(param->qkey); cm_format_sidr_rep() 3201 param->qkey = be32_to_cpu(sidr_rep_msg->qkey); cm_format_sidr_rep_event()
|
H A D | sa_query.c | 275 { MCMEMBER_REC_FIELD(qkey),
|
H A D | mad.c | 3012 attr->qkey = (qp->qp_num == 0) ? 0 : IB_QP1_QKEY; ib_mad_port_start()
|
/linux-4.4.14/include/uapi/rdma/ |
H A D | rdma_user_cm.h | 179 __u32 qkey; member in struct:rdma_ucm_conn_param 193 __u32 qkey; member in struct:rdma_ucm_ud_param
|
H A D | ib_user_mad.h | 61 * @qkey - Remote Q_Key to be sent with (unset on receive) 79 __be32 qkey; member in struct:ib_user_mad_hdr_old 104 * @qkey - Remote Q_Key to be sent with (unset on receive) 123 __be32 qkey; member in struct:ib_user_mad_hdr
|
H A D | ib_user_cm.h | 212 __u32 qkey; member in struct:ib_ucm_sidr_rep 294 __u32 qkey; member in struct:ib_ucm_sidr_rep_event_resp
|
H A D | ib_user_verbs.h | 469 __u32 qkey; member in struct:ib_uverbs_qp_attr 601 __u32 qkey; member in struct:ib_uverbs_query_qp_resp 632 __u32 qkey; member in struct:ib_uverbs_modify_qp
|
/linux-4.4.14/include/rdma/ |
H A D | rdma_cm_ib.h | 51 /* Global qkey for UDP QPs and multicast groups. */
|
H A D | rdma_cm.h | 103 u32 qkey; member in struct:rdma_conn_param 111 u32 qkey; member in struct:rdma_ud_param
|
H A D | ib_pack.h | 214 __be32 qkey; member in struct:ib_unpacked_deth
|
H A D | ib_cm.h | 246 u32 qkey; member in struct:ib_cm_sidr_rep_event_param 588 u32 qkey; member in struct:ib_cm_sidr_rep_param
|
H A D | ib_sa.h | 192 __be32 qkey; member in struct:ib_sa_mcmember_rec
|
H A D | ib_verbs.h | 992 u32 qkey; member in struct:ib_qp_attr
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_verbs.c | 59 qp_attr->qkey = priv->qkey; ipoib_mcast_attach() 88 qp_attr.qkey = 0; ipoib_init_qp()
|
H A D | ipoib_multicast.c | 230 priv->broadcast->mcmember.qkey = mcmember->qkey; ipoib_mcast_join_finish() 246 priv->qkey = be32_to_cpu(priv->broadcast->mcmember.qkey); ipoib_mcast_join_finish() 248 priv->tx_wr.remote_qkey = priv->qkey; ipoib_mcast_join_finish() 507 rec.qkey = priv->broadcast->mcmember.qkey; ipoib_mcast_join()
|
H A D | ipoib.h | 348 u32 qkey; member in struct:ipoib_dev_priv
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 84 u32 qkey; member in struct:mlx4_ib_sqp 1288 sqp->qkey = attr->qkey; store_sqp_attrs() 1760 context->qkey = cpu_to_be32(IB_QP_SET_QKEY); __mlx4_ib_modify_qp() 1764 (attr->qkey & MLX4_RESERVED_QKEY_MASK) == __mlx4_ib_modify_qp() 1768 " is reserved)\n", attr->qkey); __mlx4_ib_modify_qp() 1772 context->qkey = cpu_to_be32(attr->qkey); __mlx4_ib_modify_qp() 2129 static int vf_get_qp0_qkey(struct mlx4_dev *dev, int qpn, u32 *qkey) vf_get_qp0_qkey() argument 2135 *qkey = dev->caps.qp0_qkey[i]; vf_get_qp0_qkey() 2152 u32 qkey; build_sriov_qp0_header() local 2200 if (mlx4_get_parav_qkey(mdev->dev, sqp->qp.mqp.qpn, &qkey)) build_sriov_qp0_header() 2203 if (vf_get_qp0_qkey(mdev->dev, sqp->qp.mqp.qpn, &qkey)) build_sriov_qp0_header() 2206 sqp->ud_header.deth.qkey = cpu_to_be32(qkey); build_sriov_qp0_header() 2426 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? build_mlx_header() 2427 sqp->qkey : wr->remote_qkey); build_mlx_header() 2594 dseg->qkey = cpu_to_be32(wr->remote_qkey); set_datagram_seg() 2620 dseg->qkey = cpu_to_be32(IB_QP_SET_QKEY); set_tunnel_datagram_seg() 2634 hdr.qkey = cpu_to_be32(wr->remote_qkey); build_tunnel_header() 3258 qp_attr->qkey = be32_to_cpu(context.qkey); mlx4_ib_query_qp()
|
H A D | mcg.c | 88 __be32 qkey; member in struct:ib_sa_mcmember_data 391 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) cmp_rec() 1031 be32_to_cpu(group->rec.qkey), sysfs_show_group()
|
H A D | mlx4_ib.h | 241 __be32 qkey; member in struct:mlx4_ib_tunnel_header 818 u32 qkey, struct ib_ah_attr *attr, u8 *s_mac,
|
H A D | mad.c | 1186 u32 remote_qpn, u32 qkey, struct ib_ah_attr *attr, mlx4_ib_send_to_wire() 1265 wr.remote_qkey = qkey; mlx4_ib_send_to_wire() 1413 be32_to_cpu(tunnel->hdr.qkey), mlx4_ib_multiplex_mad() 1669 attr.qkey = IB_QP1_QKEY; create_pv_sqp() 1184 mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, u32 qkey, struct ib_ah_attr *attr, u8 *s_mac, u16 vlan_id, struct ib_mad *mad) mlx4_ib_send_to_wire() argument
|
H A D | main.c | 878 * of whether port link layer is ETH or IB. For ETH ports, qkey mlx4_ib_modify_port()
|
/linux-4.4.14/include/linux/mlx4/ |
H A D | qp.h | 215 __be32 qkey; member in struct:mlx4_qp_context 353 __be32 qkey; member in struct:mlx4_wqe_datagram_seg
|
H A D | device.h | 86 /* base qkey for use in sriov tunnel-qp/proxy-qp communication. 1406 int mlx4_get_parav_qkey(struct mlx4_dev *dev, u32 qpn, u32 *qkey);
|
/linux-4.4.14/include/linux/mlx5/ |
H A D | qp.h | 243 __be32 qkey; member in struct:mlx5_av::__anon12886::__anon12887 245 } qkey; member in union:mlx5_av::__anon12886 489 __be32 qkey; member in struct:mlx5_qp_context
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
H A D | ehca_classes_pSeries.h | 89 u32 qkey; /* 00 */ member in struct:hcp_modify_qp_control_block
|
H A D | ehca_qp.c | 896 resp.qkey = my_qp->qkey; internal_create_qp() 1299 .qkey = 0 internal_modify_qp() 1483 mqpcb->qkey = attr->qkey; internal_modify_qp() 1764 my_qp->qkey = attr->qkey; internal_modify_qp() 1940 qp_attr->qkey = qpcb->qkey; ehca_query_qp()
|
H A D | ehca_classes.h | 198 u32 qkey; member in struct:ehca_qp 411 u32 qkey; member in struct:ehca_create_qp_resp
|
H A D | ehca_reqs.c | 228 remote_qkey = qp->qkey; ehca_write_swqe()
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | qdio.h | 59 * @qkey: queue information block key 80 u32 qkey : 4; member in struct:qdr
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | 1682 context->qkey = cpu_to_be32(attr->qkey); __mlx5_ib_modify_qp() 1843 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey); set_datagram_seg() 3060 qp_attr->qkey = be32_to_cpu(context->qkey); mlx5_ib_query_qp()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw.c | 257 u32 size, proxy_qp, qkey; mlx4_QUERY_FUNC_CAP_wrapper() local 337 !mlx4_get_parav_qkey(dev, proxy_qp, &qkey)) { mlx4_QUERY_FUNC_CAP_wrapper() 339 MLX4_PUT(outbox->buf, qkey, mlx4_QUERY_FUNC_CAP_wrapper() 452 u32 size, qkey; mlx4_QUERY_FUNC_CAP() local 591 MLX4_GET(qkey, outbox, QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET); mlx4_QUERY_FUNC_CAP() 592 func_cap->qp0_qkey = qkey; mlx4_QUERY_FUNC_CAP()
|
H A D | resource_tracker.c | 2861 u32 qkey = 0; adjust_proxy_tun_qkey() local 2863 if (mlx4_get_parav_qkey(dev, qpn, &qkey)) adjust_proxy_tun_qkey() 2866 /* adjust qkey in qp context */ adjust_proxy_tun_qkey() 2867 context->qkey = cpu_to_be32(qkey); adjust_proxy_tun_qkey()
|
H A D | main.c | 689 int mlx4_get_parav_qkey(struct mlx4_dev *dev, u32 qpn, u32 *qkey) mlx4_get_parav_qkey() argument 702 *qkey = qk; mlx4_get_parav_qkey()
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | qdio_setup.c | 427 irq_ptr->qdr->qkey = PAGE_DEFAULT_KEY >> 4; setup_qdr()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma.h | 429 u32 qkey; member in struct:ocrdma_qp
|
H A D | ocrdma_sli.h | 1188 u32 qkey; member in struct:ocrdma_qp_params 1862 u32 qkey; member in struct:ocrdma_ewqe_ud_hdr
|
H A D | ocrdma_verbs.c | 1589 qp_attr->qkey = params.qkey; ocrdma_query_qp() 2005 ud_hdr->qkey = qp->qkey; ocrdma_build_ud_hdr() 2007 ud_hdr->qkey = ud_wr(wr)->remote_qkey; ocrdma_build_ud_hdr()
|
H A D | ocrdma_hw.c | 2578 qp->qkey = attrs->qkey; ocrdma_set_qp_params() 2579 cmd->params.qkey = attrs->qkey; ocrdma_set_qp_params()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.c | 392 qp_attr->qkey = 0; usnic_ib_query_qp()
|