• M
    IB/core: Add support for fd objects · cf8966b3
    Matan Barak 提交于
    The completion channel we use in verbs infrastructure is FD based.
    Previously, we had a separate way to manage this object. Since we
    strive for a single way to manage any kind of object in this
    infrastructure, we conceptually treat all objects as subclasses
    of ib_uobject.
    
    This commit adds the necessary mechanism to support FD based objects
    like their IDR counterparts. FD objects release need to be synchronized
    with context release. We use the cleanup_mutex on the uverbs_file for
    that.
    Signed-off-by: NMatan Barak <matanb@mellanox.com>
    Reviewed-by: NYishai Hadas <yishaih@mellanox.com>
    Signed-off-by: NDoug Ledford <dledford@redhat.com>
    cf8966b3
rdma_core.h 3.2 KB