Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/infiniband/core/
Dsecurity.c55 if (tmp_pkey->pkey_index == pp->pkey_index) { in get_pkey_idx_qp_list()
71 ret = ib_get_cached_pkey(dev, pp->port_num, pp->pkey_index, pkey); in get_pkey_and_subnet_prefix()
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
[all …]
Dmulticast.c109 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()
Dcore_priv.h54 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
Dmad.c546 u16 pkey_index, u32 port_num, struct ib_wc *wc) in build_smp_wc() argument
552 wc->pkey_index = pkey_index; in build_smp_wc()
690 send_wr->pkey_index, in handle_outgoing_dr_smp()
750 local->mad_send_wr->send_wr.pkey_index = out_mad_pkey_index; in handle_outgoing_dr_smp()
834 u32 remote_qpn, u16 pkey_index, in ib_create_send_mad() argument
900 mad_send_wr->send_wr.pkey_index = pkey_index; in ib_create_send_mad()
1079 mad_send_wr->send_wr.pkey_index); in ib_post_send_mad()
1791 mad_recv_wc->wc->pkey_index); in ib_mad_complete_recv()
2106 wc->pkey_index = resp_mad_pkey_index; in ib_mad_recv_done()
2535 local->mad_send_wr->send_wr.pkey_index, in local_completions()
[all …]
Duverbs_marshall.c119 dst->pkey_index = src->pkey_index; in ib_copy_qp_attr_to_user()
Dcm.c179 u16 pkey_index; member
300 cm_id_priv->av.pkey_index, in cm_alloc_msg()
363 return ib_create_send_mad(port->mad_agent, 1, mad_recv_wc->wc->pkey_index, in cm_alloc_response_msg_no_ah()
454 av->pkey_index = wc->pkey_index; in cm_init_av_for_lap()
462 av->pkey_index = wc->pkey_index; in cm_init_av_for_response()
524 be16_to_cpu(path->pkey), &av->pkey_index); in cm_init_av_by_path()
554 dest->pkey_index = src->pkey_index; in cm_move_av_from_path()
1739 u16 pkey_index = work->mad_recv_wc->wc->pkey_index; in cm_get_bth_pkey() local
1743 ret = ib_get_cached_pkey(ib_dev, port_num, pkey_index, &pkey); in cm_get_bth_pkey()
1746 port_num, pkey_index, ret); in cm_get_bth_pkey()
[all …]
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dgsi.c220 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-6.1.9/include/trace/events/
Dib_umad.h37 __field(u16, pkey_index)
72 __entry->pkey_index = umad_hdr->pkey_index;
99 be32_to_cpu(__entry->flow_label), __entry->pkey_index,
/linux-6.1.9/Documentation/translations/zh_CN/infiniband/
Duser_mad.rst46 调用的用户隐含了对pkey_index的使用(见下文)。现在提供了一个新的
48 pkey_index的使用(见下文)。
127 P_Key索引的方法。一个带有pkey_index成员的struct ib_user_mad_hdr的新布局已
/linux-6.1.9/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c44 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()
Dipoib_main.c402 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()
Dipoib_ib.c923 &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-6.1.9/drivers/infiniband/hw/hfi1/
Dipoib_main.c185 priv->pkey_index = (u16)id; in hfi1_ipoib_set_id()
188 priv->pkey_index, in hfi1_ipoib_set_id()
218 ib_query_pkey(device, port_num, priv->pkey_index, &priv->pkey); in hfi1_ipoib_setup_rn()
Dipoib.h130 u16 pkey_index; member
Dud.c201 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-6.1.9/include/uapi/rdma/
Dib_user_mad.h134 __u16 pkey_index; member
Drdma_user_rxe.h100 __u16 pkey_index; member
Dib_user_verbs.h484 __u16 pkey_index; member
556 __u16 pkey_index; member
688 __u16 pkey_index; member
719 __u16 pkey_index; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.h59 u16 pkey_index; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c583 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-6.1.9/samples/bpf/
Dibumad_kern.c62 u16 pkey_index; member
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h246 __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,
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c364 wc->pkey_index = cqe->pkey_index; in pvrdma_poll_one()
Dpvrdma_qp.c567 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()
/linux-6.1.9/include/linux/mlx5/
Dvport.h84 u8 port_num, u16 vf_num, u16 pkey_index,

1234