Lines Matching refs:smp
57 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch,
59 int smi_get_fwd_port(struct ib_smp *smp);
60 extern enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp);
61 extern enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp,
68 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp,
74 !ib_get_smp_direction(smp) &&
75 (smp->hop_ptr == smp->hop_cnt + 1)) ?
83 static inline enum smi_action smi_check_local_returning_smp(struct ib_smp *smp,
89 ib_get_smp_direction(smp) &&
90 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD);