[openib-general] Re: [PATCH 1 of 2] static rate encoding change (kernel)

Jack Morgenstein jackm at mellanox.co.il
Thu Mar 2 22:57:08 PST 2006


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



More information about the general mailing list