Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
HDib_smi.c49 u8 *hop_ptr, u8 hop_cnt, in __smi_handle_dr_smp_send() argument
58 if (hop_cnt >= IB_SMP_MAX_PATH_HOPS) in __smi_handle_dr_smp_send()
63 if (hop_cnt && *hop_ptr == 0) { in __smi_handle_dr_smp_send()
70 if (*hop_ptr && *hop_ptr < hop_cnt) { in __smi_handle_dr_smp_send()
81 if (*hop_ptr == hop_cnt) { in __smi_handle_dr_smp_send()
91 return (*hop_ptr == hop_cnt + 1 ? IB_SMI_HANDLE : IB_SMI_DISCARD); in __smi_handle_dr_smp_send()
95 if (hop_cnt && *hop_ptr == hop_cnt + 1) { in __smi_handle_dr_smp_send()
102 if (2 <= *hop_ptr && *hop_ptr <= hop_cnt) { in __smi_handle_dr_smp_send()
137 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send()
149 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send()
[all …]
HDopa_smi.h63 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
HDsmi.h73 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
HDsmpdump.c58 int hop_cnt; member
68 uint8_t hop_cnt; member
102 memcpy(smp->initial_path, path->path, path->hop_cnt + 1); in drsmp_get_init()
104 smp->hop_cnt = (uint8_t) path->hop_cnt; in drsmp_get_init()
141 memcpy(smp->initial_path, path->path, path->hop_cnt + 1); in drsmp_set_init()
146 smp->hop_cnt = (uint8_t) path->hop_cnt; in drsmp_set_init()
164 path->hop_cnt = -1; in str2DRPath()
170 path->path[++path->hop_cnt] = (char)atoi(str); in str2DRPath()
178 (path->hop_cnt > 0 && dev_port && path->path[1] != dev_port)) { in str2DRPath()
184 return path->hop_cnt; in str2DRPath()
/freebsd-11-stable/contrib/ofed/libibumad/
HDumad_sm.h113 uint8_t hop_cnt; member
/freebsd-11-stable/sys/ofed/include/rdma/
HDopa_smi.h62 u8 hop_cnt; member
HDib_smi.h54 u8 hop_cnt; member
/freebsd-11-stable/sys/ofed/drivers/infiniband/util/
HDmadeye.c367 printk("Hop counter....0x%01x\n", smp->hop_cnt); in print_smp()