Home
last modified time | relevance | path

Searched refs:hop_cnt (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dsmi.c45 u8 *hop_ptr, u8 hop_cnt, in __smi_handle_dr_smp_send()
53 /* C14-6 -- valid hop_cnt values are from 0 to 63 */ in __smi_handle_dr_smp_send()
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()
85 /* C14-9:4 -- hop_ptr = hop_cnt + 1 -> give to SMA/SM */ 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 in __smi_handle_dr_smp_send()
44 __smi_handle_dr_smp_send(bool is_switch, int port_num, u8 *hop_ptr, u8 hop_cnt, const u8 *initial_path, const u8 *return_path, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) __smi_handle_dr_smp_send() argument
155 __smi_handle_dr_smp_recv(bool is_switch, int port_num, int phys_port_cnt, u8 *hop_ptr, u8 hop_cnt, const u8 *initial_path, u8 *return_path, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) __smi_handle_dr_smp_recv() argument
270 __smi_check_forward_dr_smp(u8 hop_ptr, u8 hop_cnt, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) __smi_check_forward_dr_smp() argument
[all...]
H A Dsmi.h72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
H A Dopa_smi.h60 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dsmi.c45 u8 *hop_ptr, u8 hop_cnt, in __smi_handle_dr_smp_send()
53 /* C14-6 -- valid hop_cnt values are from 0 to 63 */ in __smi_handle_dr_smp_send()
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()
85 /* C14-9:4 -- hop_ptr = hop_cnt + 1 -> give to SMA/SM */ 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 in __smi_handle_dr_smp_send()
44 __smi_handle_dr_smp_send(bool is_switch, u32 port_num, u8 *hop_ptr, u8 hop_cnt, const u8 *initial_path, const u8 *return_path, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) __smi_handle_dr_smp_send() argument
155 __smi_handle_dr_smp_recv(bool is_switch, u32 port_num, int phys_port_cnt, u8 *hop_ptr, u8 hop_cnt, const u8 *initial_path, u8 *return_path, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) __smi_handle_dr_smp_recv() argument
270 __smi_check_forward_dr_smp(u8 hop_ptr, u8 hop_cnt, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) __smi_check_forward_dr_smp() argument
[all...]
H A Dopa_smi.h60 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
H A Dsmi.h72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
/kernel/linux/linux-5.10/include/trace/events/
H A Dib_mad.h308 __field(u8, hop_cnt)
315 __entry->hop_cnt = smp->hop_cnt;
325 TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \
328 __entry->hop_ptr, __entry->hop_cnt,
353 __field(u8, hop_cnt)
360 __entry->hop_cnt = smp->hop_cnt;
370 TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \
373 __entry->hop_ptr, __entry->hop_cnt,
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dib_mad.h303 __field(u8, hop_cnt)
310 __entry->hop_cnt = smp->hop_cnt;
320 TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \
323 __entry->hop_ptr, __entry->hop_cnt,
348 __field(u8, hop_cnt)
355 __entry->hop_cnt = smp->hop_cnt;
365 TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \
368 __entry->hop_ptr, __entry->hop_cnt,
[all...]
/kernel/linux/linux-5.10/include/rdma/
H A Dib_smi.h25 u8 hop_cnt; member
H A Dopa_smi.h29 u8 hop_cnt; member
/kernel/linux/linux-6.6/include/rdma/
H A Dib_smi.h25 u8 hop_cnt; member
H A Dopa_smi.h29 u8 hop_cnt; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A 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()
H A Dqib_iba7322.c5469 smp->hop_cnt = 1; in try_7322_ipg()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A 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()
H A Dqib_iba7322.c5447 smp->hop_cnt = 1; in try_7322_ipg()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dmad.c481 __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) in bad_mkey()
500 if (hop_cnt > ARRAY_SIZE(trap->data.ntc_256.dr_rtn_path)) { in bad_mkey()
503 hop_cnt = ARRAY_SIZE(trap->data.ntc_256.dr_rtn_path); in bad_mkey()
505 trap->data.ntc_256.dr_trunc_hop |= hop_cnt; in bad_mkey()
507 hop_cnt); in bad_mkey()
694 u8 return_path[], u8 hop_cnt) in check_mkey()
735 hop_cnt); in check_mkey()
4402 return (smp->hop_cnt == 0 && in is_local_mad()
4536 smp->hop_cnt); in process_subn_opa()
4556 smp->hop_cnt); in process_subn_opa()
480 bad_mkey(struct hfi1_ibport *ibp, struct ib_mad_hdr *mad, __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) bad_mkey() argument
692 check_mkey(struct hfi1_ibport *ibp, struct ib_mad_hdr *mad, int mad_flags, __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) check_mkey() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dmad.c439 __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) in bad_mkey()
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()
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()
438 bad_mkey(struct hfi1_ibport *ibp, struct ib_mad_hdr *mad, __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) bad_mkey() argument
650 check_mkey(struct hfi1_ibport *ibp, struct ib_mad_hdr *mad, int mad_flags, __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) check_mkey() argument
[all...]

Completed in 42 milliseconds