Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/core/
Dsmi.c45 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 …]
Dopa_smi.h60 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
Dsmi.h72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
/linux-6.1.9/include/trace/events/
Dib_mad.h303 __field(u8, hop_cnt)
310 __entry->hop_cnt = smp->hop_cnt;
323 __entry->hop_ptr, __entry->hop_cnt,
348 __field(u8, hop_cnt)
355 __entry->hop_cnt = smp->hop_cnt;
368 __entry->hop_ptr, __entry->hop_cnt,
/linux-6.1.9/include/rdma/
Dopa_smi.h29 u8 hop_cnt; member
Dib_smi.h25 u8 hop_cnt; member
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_mad.c185 u8 hop_cnt; in qib_bad_mkey() local
189 hop_cnt = smp->hop_cnt; in qib_bad_mkey()
190 if (hop_cnt > ARRAY_SIZE(data.details.ntc_256.dr_rtn_path)) { in qib_bad_mkey()
193 hop_cnt = ARRAY_SIZE(data.details.ntc_256.dr_rtn_path); in qib_bad_mkey()
195 data.details.ntc_256.dr_trunc_hop |= hop_cnt; in qib_bad_mkey()
197 hop_cnt); in qib_bad_mkey()
853 if (lstate == QIB_IB_LINKDOWN_DISABLE && smp->hop_cnt) { in subn_set_portinfo()
Dqib_iba7322.c5447 smp->hop_cnt = 1; in try_7322_ipg()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dmad.c439 __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) in bad_mkey() argument
458 if (hop_cnt > ARRAY_SIZE(trap->data.ntc_256.dr_rtn_path)) { in bad_mkey()
461 hop_cnt = ARRAY_SIZE(trap->data.ntc_256.dr_rtn_path); in bad_mkey()
463 trap->data.ntc_256.dr_trunc_hop |= hop_cnt; in bad_mkey()
465 hop_cnt); in bad_mkey()
652 u8 return_path[], u8 hop_cnt) in check_mkey() argument
693 hop_cnt); in check_mkey()
4360 return (smp->hop_cnt == 0 && in is_local_mad()
4494 smp->hop_cnt); in process_subn_opa()
4514 smp->hop_cnt); in process_subn_opa()
[all …]