[ofa-general] Re: [PATCH] opensm/osm_inform.c report IB traps to plugin

Eli Dorfman dorfman.eli at gmail.com
Sun Dec 14 03:34:12 PST 2008


 >> > 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.



More information about the general mailing list