• Roland Dreier's avatar
    [PATCH] IB uverbs: core API extensions · e2773c06
    Roland Dreier authored
    First of a series of patches which add support for direct userspace access to
    InfiniBand hardware -- so-called "userspace verbs." I believe these patches
    are ready to merge, but a final review would be useful.
    
    These patches should incorporate all of the feedback from the discussion when
    I posted an earlier version back in April (see
    http://lkml.org/lkml/2005/4/4/267 for the start of the thread).  In
    particular, memory pinned for use by userspace is accounted for in
    current->mm->vm_locked and requests to pin memory are checked against
    RLIMIT_MEMLOCK.
    
    This patch:
    
    Modify the ib_verbs.h header file with changes required for InfiniBand
    userspace verbs support.  We add a few structures to keep track of userspace
    context, and extend the driver API so that low-level drivers know when they're
    creating resources that will be used from userspace.
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    e2773c06
ib_verbs.h 36.4 KB