[openib-general] Re: [PATCH 13/16] ehca: firmware InfiniBand interface

Paul Mackerras paulus at samba.org
Thu Apr 27 15:42:14 PDT 2006


Jörn Engel writes:

> 25 parameters?  If you tell me which drugs were involved in this code,
> I know what to stay away from.

You really need to ask the firmware architects that, since this is
basically a single firmware call.

Mind you, since a lot of the parameters are used to return individual
bytes or half-words, which are then put into structures, it might be
better to pass the pointers to the structures and let the wrapper put
the values straight into the structures.

Paul.



More information about the general mailing list