Lines Matching refs:trap_mad
731 struct opa_vnic_vema_mad_trap *trap_mad; in opa_vnic_vema_send_trap() local
806 trap_mad = send_buf->mad; in opa_vnic_vema_send_trap()
807 trap_mad->mad_hdr.base_version = OPA_MGMT_BASE_VERSION; in opa_vnic_vema_send_trap()
808 trap_mad->mad_hdr.mgmt_class = OPA_MGMT_CLASS_INTEL_EMA; in opa_vnic_vema_send_trap()
809 trap_mad->mad_hdr.class_version = OPA_EMA_CLASS_VERSION; in opa_vnic_vema_send_trap()
810 trap_mad->mad_hdr.method = IB_MGMT_METHOD_TRAP; in opa_vnic_vema_send_trap()
812 trap_mad->mad_hdr.tid = cpu_to_be64(port->tid); in opa_vnic_vema_send_trap()
813 trap_mad->mad_hdr.attr_id = IB_SMP_ATTR_NOTICE; in opa_vnic_vema_send_trap()
816 trap_mad->oui[0] = INTEL_OUI_1; in opa_vnic_vema_send_trap()
817 trap_mad->oui[1] = INTEL_OUI_2; in opa_vnic_vema_send_trap()
818 trap_mad->oui[2] = INTEL_OUI_3; in opa_vnic_vema_send_trap()
821 trap_mad->notice.gen_type = OPA_INTEL_EMA_NOTICE_TYPE_INFO << 1; in opa_vnic_vema_send_trap()
822 trap_mad->notice.oui_1 = INTEL_OUI_1; in opa_vnic_vema_send_trap()
823 trap_mad->notice.oui_2 = INTEL_OUI_2; in opa_vnic_vema_send_trap()
824 trap_mad->notice.oui_3 = INTEL_OUI_3; in opa_vnic_vema_send_trap()
825 trap_mad->notice.issuer_lid = cpu_to_be32(lid); in opa_vnic_vema_send_trap()
828 trap = (struct opa_veswport_trap *)trap_mad->notice.raw_data; in opa_vnic_vema_send_trap()