Re: Issue with MLX5 IB driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Às 1:07 PM de 6/1/2017, Majd Dibbiny escreveu:
> 
>> On Jun 1, 2017, at 2:59 PM, Joao Pinto <Joao.Pinto@xxxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>>>
>>>> After search in /sys I found the mellanox device mlx5_0
>>>
>>>> (/sys/class/infiniband/mlx5_0/) and was able to execute ibstat on it:
>>>
>>>>
>>>
>>>> #  ibstat mlx5_0
>>>
>>>> CA 'mlx5_0'
>>>
>>>>       CA type: MT4121
>>>
>>>>       Number of ports: 1
>>>
>>>>       Firmware version: 16.19.21102
>>>
>>>>       Hardware version: 0
>>>
>>>>       Node GUID: 0x248a070300aa8466
>>>
>>>>       System image GUID: 0x248a070300aa8466
>>>
>>>>       Port 1:
>>>
>>>>               State: Down
>>>
>>>>               Physical state: Disabled
>>>
>>>>               Rate: 10
>>>
>>>>               Base lid: 65535
>>>
>>>>               LMC: 0
>>>
>>>>               SM lid: 0
>>>
>>>>               Capability mask: 0x2651e848
>>>
>>>>               Port GUID: 0x248a070300aa8466
>>>
>>>>               Link layer: InfiniBand
>>>
>>>> #
>>>
>>>> #
>>>
>>>> # pwd
>>>
>>>>
>>>
>>>> Shouldn't the device be visible in /dev?
>>>
>>> Hi Joao,
>>>
>>>
>>>
>>> I'm glad this solved your issue.
>>>
>>> Under dev you will not see Mellanox devices. They are visible only under the sysfs path you found.
>>>
>>> In /dev you might see the mst devices if you have mst running..
>>
>> Thanks for the help Majd! I suggest the driver uses the 0 profile by default to
>> avoid this kind of meomory problems. What do you think? I can make a patch for
>> it if you agree.
> 
> I prefer to keep the default 2 which gives the best performance and is the more common use case.
> We will try to make the driver more resilient and fallback to a lower profile if it can't load with the default one.

Ok, makes sense. Thanks.

>>
>> Thanks.
>>
>>>
>>>>
>>>
>>>> Thanks.
>>>
>>>>
>>>
>>>> --
>>>
>>>> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
>>>
>>>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>>>
>>>> More majordomo info at  https://urldefense.proofpoint.com/v2/url?u=http-3A__vger.kernel.org_majordomo-2Dinfo.html&d=DwIGaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=s2fO0hii0OGNOv9qQy_HRXy-xAJUD1NNoEcc3io_kx0&m=MZ71e2hCV-Ipb5oWcgk4I1Z6_Wd8shDLv1AtVKJPigw&s=EvobH0aYP1erS-5GZpBL5Zpabx5LMnEJWTRExwPWSdY&e= 
>>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  https://urldefense.proofpoint.com/v2/url?u=http-3A__vger.kernel.org_majordomo-2Dinfo.html&d=DwIFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=s2fO0hii0OGNOv9qQy_HRXy-xAJUD1NNoEcc3io_kx0&m=kooRxKVUatqK_gSRfdQ_S0MWioF6bXLjO1m_tPgIoSs&s=wce0S6hsGnehaHF_WQW4aB0hC7g5UFITZ2V06kU4q70&e= 

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux