Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c739 u16 pkey_idx; in opa_vnic_vema_send_trap() local
789 &pkey_idx) < 0) { in opa_vnic_vema_send_trap()
793 &pkey_idx) < 0) in opa_vnic_vema_send_trap()
794 pkey_idx = 1; in opa_vnic_vema_send_trap()
797 send_buf = ib_create_send_mad(port->mad_agent, 1, pkey_idx, 0, in opa_vnic_vema_send_trap()
/drivers/infiniband/hw/hfi1/
Dmad.c309 int pkey_idx; in send_trap() local
329 pkey_idx = hfi1_lookup_pkey_idx(ibp, LIM_MGMT_P_KEY); in send_trap()
330 if (pkey_idx < 0) { in send_trap()
333 pkey_idx = 1; in send_trap()
336 send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, in send_trap()
4638 int pkey_idx; in hfi1_process_opa_mad() local
4642 pkey_idx = hfi1_lookup_pkey_idx(ibp, LIM_MGMT_P_KEY); in hfi1_process_opa_mad()
4643 if (pkey_idx < 0) { in hfi1_process_opa_mad()
4646 pkey_idx = 1; in hfi1_process_opa_mad()
4648 *out_mad_pkey_index = (u16)pkey_idx; in hfi1_process_opa_mad()