/linux/drivers/infiniband/core/ |
A D | security.c | 55 if (tmp_pkey->pkey_index == pp->pkey_index) { in get_pkey_idx_qp_list() 206 pkey->pkey_index, in check_pkey_qps() 272 if (tmp_pkey->pkey_index == pp->pkey_index) { in port_pkey_list_insert() 281 pkey->pkey_index = pp->pkey_index; in port_pkey_list_insert() 348 new_pps->main.pkey_index = qp_attr->pkey_index; in get_new_pps() 350 new_pps->main.pkey_index = qp_pps->main.pkey_index; in get_new_pps() 359 new_pps->alt.pkey_index = qp_attr->alt_pkey_index; in get_new_pps() 363 new_pps->alt.pkey_index = qp_pps->alt.pkey_index; in get_new_pps() 653 u16 pkey_index, in ib_security_pkey_access() argument 663 ret = ib_get_cached_pkey(dev, port_num, pkey_index, &pkey); in ib_security_pkey_access() [all …]
|
A D | multicast.c | 109 u16 pkey_index; member 389 u16 pkey_index; in process_group_error() local 394 be16_to_cpu(group->rec.pkey), &pkey_index); in process_group_error() 398 group->pkey_index == pkey_index) in process_group_error() 515 u16 pkey_index = MCAST_INVALID_PKEY_INDEX; in join_handler() local 524 &pkey_index)) in join_handler() 525 pkey_index = MCAST_INVALID_PKEY_INDEX; in join_handler() 529 group->pkey_index == MCAST_INVALID_PKEY_INDEX) in join_handler() 530 group->pkey_index = pkey_index; in join_handler() 580 group->pkey_index = MCAST_INVALID_PKEY_INDEX; in acquire_group()
|
A D | core_priv.h | 54 u16 pkey_index; member 240 int ib_mad_enforce_security(struct ib_mad_agent_private *map, u16 pkey_index); 303 u16 pkey_index) in ib_mad_enforce_security() argument
|
A D | mad.c | 557 wc->pkey_index = pkey_index; in build_smp_wc() 695 send_wr->pkey_index, in handle_outgoing_dr_smp() 839 u32 remote_qpn, u16 pkey_index, in ib_create_send_mad() argument 905 mad_send_wr->send_wr.pkey_index = pkey_index; in ib_create_send_mad() 1084 mad_send_wr->send_wr.pkey_index); in ib_post_send_mad() 1796 mad_recv_wc->wc->pkey_index); in ib_mad_complete_recv() 2111 wc->pkey_index = resp_mad_pkey_index; in ib_mad_recv_done() 2788 u16 pkey_index; in ib_mad_port_start() local 2795 IB_DEFAULT_PKEY_FULL, &pkey_index); in ib_mad_port_start() 2797 pkey_index = 0; in ib_mad_port_start() [all …]
|
A D | uverbs_marshall.c | 119 dst->pkey_index = src->pkey_index; in ib_copy_qp_attr_to_user()
|
A D | cm.c | 178 u16 pkey_index; member 299 cm_id_priv->av.pkey_index, in cm_alloc_msg() 453 av->pkey_index = wc->pkey_index; in cm_init_av_for_lap() 461 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() 553 dest->pkey_index = src->pkey_index; in cm_move_av_from_path() 1742 u16 pkey_index = work->mad_recv_wc->wc->pkey_index; in cm_get_bth_pkey() local 1749 port_num, pkey_index, ret); in cm_get_bth_pkey() 4103 qp_attr->pkey_index = cm_id_priv->av.pkey_index; in cm_init_qp_init_attr() 4151 qp_attr->alt_pkey_index = cm_id_priv->alt_av.pkey_index; in cm_init_qp_rtr_attr() [all …]
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | gsi.c | 220 u16 pkey_index) in modify_to_rts() argument 229 attr.pkey_index = pkey_index; in modify_to_rts() 263 int pkey_index = qp_index; in setup_qp() local 271 pkey_index = 0; in setup_qp() 273 ret = ib_query_pkey(device, gsi->port_num, pkey_index, &pkey); in setup_qp() 305 ret = modify_to_rts(gsi, qp, pkey_index); in setup_qp() 377 gsi_wr->wc.pkey_index = wr->pkey_index; in mlx5_ib_add_outstanding_wr() 415 int qp_index = wr->pkey_index; in get_tx_qp()
|
/linux/include/trace/events/ |
A D | ib_umad.h | 37 __field(u16, pkey_index) 72 __entry->pkey_index = umad_hdr->pkey_index; 99 be32_to_cpu(__entry->flow_label), __entry->pkey_index,
|
/linux/Documentation/translations/zh_CN/infiniband/ |
A D | user_mad.rst | 46 调用的用户隐含了对pkey_index的使用(见下文)。现在提供了一个新的 48 pkey_index的使用(见下文)。 127 P_Key索引的方法。一个带有pkey_index成员的struct ib_user_mad_hdr的新布局已
|
/linux/drivers/infiniband/ulp/ipoib/ |
A D | ipoib_verbs.c | 44 u16 pkey_index; in ipoib_mcast_attach() local 46 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) { in ipoib_mcast_attach() 102 qp_attr.pkey_index = priv->pkey_index; in ipoib_init_qp()
|
A D | ipoib_main.c | 402 u16 pkey_index, in ipoib_match_gid_pkey_addr() argument 411 if (priv->pkey_index == pkey_index && in ipoib_match_gid_pkey_addr() 433 pkey_index, addr, in ipoib_match_gid_pkey_addr() 448 u16 pkey_index, in __ipoib_get_net_dev_by_params() argument 462 matches += ipoib_match_gid_pkey_addr(priv, gid, pkey_index, in __ipoib_get_net_dev_by_params() 478 u16 pkey_index; in ipoib_get_net_dev_by_params() local 485 ret = ib_find_cached_pkey(dev, port, pkey, &pkey_index); in ipoib_get_net_dev_by_params() 490 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index, in ipoib_get_net_dev_by_params() 504 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index, in ipoib_get_net_dev_by_params()
|
A D | ipoib_ib.c | 923 &priv->pkey_index)) { in ipoib_pkey_dev_check_presence() 927 rn->set_id(dev, priv->pkey_index); in ipoib_pkey_dev_check_presence() 1041 u16 old_index = priv->pkey_index; in update_child_pkey() 1043 priv->pkey_index = 0; in update_child_pkey() 1047 (old_index == priv->pkey_index)) in update_child_pkey()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | ipoib_main.c | 181 priv->pkey_index = (u16)id; in hfi1_ipoib_set_id() 184 priv->pkey_index, in hfi1_ipoib_set_id() 216 ib_query_pkey(device, port_num, priv->pkey_index, &priv->pkey); in hfi1_ipoib_setup_rn()
|
A D | ipoib.h | 130 u16 pkey_index; member
|
A D | ud.c | 201 wc.pkey_index = rvt_get_swqe_pkey_index(swqe); in ud_loopback() 203 wc.pkey_index = sqp->s_pkey_index; in ud_loopback() 205 wc.pkey_index = 0; in ud_loopback() 1002 wc.pkey_index = (unsigned)mgmt_pkey_idx; in hfi1_ud_rcv() 1004 wc.pkey_index = 0; in hfi1_ud_rcv()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | vport.c | 583 u8 port_num, u16 vf_num, u16 pkey_index, in mlx5_query_hca_vport_pkey() argument 600 if (pkey_index > tbsz && pkey_index != 0xffff) in mlx5_query_hca_vport_pkey() 603 if (pkey_index == 0xffff) in mlx5_query_hca_vport_pkey() 627 MLX5_SET(query_hca_vport_pkey_in, in, pkey_index, pkey_index); in mlx5_query_hca_vport_pkey()
|
/linux/include/uapi/rdma/ |
A D | ib_user_mad.h | 134 __u16 pkey_index; member
|
A D | ib_user_verbs.h | 484 __u16 pkey_index; member 556 __u16 pkey_index; member 688 __u16 pkey_index; member 719 __u16 pkey_index; member
|
A D | rdma_user_rxe.h | 100 __u16 pkey_index; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
A D | ipoib.h | 58 u16 pkey_index; member
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | mlx4_ib.h | 246 __be16 pkey_index; member 261 __be16 pkey_index; member 314 int pkey_index; member 863 enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn,
|
A D | mad.c | 165 ext_info->pkey = cpu_to_be16(in_wc->pkey_index); in mlx4_MAD_IFC() 550 ret = ib_get_cached_pkey(&dev->ib_dev, port, wc->pkey_index, &cached_pkey); in mlx4_ib_send_to_slave() 554 wc->pkey_index, ret); in mlx4_ib_send_to_slave() 618 tun_mad->hdr.pkey_index = cpu_to_be16(tun_pkey_ix); in mlx4_ib_send_to_slave() 1357 enum ib_qp_type dest_qpt, u16 pkey_index, in mlx4_ib_send_to_wire() argument 1387 wire_pkey_ix = dev->pkeys.virt2phys_pkey[slave][port - 1][pkey_index]; in mlx4_ib_send_to_wire() 1437 wr.pkey_index = wire_pkey_ix; in mlx4_ib_send_to_wire() 1592 be16_to_cpu(tunnel->hdr.pkey_index), in mlx4_ib_multiplex_mad() 1851 &attr.pkey_index); in create_pv_sqp() 1853 attr.pkey_index = in create_pv_sqp()
|
/linux/samples/bpf/ |
A D | ibumad_kern.c | 62 u16 pkey_index; member
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A D | pvrdma_qp.c | 567 if (attr->pkey_index >= dev->dsr->caps.max_pkeys) { in pvrdma_modify_qp() 598 cmd->attrs.pkey_index = attr->pkey_index; in pvrdma_modify_qp() 1016 attr->pkey_index = resp->attrs.pkey_index; in pvrdma_query_qp()
|
A D | pvrdma_cq.c | 364 wc->pkey_index = cqe->pkey_index; in pvrdma_poll_one()
|