/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_pkey_mgr.c | 59 uint16_t pkey_index); 333 uint16_t pkey_index) in clear_accum_pkey_index() argument 342 pkey_idx_bias = pkey_index + 1; // adjust for pkey index bias in accum_pkeys in clear_accum_pkey_index() 381 uint8_t pkey_index; in pkey_mgr_update_port() local 433 pkey_index = p_pending->index; in pkey_mgr_update_port() 442 pkey_index = pkey_idx % IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in pkey_mgr_update_port() 467 pkey_index = 0; in pkey_mgr_update_port() 474 pkey_index = 0; in pkey_mgr_update_port() 479 pkey_index = last_free_pkey_index + 1; in pkey_mgr_update_port() 480 if (pkey_index >= IB_NUM_PKEY_ELEMENTS_IN_BLOCK) { in pkey_mgr_update_port() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_multicast.c | 114 u16 pkey_index; member 394 u16 pkey_index; in process_group_error() local 399 be16_to_cpu(group->rec.pkey), &pkey_index); in process_group_error() 403 group->pkey_index == pkey_index) in process_group_error() 520 u16 pkey_index = MCAST_INVALID_PKEY_INDEX; in join_handler() local 527 be16_to_cpu(rec->pkey), &pkey_index)) in join_handler() 528 pkey_index = MCAST_INVALID_PKEY_INDEX; in join_handler() 532 group->pkey_index == MCAST_INVALID_PKEY_INDEX) in join_handler() 533 group->pkey_index = pkey_index; in join_handler() 583 group->pkey_index = MCAST_INVALID_PKEY_INDEX; in acquire_group()
|
H A D | ib_uverbs_marshall.c | 79 dst->pkey_index = src->pkey_index; in ib_copy_qp_attr_to_user()
|
H A D | ib_mad.c | 701 u16 pkey_index, u8 port_num, struct ib_wc *wc) in build_smp_wc() argument 707 wc->pkey_index = pkey_index; in build_smp_wc() 841 send_wr->pkey_index, in handle_outgoing_dr_smp() 902 local->mad_send_wr->send_wr.pkey_index = out_mad_pkey_index; in handle_outgoing_dr_smp() 986 u32 remote_qpn, u16 pkey_index, in ib_create_send_mad() argument 1053 mad_send_wr->send_wr.pkey_index = pkey_index; in ib_create_send_mad() 2262 wc->pkey_index = resp_mad_pkey_index; in ib_mad_recv_done() 2695 local->mad_send_wr->send_wr.pkey_index, in local_completions() 2952 u16 pkey_index; in ib_mad_port_start() local 2959 IB_DEFAULT_PKEY_FULL, &pkey_index); in ib_mad_port_start() [all …]
|
H A D | ib_cm.c | 238 u16 pkey_index; member 359 av->pkey_index, in cm_alloc_msg() 385 return ib_create_send_mad(port->mad_agent, 1, mad_recv_wc->wc->pkey_index, in cm_alloc_response_msg_no_ah() 468 av->pkey_index = wc->pkey_index; in cm_init_av_for_lap() 491 av->pkey_index = wc->pkey_index; in cm_init_av_for_response() 523 be16_to_cpu(path->pkey), &av->pkey_index); in cm_init_av_by_path() 1503 u16 pkey_index = work->mad_recv_wc->wc->pkey_index; in cm_get_bth_pkey() local 1507 ret = ib_get_cached_pkey(ib_dev, port_num, pkey_index, &pkey); in cm_get_bth_pkey() 1510 port_num, pkey_index, ret); in cm_get_bth_pkey() 3837 qp_attr->pkey_index = cm_id_priv->av.pkey_index; in cm_init_qp_init_attr() [all …]
|
H A D | ib_agent.c | 114 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0, in agent_send_response()
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A 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() 89 qp_attr.pkey_index = priv->pkey_index; in ipoib_init_qp()
|
H A D | ipoib_main.c | 1163 const union ib_gid *gid, u16 pkey_index, const struct sockaddr *addr, in ipoib_match_gid_pkey_addr() argument 1169 if (priv->pkey_index == pkey_index && in ipoib_match_gid_pkey_addr() 1190 pkey_index, addr, found_net_dev); in ipoib_match_gid_pkey_addr() 1207 u16 pkey_index, const union ib_gid *gid, in __ipoib_get_net_dev_by_params() argument 1219 matches += ipoib_match_gid_pkey_addr(priv, gid, pkey_index, in __ipoib_get_net_dev_by_params() 1235 u16 pkey_index; in ipoib_get_net_dev_by_params() local 1242 ret = ib_find_cached_pkey(dev, port, pkey, &pkey_index); in ipoib_get_net_dev_by_params() 1250 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index, in ipoib_get_net_dev_by_params() 1264 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index, in ipoib_get_net_dev_by_params()
|
H A D | ipoib_ib.c | 619 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &priv->pkey_index)) { in ipoib_ib_dev_open() 656 u16 pkey_index = 0; in ipoib_pkey_dev_check_presence() local 658 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) in ipoib_pkey_dev_check_presence() 919 new_index == priv->pkey_index) { in __ipoib_ib_dev_flush() 923 priv->pkey_index = new_index; in __ipoib_ib_dev_flush()
|
/freebsd/contrib/ofed/libibumad/ |
H A D | umad.h | 94 uint16_t pkey_index; member 211 int umad_set_pkey(void *umad, int pkey_index);
|
H A D | umad.c | 727 (void *)&((struct ib_user_mad *)umad)->addr.pkey_index; in umad_get_mad() 754 int umad_set_pkey(void *umad, int pkey_index) in umad_set_pkey() argument 759 mad->addr.pkey_index = pkey_index; in umad_set_pkey() 769 return mad->addr.pkey_index; in umad_get_pkey() 1106 (int)addr->traffic_class, addr->flow_label, addr->pkey_index, in umad_addr_dump()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_gsi.c | 278 attr.pkey_index = qp_index; in modify_to_rts() 427 gsi_wr->wc.pkey_index = wr->pkey_index; in mlx5_ib_add_outstanding_wr() 465 int qp_index = wr->pkey_index; in get_tx_qp()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | marshall.c | 77 dst->pkey_index = src->pkey_index; in ibv_copy_qp_attr_from_kern()
|
H A D | kern-abi.h | 499 __u16 pkey_index; member 602 __u16 pkey_index; member 729 __u16 pkey_index; member 760 __u16 pkey_index; member
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_ts_anafa.c | 376 p_mad->pkey_index = 0; in __osmv_TOPSPIN_ANAFA_osm_addr_to_mad_addr() 396 p_mad_addr->addr_type.gsi.pkey_ix = p_mad->pkey_index; in __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr()
|
H A D | osm_vendor_mlx_sim.c | 361 p_ibms_addr->pkey_index = 0; in __osmv_ibms_osm_addr_to_mad_addr() 384 p_osm_addr->addr_type.gsi.pkey_ix = p_ibms_addr->pkey_index; in __osmv_ibms_mad_addr_to_osm_addr()
|
H A D | osm_vendor_mlx_ts.c | 426 p_mad->pkey_index = 0; in __osmv_TOPSPIN_osm_addr_to_mad_addr() 448 p_mad_addr->addr_type.gsi.pkey_ix = p_mad->pkey_index; in __osmv_TOPSPIN_mad_addr_to_osm_addr()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_mad.h | 134 __u16 pkey_index; member
|
H A D | ib_user_verbs.h | 478 __u16 pkey_index; member 550 __u16 pkey_index; member 696 __u16 pkey_index; member 727 __u16 pkey_index; member
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 88 int pkey_index; member 1382 sqp->pkey_index = attr->pkey_index; in store_sqp_attrs() 1769 context->pri_path.pkey_index = attr->pkey_index; in __mlx4_ib_modify_qp() 1839 context->alt_path.pkey_index = attr->alt_pkey_index; in __mlx4_ib_modify_qp() 2221 if (attr->pkey_index >= dev->dev->caps.pkey_table_len[p]) { in _mlx4_ib_modify_qp() 2224 ibqp->qp_num, attr->pkey_index, cur_state, in _mlx4_ib_modify_qp() 2622 ib_get_cached_pkey(ib_dev, sqp->qp.port, sqp->pkey_index, &pkey); in build_mlx_header() 2624 ib_get_cached_pkey(ib_dev, sqp->qp.port, wr->pkey_index, &pkey); in build_mlx_header() 2816 hdr.pkey_index = cpu_to_be16(wr->pkey_index); in build_tunnel_header() 3467 qp_attr->alt_pkey_index = context.alt_path.pkey_index & 0x7f; in mlx4_ib_query_qp() [all …]
|
H A D | mlx4_ib.h | 251 __be16 pkey_index; member 266 __be16 pkey_index; member 833 enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn,
|
H A D | mlx4_ib_mad.c | 163 ext_info->pkey = cpu_to_be16(in_wc->pkey_index); in mlx4_MAD_IFC() 519 ret = ib_get_cached_pkey(&dev->ib_dev, port, wc->pkey_index, &cached_pkey); in mlx4_ib_send_to_slave() 573 tun_mad->hdr.pkey_index = cpu_to_be16(tun_pkey_ix); in mlx4_ib_send_to_slave() 1324 enum ib_qp_type dest_qpt, u16 pkey_index, in mlx4_ib_send_to_wire() argument 1354 wire_pkey_ix = dev->pkeys.virt2phys_pkey[slave][port - 1][pkey_index]; in mlx4_ib_send_to_wire() 1404 wr.pkey_index = wire_pkey_ix; in mlx4_ib_send_to_wire() 1551 be16_to_cpu(tunnel->hdr.pkey_index), in mlx4_ib_multiplex_mad() 1807 &attr.pkey_index); in create_pv_sqp() 1809 attr.pkey_index = in create_pv_sqp()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_pkey.h | 446 OUT uint8_t * pkey_index);
|
/freebsd/sys/dev/mlx5/ |
H A D | qp.h | 489 __be16 pkey_index; 566 __be16 pkey_index; in __mlx5_qp_lookup() 480 __be16 pkey_index; global() member 557 __be16 pkey_index; global() member
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_provider.h | 292 int pkey_index; member
|