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

Hal Rosenstock hal.rosenstock at gmail.com
Tue Apr 14 12:28:24 PDT 2009


On Sun, Apr 12, 2009 at 5:25 AM, Sasha Khapyorsky <sashak at voltaire.com> wrote:
> 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..).

Perhaps but that seems like a separate cleanup to me.

-- Hal

> Sasha
>



More information about the general mailing list