Re: [PATCH V1 for-next 1/2] IB/uverbs: Enable device removal when there are active user space applications

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

 



On Tue, Nov 18, 2014 at 6:24 PM, Yishai Hadas <yishaih@xxxxxxxxxxxxxxxxxx>

> The IB device pointer is not valid at all spots, for example after the HW
> Device was removed, that's why we set this information on the uverbs device.

let this (flag on the uverbs object) be, but still, no-no for

object->xxx_supported
object->yyy_supported
object->zzz_supported

but rather do

object->flags & XXX
object->flags & YYY
object->flags & ZZZ

where each of XXX/YYY/ZZZ are bits that mark support for features xxx/yyy/zzz
--
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