Re: [PATCH rdma-core] kernel-boot: modules: Load ib_umad for RoCE hardware

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

 




On 04/05/2018 05:20 PM, Jason Gunthorpe wrote:
> On Thu, Apr 05, 2018 at 08:35:26AM +0200, Nicolas Morey-Chaisemartin wrote:
>>
>> On 04/05/2018 12:21 AM, Jason Gunthorpe wrote:
>>>
>>> Is this just a userspace bug in ibstat or do roce ports actually implement umad?
>>>
>>> Jason
>> It seems like they don't.  It's just ibstat doing a umad_init()
>> before making few calls to umad_get_cas_names() and a few other that
>> seem to work through simple reads in sysfs (not umad related).
>>
>> Not sure what the clean way to fix this is. Removing the call to
>> umad_init feels dirty but it's simple enough.  Any ideas ?
> Maybe we should make umad_init not open the umad device if the link
> layer is ethernet, iwarp, etc?
>
> Hal?
>
> Jason
> --

As there may be multiple device type in the same host, I don't think it'd be that easy.

Right now the only thing umad_init() is doind is checking version against the kernel ABI (or something like that).
This is not required for a lot of the umad API as they only list stuff in sysfs.

Nicolas
--
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