Home
last modified time | relevance | path

Searched refs:pkey_index (Results 1 – 25 of 40) sorted by relevance

12

/drivers/infiniband/core/
Dmulticast.c110 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()
Duverbs_marshall.c77 dst->pkey_index = src->pkey_index; in ib_copy_qp_attr_to_user()
Dsa_query.c57 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()
Dagent.c109 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0, in agent_send_response()
Dmad.c655 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()
Duser_mad.c229 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()
Dcm.c178 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/
Dipoib_verbs.c43 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()
Dipoib_ib.c672 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/
Dqib_ud.c205 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()
Dqib_cq.c91 wc->uqueue[head].pkey_index = entry->pkey_index; in qib_cq_enter()
Dqib_qp.c604 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/
Dqp.c76 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 …]
Dmlx4_ib.h209 __be16 pkey_index; member
224 __be16 pkey_index; member
704 enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn,
Dmad.c161 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()
Dcq.c571 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/
Dipath_cq.c90 wc->uqueue[head].pkey_index = entry->pkey_index; in ipath_cq_enter()
Dipath_ud.c218 wc.pkey_index = 0; in ipath_ud_loopback()
564 wc.pkey_index = 0; in ipath_ud_rcv()
Dipath_qp.c480 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/
Dmthca_qp.c302 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()
Dmthca_provider.h290 int pkey_index; member
/drivers/infiniband/hw/ehca/
Dehca_qes.h235 u16 pkey_index; member
Dehca_reqs.c258 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()
Dehca_sqp.c185 ehca_query_pkey(ibdev, port_num, in_wc->pkey_index, in ehca_process_perf()
Dehca_qp.c1298 .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()

12