On Thursday 02 March 2006 23:07, Michael S. Tsirkin wrote:
> > >+static inline int ib_static_rate_enum_to_int(enum ib_max_static_rate
> > > rate)
> >
> > Can we find a shorter/more descriptive name for this routine?
>
> since its only used in ipoib debug fs, we can just move it out of a header.
That's true for now. We'll need to use this function in the lower-level
drivers when translating the rate to IPD values.
I much prefer to leave the funtion where it is.
How about:
ib_rate_to_linear ?
or
ib_rate_to_linear_scale ?
- Jack
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general