Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rdma/hfi1/
Dmad.c91 int pkey_idx; in send_trap() local
106 pkey_idx = hfi1_lookup_pkey_idx(ibp, LIM_MGMT_P_KEY); in send_trap()
107 if (pkey_idx < 0) { in send_trap()
110 pkey_idx = 1; in send_trap()
113 send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, in send_trap()
4085 int pkey_idx; in hfi1_process_opa_mad() local
4089 pkey_idx = hfi1_lookup_pkey_idx(ibp, LIM_MGMT_P_KEY); in hfi1_process_opa_mad()
4090 if (pkey_idx < 0) { in hfi1_process_opa_mad()
4093 pkey_idx = 1; in hfi1_process_opa_mad()
4095 *out_mad_pkey_index = (u16)pkey_idx; in hfi1_process_opa_mad()