Lines Matching refs:smp
42 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch,
44 int opa_smi_get_fwd_port(struct opa_smp *smp);
45 extern enum smi_forward_action opa_smi_check_forward_dr_smp(struct opa_smp *smp);
46 extern enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp,
53 static inline enum smi_action opa_smi_check_local_smp(struct opa_smp *smp,
59 !opa_get_smp_direction(smp) &&
60 (smp->hop_ptr == smp->hop_cnt + 1)) ?
68 static inline enum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp,
74 opa_get_smp_direction(smp) &&
75 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD;