Lines Matching refs:smp
729 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp() local
741 smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in handle_outgoing_dr_smp()
752 if ((ib_get_smp_direction(smp) ? smp->dr_dlid : smp->dr_slid) == in handle_outgoing_dr_smp()
754 smi_handle_dr_smp_send(smp, device->node_type, port_num) == in handle_outgoing_dr_smp()
762 if (smi_check_local_smp(smp, device) == IB_SMI_DISCARD && in handle_outgoing_dr_smp()
763 smi_check_local_returning_smp(smp, device) == IB_SMI_DISCARD) in handle_outgoing_dr_smp()
783 send_wr->wr_id, be16_to_cpu(smp->dr_slid), in handle_outgoing_dr_smp()
789 (struct ib_mad *)smp, in handle_outgoing_dr_smp()
814 memcpy(&mad_priv->mad.mad, smp, sizeof(struct ib_mad)); in handle_outgoing_dr_smp()
2001 if (smi_handle_dr_smp_recv(&recv->mad.smp, in ib_mad_recv_done_handler()
2008 retsmi = smi_check_forward_dr_smp(&recv->mad.smp); in ib_mad_recv_done_handler()
2013 if (smi_handle_dr_smp_send(&recv->mad.smp, in ib_mad_recv_done_handler()
2018 if (smi_check_local_smp(&recv->mad.smp, port_priv->device) == IB_SMI_DISCARD) in ib_mad_recv_done_handler()
2030 smi_get_fwd_port(&recv->mad.smp), in ib_mad_recv_done_handler()