Lines Matching refs:smp
681 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp() local
693 smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in handle_outgoing_dr_smp()
704 if ((ib_get_smp_direction(smp) ? smp->dr_dlid : smp->dr_slid) == in handle_outgoing_dr_smp()
706 smi_handle_dr_smp_send(smp, device->node_type, port_num) == in handle_outgoing_dr_smp()
714 if (smi_check_local_smp(smp, device) == IB_SMI_DISCARD && in handle_outgoing_dr_smp()
715 smi_check_local_returning_smp(smp, device) == IB_SMI_DISCARD) in handle_outgoing_dr_smp()
735 send_wr->wr_id, be16_to_cpu(smp->dr_slid), in handle_outgoing_dr_smp()
741 (struct ib_mad *)smp, in handle_outgoing_dr_smp()
766 memcpy(&mad_priv->mad.mad, smp, sizeof(struct ib_mad)); in handle_outgoing_dr_smp()
1919 if (smi_handle_dr_smp_recv(&recv->mad.smp, in ib_mad_recv_done_handler()
1926 retsmi = smi_check_forward_dr_smp(&recv->mad.smp); in ib_mad_recv_done_handler()
1931 if (smi_handle_dr_smp_send(&recv->mad.smp, in ib_mad_recv_done_handler()
1936 if (smi_check_local_smp(&recv->mad.smp, port_priv->device) == IB_SMI_DISCARD) in ib_mad_recv_done_handler()
1948 smi_get_fwd_port(&recv->mad.smp), in ib_mad_recv_done_handler()