Home
last modified time | relevance | path

Searched refs:pkey_idx (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c738 u16 pkey_idx; in opa_vnic_vema_send_trap() local
788 &pkey_idx) < 0) { in opa_vnic_vema_send_trap()
792 &pkey_idx) < 0) in opa_vnic_vema_send_trap()
793 pkey_idx = 1; in opa_vnic_vema_send_trap()
796 send_buf = ib_create_send_mad(port->mad_agent, 1, pkey_idx, 0, in opa_vnic_vema_send_trap()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dmad.c59 static u16 hfi1_lookup_pkey_value(struct hfi1_ibport *ibp, int pkey_idx) in hfi1_lookup_pkey_value() argument
63 if (pkey_idx < ARRAY_SIZE(ppd->pkeys)) in hfi1_lookup_pkey_value()
64 return ppd->pkeys[pkey_idx]; in hfi1_lookup_pkey_value()
277 int pkey_idx; in send_trap() local
297 pkey_idx = hfi1_lookup_pkey_idx(ibp, LIM_MGMT_P_KEY); in send_trap()
298 if (pkey_idx < 0) { in send_trap()
301 pkey_idx = 1; in send_trap()
304 send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, in send_trap()
4784 int pkey_idx; in hfi1_process_opa_mad() local
4789 pkey_idx = hfi1_lookup_pkey_idx(ibp, LIM_MGMT_P_KEY); in hfi1_process_opa_mad()
[all …]
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-class-infiniband331 What: /sys/class/infiniband/mlx4_X/iov/ports/<pci-slot-num>/ports/<m>/pkey_idx/<n>
363 <m>/pkey_idx/<n>: (RW) Writable except for RoCE pkeys.