***SPAM*** Re: [ofa-general] Re: [PATCH] ibsim: Add SMSL support to PortInfo attribute

Sasha Khapyorsky sashak at voltaire.com
Sun Apr 12 02:25:02 PDT 2009


On 14:39 Tue 24 Mar     , Hal Rosenstock wrote:
> >
> > What is a purpose of this? Do you have any plans to use this field?
> >
> > If no, I don't see what this patch adds - SMSL is handled already as part
> > of PortInfo buffer.
> 
> It's needed when SMSL is not 0 (e.g. Line's recent patch for lash).

Ok. I see. Actually the problem is that in do_portinfo() received
PortInfo is not copied to target port's PortInfo (as I thought) and
update is done for only selected fields.

Wouldn't it be better to rework it in the way where we will not need to
store useless (for simulator) PortInfo values as separate port structure
fields? So incoming PortInfo buffer will be just copied (of course with
caring about special fields - states, RO, etc..).

Sasha



More information about the general mailing list