>> > Did you mean to have it osm_report_notice()? Actually it is where OpenSM
>> > sends notices, not where OpenSM gets traps. Trap receiver processor is
>> > located in osm_trap_rcv.c.
>>
>> Yes that's what i meant.
>> When OpenSM receives traps it calls osm_report_notice().
>> It is also call for OpenSM initiated traps (e.g. GID IN/OUT and MC 
>> CREATE/DELETE).
>
> Ok. I see your point. Then why it should be limited by generic notice
> types?

No special reason. Just at the moment we handle only generic traps.
we may want to report vendor specific event with other event id

> Also wouldn't it be better to call plugin report callback after
> notice was actually processed (eg. at end of this function)?

there is no correlation between reporting an event and whether it was
already forwarded.


Eli.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to