/* *ReturnIB_SMI_HANDLEiftheSMPshouldbehandledbythelocalSMA/SM *viaprocess_mad
*/ staticinlineenum smi_action opa_smi_check_local_smp(struct opa_smp *smp, struct ib_device *device)
{ /* C14-9:3 -- We're at the end of the DR segment of path */ /* C14-9:4 -- Hop Pointer = Hop Count + 1 -> give to SMA/SM */ return (device->ops.process_mad &&
!opa_get_smp_direction(smp) &&
(smp->hop_ptr == smp->hop_cnt + 1)) ?
IB_SMI_HANDLE : IB_SMI_DISCARD;
}
/* *ReturnIB_SMI_HANDLEiftheSMPshouldbehandledbythelocalSMA/SM *viaprocess_mad
*/ staticinlineenum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp, struct ib_device *device)
{ /* C14-13:3 -- We're at the end of the DR segment of path */ /* C14-13:4 -- Hop Pointer == 0 -> give to SM */ return (device->ops.process_mad &&
opa_get_smp_direction(smp) &&
!smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD;
}
#endif/* __OPA_SMI_H_ */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.