[openib-general] RE: where can i find functions that "convert" enumerated values t o string?

Tom Duffy Thomas.Duffy.99 at alumni.brown.edu
Wed Aug 3 11:43:26 PDT 2005


On Wed, 2005-08-03 at 08:12 +0300, Dotan Barak wrote:
> During debug of problems in tests/real application this can help
> allot. 
> I think that it better to write "QP ts type is RC" instead of "QP ts
> type is 0"...

Can't you the human look in the header and do the translation?  Seems
better than bloating the kernel with tons of strings and case
statements.

-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050803/15b2dc13/attachment.sig>


More information about the general mailing list