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

Or Gerlitz
2014-11-18T21:42:09Z

On Tue, Nov 18, 2014 at 6:24 PM, Yishai Hadas <yishaih-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>

> 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