Lines Matching refs:smp
687 struct ib_smp *smp = mad_send_wr->send_buf.mad;
709 if ((ib_get_smp_direction(smp) ? smp->dr_dlid : smp->dr_slid) !=
712 if (smi_handle_dr_smp_send(smp, device->node_type, port_num) ==
720 if (smi_check_local_smp(smp, device) == IB_SMI_DISCARD &&
721 smi_check_local_returning_smp(smp, device) == IB_SMI_DISCARD)
741 send_wr->wr_id, be16_to_cpu(smp->dr_slid),
747 (struct ib_mad *)smp,
772 memcpy(&mad_priv->mad.mad, smp, sizeof(struct ib_mad));
1912 if (smi_handle_dr_smp_recv(&recv->mad.smp,
1919 retsmi = smi_check_forward_dr_smp(&recv->mad.smp);
1924 if (smi_handle_dr_smp_send(&recv->mad.smp,
1929 if (smi_check_local_smp(&recv->mad.smp, port_priv->device) == IB_SMI_DISCARD)
1941 smi_get_fwd_port(&recv->mad.smp),