/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | smi.c | 45 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 D | smi.h | 72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
|
H A D | opa_smi.h | 60 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | smi.c | 45 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 D | opa_smi.h | 60 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
|
H A D | smi.h | 72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | ib_mad.h | 308 __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 D | ib_mad.h | 303 __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 D | ib_smi.h | 25 u8 hop_cnt; member
|
H A D | opa_smi.h | 29 u8 hop_cnt; member
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | ib_smi.h | 25 u8 hop_cnt; member
|
H A D | opa_smi.h | 29 u8 hop_cnt; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 185 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 D | qib_iba7322.c | 5469 smp->hop_cnt = 1; in try_7322_ipg()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 185 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 D | qib_iba7322.c | 5447 smp->hop_cnt = 1; in try_7322_ipg()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 481 __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 D | mad.c | 439 __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...] |