Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/core/
Dsmi.c49 u8 hop_ptr, hop_cnt; in smi_handle_dr_smp_send() local
52 hop_cnt = smp->hop_cnt; in smi_handle_dr_smp_send()
56 if (hop_cnt >= IB_SMP_MAX_PATH_HOPS) in smi_handle_dr_smp_send()
61 if (hop_cnt && hop_ptr == 0) { in smi_handle_dr_smp_send()
68 if (hop_ptr && hop_ptr < hop_cnt) { in smi_handle_dr_smp_send()
79 if (hop_ptr == hop_cnt) { in smi_handle_dr_smp_send()
89 return (hop_ptr == hop_cnt + 1 ? IB_SMI_HANDLE : IB_SMI_DISCARD); in smi_handle_dr_smp_send()
93 if (hop_cnt && hop_ptr == hop_cnt + 1) { in smi_handle_dr_smp_send()
100 if (2 <= hop_ptr && hop_ptr <= hop_cnt) { in smi_handle_dr_smp_send()
134 u8 hop_ptr, hop_cnt; in smi_handle_dr_smp_recv() local
[all …]
Dsmi.h72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
/linux-4.1.27/include/rdma/
Dib_smi.h52 u8 hop_cnt; member
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_mad.c186 u8 hop_cnt; in qib_bad_mkey() local
190 hop_cnt = smp->hop_cnt; in qib_bad_mkey()
191 if (hop_cnt > ARRAY_SIZE(data.details.ntc_256.dr_rtn_path)) { in qib_bad_mkey()
194 hop_cnt = ARRAY_SIZE(data.details.ntc_256.dr_rtn_path); in qib_bad_mkey()
196 data.details.ntc_256.dr_trunc_hop |= hop_cnt; in qib_bad_mkey()
198 hop_cnt); in qib_bad_mkey()
849 if (lstate == QIB_IB_LINKDOWN_DISABLE && smp->hop_cnt) { in subn_set_portinfo()
Dqib_iba7322.c5530 smp->hop_cnt = 1; in try_7322_ipg()