[ofa-general] Stringify ibv_event_type

Jeff Squyres jsquyres at cisco.com
Thu Jun 21 11:59:47 PDT 2007


On Jun 21, 2007, at 2:51 PM, Roland Dreier wrote:

>> Could a function to stringify the ibv_event_type enum can be added to
>> libibverbs?  It could be similar to the event_name_str() function in
>> libibverbs/examples/asyncwatch.c:
>
> Seems reasonable.  I guess if you have that, then you probably want
> strings for enum ibv_wc_status too.  Any other enums you would want to
> stringify?

I think those 2 would be great.

> Also, I think this could be added to the libibverbs 1.1 stable line,
> since it's a completely new API, and easy to test for with  
> autoconf, right?

Perfect.

-- 
Jeff Squyres
Cisco Systems




More information about the general mailing list