/drivers/infiniband/core/ |
D | multicast.c | 110 u16 pkey_index; member 397 u16 pkey_index; in process_group_error() local 402 be16_to_cpu(group->rec.pkey), &pkey_index); in process_group_error() 406 group->pkey_index == pkey_index) in process_group_error() 523 u16 pkey_index = MCAST_INVALID_PKEY_INDEX; in join_handler() local 529 be16_to_cpu(rec->pkey), &pkey_index); in join_handler() 534 group->pkey_index == MCAST_INVALID_PKEY_INDEX) in join_handler() 535 group->pkey_index = pkey_index; in join_handler() 580 group->pkey_index = MCAST_INVALID_PKEY_INDEX; in acquire_group()
|
D | uverbs_marshall.c | 77 dst->pkey_index = src->pkey_index; in ib_copy_qp_attr_to_user()
|
D | sa_query.c | 57 u16 pkey_index; member 414 new_ah->pkey_index = 0; in update_sm_ah() 416 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) in update_sm_ah() 577 query->sm_ah->pkey_index, in alloc_mad()
|
D | agent.c | 109 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0, in agent_send_response()
|
D | mad.c | 655 u64 wr_id, u16 slid, u16 pkey_index, u8 port_num, in build_smp_wc() argument 662 wc->pkey_index = pkey_index; in build_smp_wc() 736 send_wr->wr.ud.pkey_index, in handle_outgoing_dr_smp() 866 u32 remote_qpn, u16 pkey_index, in ib_create_send_mad() argument 911 mad_send_wr->send_wr.wr.ud.pkey_index = pkey_index; in ib_create_send_mad() 2683 attr->pkey_index = 0; in ib_mad_port_start()
|
D | user_mad.c | 229 packet->mad.hdr.pkey_index = mad_recv_wc->wc->pkey_index; in recv_handler() 515 packet->mad.hdr.pkey_index, rmpp_active, in ib_umad_write()
|
D | cm.c | 178 u16 pkey_index; member 265 cm_id_priv->av.pkey_index, in cm_alloc_msg() 295 m = ib_create_send_mad(port->mad_agent, 1, mad_recv_wc->wc->pkey_index, in cm_alloc_response_msg() 344 av->pkey_index = wc->pkey_index; in cm_init_av_for_response() 371 be16_to_cpu(path->pkey), &av->pkey_index); in cm_init_av_by_path() 3475 qp_attr->pkey_index = cm_id_priv->av.pkey_index; in cm_init_qp_init_attr() 3520 qp_attr->alt_pkey_index = cm_id_priv->alt_av.pkey_index; in cm_init_qp_rtr_attr() 3578 qp_attr->alt_pkey_index = cm_id_priv->alt_av.pkey_index; in cm_init_qp_rts_attr()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 43 u16 pkey_index; in ipoib_mcast_attach() local 45 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) { in ipoib_mcast_attach() 90 qp_attr.pkey_index = priv->pkey_index; in ipoib_init_qp()
|
D | ipoib_ib.c | 672 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &priv->pkey_index)) { in ipoib_ib_dev_open() 712 u16 pkey_index = 0; in ipoib_pkey_dev_check_presence() local 714 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) in ipoib_pkey_dev_check_presence() 974 new_index == priv->pkey_index) { in __ipoib_ib_dev_flush() 978 priv->pkey_index = new_index; in __ipoib_ib_dev_flush()
|
/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 205 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback() 206 swqe->wr.wr.ud.pkey_index : 0; in qib_ud_loopback() 359 wqe->wr.wr.ud.pkey_index : qp->s_pkey_index); in qib_make_ud_req() 564 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_rcv()
|
D | qib_cq.c | 91 wc->uqueue[head].pkey_index = entry->pkey_index; in qib_cq_enter()
|
D | qib_qp.c | 604 if (attr->pkey_index >= qib_get_npkeys(dd_from_dev(dev))) in qib_modify_qp() 745 qp->s_pkey_index = attr->pkey_index; in qib_modify_qp() 871 attr->pkey_index = qp->s_pkey_index; in qib_query_qp()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 76 int pkey_index; member 1135 sqp->pkey_index = attr->pkey_index; in store_sqp_attrs() 1327 context->pri_path.pkey_index = attr->pkey_index; in __mlx4_ib_modify_qp() 1359 context->alt_path.pkey_index = attr->alt_pkey_index; in __mlx4_ib_modify_qp() 1595 if (attr->pkey_index >= dev->dev->caps.pkey_table_len[p]) { in mlx4_ib_modify_qp() 1598 ibqp->qp_num, attr->pkey_index, cur_state, in mlx4_ib_modify_qp() 1878 ib_get_cached_pkey(ib_dev, sqp->qp.port, sqp->pkey_index, &pkey); in build_mlx_header() 1880 ib_get_cached_pkey(ib_dev, sqp->qp.port, wr->wr.ud.pkey_index, &pkey); in build_mlx_header() 2091 hdr.pkey_index = cpu_to_be16(wr->wr.ud.pkey_index); in build_tunnel_header() 2713 qp_attr->alt_pkey_index = context.alt_path.pkey_index & 0x7f; in mlx4_ib_query_qp() [all …]
|
D | mlx4_ib.h | 209 __be16 pkey_index; member 224 __be16 pkey_index; member 704 enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn,
|
D | mad.c | 161 ext_info->pkey = cpu_to_be16(in_wc->pkey_index); in mlx4_MAD_IFC() 492 ret = ib_get_cached_pkey(&dev->ib_dev, port, wc->pkey_index, &cached_pkey); in mlx4_ib_send_to_slave() 542 tun_mad->hdr.pkey_index = cpu_to_be16(tun_pkey_ix); in mlx4_ib_send_to_slave() 1079 enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, in mlx4_ib_send_to_wire() argument 1113 wire_pkey_ix = dev->pkeys.virt2phys_pkey[slave][port - 1][pkey_index]; in mlx4_ib_send_to_wire() 1160 wr.wr.ud.pkey_index = wire_pkey_ix; in mlx4_ib_send_to_wire() 1273 be16_to_cpu(tunnel->hdr.pkey_index), in mlx4_ib_multiplex_mad() 1514 attr.pkey_index = in create_pv_sqp()
|
D | cq.c | 571 wc->pkey_index = be16_to_cpu(hdr->tun.pkey_index); in use_tunnel_data() 788 wc->pkey_index = be32_to_cpu(cqe->immed_rss_invalid) & 0x7f; in mlx4_ib_poll_one()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_cq.c | 90 wc->uqueue[head].pkey_index = entry->pkey_index; in ipath_cq_enter()
|
D | ipath_ud.c | 218 wc.pkey_index = 0; in ipath_ud_loopback() 564 wc.pkey_index = 0; in ipath_ud_rcv()
|
D | ipath_qp.c | 480 if (attr->pkey_index >= ipath_get_npkeys(dev->dd)) in ipath_modify_qp() 551 qp->s_pkey_index = attr->pkey_index; in ipath_modify_qp() 642 attr->pkey_index = qp->s_pkey_index; in ipath_query_qp()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 302 sqp->pkey_index = attr->pkey_index; in store_attrs() 478 qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f; in mthca_query_qp() 632 cpu_to_be32(attr->pkey_index); in __mthca_modify_qp() 872 attr->pkey_index >= dev->limits.pkey_table_len) { in mthca_modify_qp() 874 attr->pkey_index, dev->limits.pkey_table_len-1); in mthca_modify_qp() 1521 sqp->pkey_index, &pkey); in build_mlx_header() 1524 wr->wr.ud.pkey_index, &pkey); in build_mlx_header()
|
D | mthca_provider.h | 290 int pkey_index; member
|
/drivers/infiniband/hw/ehca/ |
D | ehca_qes.h | 235 u16 pkey_index; member
|
D | ehca_reqs.c | 258 wqe_p->pkeyi = send_wr->wr.ud.pkey_index; in ehca_write_swqe() 779 wc->pkey_index = cqe->pkey_index; in ehca_poll_cq_one()
|
D | ehca_sqp.c | 185 ehca_query_pkey(ibdev, port_num, in_wc->pkey_index, in ehca_process_perf()
|
D | ehca_qp.c | 1298 .pkey_index = 0, in internal_modify_qp() 1435 if (attr->pkey_index >= 16) { in internal_modify_qp() 1439 attr->pkey_index, my_qp, ibqp->qp_num); in internal_modify_qp() 1442 mqpcb->prim_p_key_idx = attr->pkey_index; in internal_modify_qp() 1585 attr->pkey_index, my_qp, ibqp->qp_num); in internal_modify_qp() 1964 qp_attr->pkey_index = qpcb->prim_p_key_idx; in ehca_query_qp()
|