Lines Matching full:smp
49 IB_SMI_LOCAL, /* SMP should be completed up the stack */
50 IB_SMI_SEND, /* received DR SMP should be forwarded to the send queue */
51 IB_SMI_FORWARD /* SMP should be forwarded (for switches only) */
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,
62 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM
65 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp, in smi_check_local_smp() argument
71 !ib_get_smp_direction(smp) && in smi_check_local_smp()
72 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
77 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM
80 static inline enum smi_action smi_check_local_returning_smp(struct ib_smp *smp, in smi_check_local_returning_smp() argument
86 ib_get_smp_direction(smp) && in smi_check_local_returning_smp()
87 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD); in smi_check_local_returning_smp()