Searched refs:pkey_idx (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema.c | 737 u16 pkey_idx; in opa_vnic_vema_send_trap() local 787 &pkey_idx) < 0) { in opa_vnic_vema_send_trap() 791 &pkey_idx) < 0) in opa_vnic_vema_send_trap() 792 pkey_idx = 1; in opa_vnic_vema_send_trap() 795 send_buf = ib_create_send_mad(port->mad_agent, 1, pkey_idx, 0, in opa_vnic_vema_send_trap()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema.c | 738 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 101 static u16 hfi1_lookup_pkey_value(struct hfi1_ibport *ibp, int pkey_idx) in hfi1_lookup_pkey_value() argument 105 if (pkey_idx < ARRAY_SIZE(ppd->pkeys)) in hfi1_lookup_pkey_value() 106 return ppd->pkeys[pkey_idx]; in hfi1_lookup_pkey_value() 319 int pkey_idx; in send_trap() local 339 pkey_idx = hfi1_lookup_pkey_idx(ibp, LIM_MGMT_P_KEY); in send_trap() 340 if (pkey_idx < 0) { in send_trap() 343 pkey_idx = 1; in send_trap() 346 send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, in send_trap() 4826 int pkey_idx; in hfi1_process_opa_mad() local 4831 pkey_idx in hfi1_process_opa_mad() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 59 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 in hfi1_process_opa_mad() [all...] |
Completed in 16 milliseconds