Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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
242 int ib_mad_enforce_security(struct ib_mad_agent_private *map, u16 pkey_index);
305 u16 pkey_index) in ib_mad_enforce_security() argument
Dmad.c72 ib_query_pkey(dev, pnum, wr->pkey_index, &pkey); in create_mad_addr_info()
552 u16 pkey_index, u8 port_num, struct ib_wc *wc) in build_smp_wc() argument
558 wc->pkey_index = pkey_index; in build_smp_wc()
696 send_wr->pkey_index, in handle_outgoing_dr_smp()
757 local->mad_send_wr->send_wr.pkey_index = out_mad_pkey_index; in handle_outgoing_dr_smp()
841 u32 remote_qpn, u16 pkey_index, in ib_create_send_mad() argument
908 mad_send_wr->send_wr.pkey_index = pkey_index; in ib_create_send_mad()
1087 mad_send_wr->send_wr.pkey_index); in ib_post_send_mad()
1801 mad_recv_wc->wc->pkey_index); in ib_mad_complete_recv()
2117 wc->pkey_index = resp_mad_pkey_index; in ib_mad_recv_done()
[all …]
Duverbs_marshall.c119 dst->pkey_index = src->pkey_index; in ib_copy_qp_attr_to_user()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dgsi.c242 u16 pkey_index) in modify_to_rts() argument
251 attr.pkey_index = pkey_index; in modify_to_rts()
285 int pkey_index = qp_index; in setup_qp() local
293 pkey_index = 0; in setup_qp()
295 ret = ib_query_pkey(device, gsi->port_num, pkey_index, &pkey); in setup_qp()
327 ret = modify_to_rts(gsi, qp, pkey_index); in setup_qp()
406 gsi_wr->wc.pkey_index = wr->pkey_index; in mlx5_ib_add_outstanding_wr()
444 int qp_index = wr->pkey_index; in get_tx_qp()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/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.c398 u16 pkey_index, in ipoib_match_gid_pkey_addr() argument
407 if (priv->pkey_index == pkey_index && in ipoib_match_gid_pkey_addr()
429 pkey_index, addr, in ipoib_match_gid_pkey_addr()
444 u16 pkey_index, in __ipoib_get_net_dev_by_params() argument
458 matches += ipoib_match_gid_pkey_addr(priv, gid, pkey_index, in __ipoib_get_net_dev_by_params()
474 u16 pkey_index; in ipoib_get_net_dev_by_params() local
481 ret = ib_find_cached_pkey(dev, port, pkey, &pkey_index); in ipoib_get_net_dev_by_params()
486 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index, in ipoib_get_net_dev_by_params()
500 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index, in ipoib_get_net_dev_by_params()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dipoib_main.c192 priv->pkey_index = (u16)id; in hfi1_ipoib_set_id()
195 priv->pkey_index, in hfi1_ipoib_set_id()
224 ib_query_pkey(device, port_num, priv->pkey_index, &priv->pkey); in hfi1_ipoib_setup_rn()
Dipoib.h108 u16 pkey_index; member
Dud.c243 wc.pkey_index = rvt_get_swqe_pkey_index(swqe); in ud_loopback()
245 wc.pkey_index = sqp->s_pkey_index; in ud_loopback()
247 wc.pkey_index = 0; in ud_loopback()
1048 wc.pkey_index = (unsigned)mgmt_pkey_idx; in hfi1_ud_rcv()
1050 wc.pkey_index = 0; in hfi1_ud_rcv()
/kernel/linux/linux-5.10/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
702 __u16 pkey_index; member
733 __u16 pkey_index; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_mad.h59 __u16 pkey_index; member
Drdma_user_rxe.h78 __u16 pkey_index; member
Dib_user_verbs.h387 __u16 pkey_index; member
448 __u16 pkey_index; member
571 __u16 pkey_index; member
601 __u16 pkey_index; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_mad.h46 __u16 pkey_index; member
Drdma_user_rxe.h62 __u16 pkey_index; member
Dib_user_verbs.h359 __u16 pkey_index; member
421 __u16 pkey_index; member
545 __u16 pkey_index; member
575 __u16 pkey_index; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.h58 u16 pkey_index; member
/kernel/linux/linux-5.10/samples/bpf/
Dibumad_kern.c62 u16 pkey_index; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c580 u8 port_num, u16 vf_num, u16 pkey_index, in mlx5_query_hca_vport_pkey() argument
597 if (pkey_index > tbsz && pkey_index != 0xffff) in mlx5_query_hca_vport_pkey()
600 if (pkey_index == 0xffff) in mlx5_query_hca_vport_pkey()
624 MLX5_SET(query_hca_vport_pkey_in, in, pkey_index, pkey_index); in mlx5_query_hca_vport_pkey()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h246 __be16 pkey_index; member
261 __be16 pkey_index; member
314 int pkey_index; member
864 enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn,

1234