• Home
  • Raw
  • Download

Lines Matching refs:smp

597 	struct ib_smp *smp = mad_send_wr->send_buf.mad;  in handle_outgoing_dr_smp()  local
598 struct opa_smp *opa_smp = (struct opa_smp *)smp; in handle_outgoing_dr_smp()
615 smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in handle_outgoing_dr_smp()
626 if (opa && smp->class_version == OPA_SM_CLASS_VERSION) { in handle_outgoing_dr_smp()
656 trace_ib_mad_handle_out_ib_smi(smp); in handle_outgoing_dr_smp()
658 if ((ib_get_smp_direction(smp) ? smp->dr_dlid : smp->dr_slid) == in handle_outgoing_dr_smp()
660 smi_handle_dr_smp_send(smp, rdma_cap_ib_switch(device), port_num) == in handle_outgoing_dr_smp()
666 drslid = be16_to_cpu(smp->dr_slid); in handle_outgoing_dr_smp()
669 if (smi_check_local_smp(smp, device) == IB_SMI_DISCARD && in handle_outgoing_dr_smp()
670 smi_check_local_returning_smp(smp, device) == IB_SMI_DISCARD) in handle_outgoing_dr_smp()
693 if (opa && smp->base_version == OPA_MGMT_BASE_VERSION) { in handle_outgoing_dr_smp()
701 (const struct ib_mad *)smp, in handle_outgoing_dr_smp()
726 memcpy(mad_priv->mad, smp, mad_priv->mad_size); in handle_outgoing_dr_smp()
1864 struct ib_smp *smp = (struct ib_smp *)recv->mad; in handle_ib_smi() local
1866 trace_ib_mad_handle_ib_smi(smp); in handle_ib_smi()
1868 if (smi_handle_dr_smp_recv(smp, in handle_ib_smi()
1875 retsmi = smi_check_forward_dr_smp(smp); in handle_ib_smi()
1880 if (smi_handle_dr_smp_send(smp, in handle_ib_smi()
1885 if (smi_check_local_smp(smp, port_priv->device) == IB_SMI_DISCARD) in handle_ib_smi()
1897 smi_get_fwd_port(smp), in handle_ib_smi()
1951 struct opa_smp *smp = (struct opa_smp *)recv->mad; in handle_opa_smi() local
1953 trace_ib_mad_handle_opa_smi(smp); in handle_opa_smi()
1955 if (opa_smi_handle_dr_smp_recv(smp, in handle_opa_smi()
1962 retsmi = opa_smi_check_forward_dr_smp(smp); in handle_opa_smi()
1967 if (opa_smi_handle_dr_smp_send(smp, in handle_opa_smi()
1972 if (opa_smi_check_local_smp(smp, port_priv->device) == in handle_opa_smi()
1987 opa_smi_get_fwd_port(smp), in handle_opa_smi()