[ofa-general] Re: [PATCH] ibsim: Support short RMPP packets

Hal Rosenstock hrosenstock at xsigo.com
Thu Jun 19 07:35:44 PDT 2008


On Mon, 2008-06-16 at 06:45 -0700, Hal Rosenstock wrote:
> > > > > -       umad->length = umad_size() + sizeof(req.mad);
> > > > > +       umad->length = umad_size() + cnt;
> > > > 
> > > > 'cnt' is normally actual MAD length + sim_request header size.
> Is it
> > > > correct to put it as is in umad->length (shouldn't be umad_size
> () + cnt
> > > > - sizeof(struct sim_request))?
> > > 
> > > Not sure about this. I'll need to get back on this.

Yes; what you stated is correct.

-- Hal




More information about the general mailing list