On Mon, Sep 24, 2012 at 08:39:10PM +0000, Hefty, Sean wrote: > > This makes compatability with old verbs easier, and means you can > > detect if the verbs_device is present based only on an 'ibv_device > > *' pointer, this is more flexible going forward. > > ibverbs could always export an extended device through a > compatibility layer, similar to what I added in patch 2.
We only get one chance to re-use the alloc_contex entry as an extension flag, and this is it. What is here is fine for the two functions added but if we want a new device function in future that is not tied to a context (eg query_device_capabilities_ex, say) then we are pretty stuck. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
