Re: [PATCH v2 39/49] IB/hfi1: add sysfs routines

Or Gerlitz
2015-06-17T15:50:39Z

On Wed, Jun 17, 2015 at 2:48 PM, Marciniszyn, Mike
<mike.marciniszyn-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
>> what's SC and what's SC-to-VL? aren't you using SM to do such mappings? if this
>> and the below sysfs work-around/s for the maybe current lack of SM to
>> configure the port? why do the upstream kernel has to carry ~hundreds of sysfs
>> entries forever for such non-documented things?

> This sysfs entries are used by PSM2 to form packets from user space.

You didn't explain what's SC and what's SC-to-VL and why PSM2 can't
talk to the SM to query that.

>> >> +HFI1_SL2SC_ATTR(0);
>>
>> same comment on SL2SC

same response as the above

>> >> +HFI1_VL2MTU_ATTR(0);

>> same comment on VL2MTU, why in sysfs?!

> Same answer.

same response as the above

Or.