Bug 170053

Summary: Add udev rule for InfiniBand userspace access devices
Product: [Fedora] Fedora Reporter: Roland Dreier <rolandd>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-15 13:24:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roland Dreier 2005-10-06 20:32:40 UTC
The direct userspace access support included with the kernel's
InfiniBand drivers in kernels 2.6.13 and newer creates character
devices named uverbs0, uverbs1, etc.  Please add a udev rule:

    KERNEL="uverbs*", NAME="infiniband/%k", MODE="0660", GROUP="rdma"

to create the device nodes.

As you can see, I am suggesting that these nodes be owned by an "rdma"
group.  This is analogous to other groups used for device nodes, such
as "dialout" or "cdrom" -- the uverbs devices are fairly safe to allow
ordinary users access to, but an administrator should be able to
control which users can use the device.

I suggest the name "rdma" for the group name because these device
nodes give userspace programs access to RDMA capabilities from
InfiniBand and (someday) iWARP hardware.

Of course, this requires the creation of the rdma group.  I'm not sure
where or how this sort of group is managed, so please let me know if
there's any other avenues I should be sending this request to.

Comment 1 Harald Hoyer 2005-10-07 14:42:43 UTC
Which userspace apps?

Comment 2 Roland Dreier 2005-10-07 15:47:56 UTC
Apps will generally use this through an MPI library such as Open MPI
(http://open-mpi.org) or MVAPICH
(http://nowlab.cse.ohio-state.edu/projects/mpi-iba/).  These libraries access
InfiniBand through the libibverbs library, which I have packaged for Fedora
Extras (open request for review in bug 169743).