[openib-general] Re: [PATCH] Disregard subn->min_ca_rate/mtu during MCGroupcreation.

Sasha Khapyorsky sashak at voltaire.com
Thu Mar 23 11:21:43 PST 2006


On 13:16 Thu 23 Mar     , Hal Rosenstock wrote:
> > 
> > > The realizability is when the port joins not when the group is created.
> > > This is significant for the precreated groups (as other groups are
> > > created when the first port joins).
> > > 
> > > Is min rate/MTU needed for anything ?
> > 
> > Currently it is used when the rate is not requested.
> 
> for what ?

As rate value for created MC group.

> > Also for cases when the rate is requested as greater than specified value.
> > There is such check: if (rate_requested >= min_ca_rate) error... -  the
> > same problem I think.
> 
> So disregard what ?

min_ca_rate value as failure criteria. There may be something like:

  rate = rate_requested + 1;
  if (rate < min_ca_rate)
     rate = min_ca_rate;

Also in IBTA spec there is option RateSelector=3, when maximum available
rate are desired (the rate value specified in request is ignored). I
don't see that it is handled somehow. I think we may use port's rate
here.

> Part of that patch is still valid, right ?

Right, it still valid. However I will add discussed IB_MIN/MAX_RATE
range check for requested rate and reissue.

I think the rest of issues are beyond of this patch topic and should be
handled handled in separate patch.

Sasha.



More information about the general mailing list