Lines Matching refs:smp
54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch,
56 int smi_get_fwd_port(struct ib_smp *smp);
57 extern enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp);
58 extern enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp,
65 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp,
71 !ib_get_smp_direction(smp) &&
72 (smp->hop_ptr == smp->hop_cnt + 1)) ?
80 static inline enum smi_action smi_check_local_returning_smp(struct ib_smp *smp,
86 ib_get_smp_direction(smp) &&
87 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD);