Searched refs:hop_cnt (Results 1 – 8 of 8) sorted by relevance
| /linux-4.4.14/drivers/infiniband/core/ |
| D | smi.c | 45 u8 *hop_ptr, u8 hop_cnt, in __smi_handle_dr_smp_send() argument 54 if (hop_cnt >= IB_SMP_MAX_PATH_HOPS) in __smi_handle_dr_smp_send() 59 if (hop_cnt && *hop_ptr == 0) { in __smi_handle_dr_smp_send() 66 if (*hop_ptr && *hop_ptr < hop_cnt) { in __smi_handle_dr_smp_send() 77 if (*hop_ptr == hop_cnt) { in __smi_handle_dr_smp_send() 87 return (*hop_ptr == hop_cnt + 1 ? IB_SMI_HANDLE : IB_SMI_DISCARD); in __smi_handle_dr_smp_send() 91 if (hop_cnt && *hop_ptr == hop_cnt + 1) { in __smi_handle_dr_smp_send() 98 if (2 <= *hop_ptr && *hop_ptr <= hop_cnt) { in __smi_handle_dr_smp_send() 133 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send() 145 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send() [all …]
|
| D | opa_smi.h | 60 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
|
| D | smi.h | 72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
|
| /linux-4.4.14/include/rdma/ |
| D | opa_smi.h | 58 u8 hop_cnt; member
|
| D | ib_smi.h | 52 u8 hop_cnt; member
|
| /linux-4.4.14/drivers/infiniband/hw/qib/ |
| D | qib_mad.c | 187 u8 hop_cnt; in qib_bad_mkey() local 191 hop_cnt = smp->hop_cnt; in qib_bad_mkey() 192 if (hop_cnt > ARRAY_SIZE(data.details.ntc_256.dr_rtn_path)) { in qib_bad_mkey() 195 hop_cnt = ARRAY_SIZE(data.details.ntc_256.dr_rtn_path); in qib_bad_mkey() 197 data.details.ntc_256.dr_trunc_hop |= hop_cnt; in qib_bad_mkey() 199 hop_cnt); in qib_bad_mkey() 850 if (lstate == QIB_IB_LINKDOWN_DISABLE && smp->hop_cnt) { in subn_set_portinfo()
|
| D | qib_iba7322.c | 5531 smp->hop_cnt = 1; in try_7322_ipg()
|
| /linux-4.4.14/drivers/staging/rdma/hfi1/ |
| D | mad.c | 198 __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) in bad_mkey() argument 219 if (hop_cnt > ARRAY_SIZE(data.details.ntc_256.dr_rtn_path)) { in bad_mkey() 222 hop_cnt = ARRAY_SIZE(data.details.ntc_256.dr_rtn_path); in bad_mkey() 224 data.details.ntc_256.dr_trunc_hop |= hop_cnt; in bad_mkey() 226 hop_cnt); in bad_mkey() 403 u8 return_path[], u8 hop_cnt) in check_mkey() argument 442 hop_cnt); in check_mkey() 1002 if (link_state == HLS_DN_DISABLE && smp->hop_cnt) in set_port_states() 3791 return (smp->hop_cnt == 0 && in is_local_mad() 3868 smp->hop_cnt); in process_subn_opa() [all …]
|