]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] IB uverbs: add mthca mmap support
authorRoland Dreier <rolandd@cisco.com>
Fri, 8 Jul 2005 00:57:17 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:49 +0000 (18:23 -0700)
commit53b8b3ffd5e0b10f3c683096a663d0cc22179c43
tree9cc09804e388e8febba6fd8d565dfdd633efe04b
parent5e0b537c7d94efe3fea0fee8e2533c3231a8af75
[PATCH] IB uverbs: add mthca mmap support

Add support for mmap() method to mthca, so that userspace can get access to
doorbell registers.  This allows userspace to get direct access to the HCA for
data path operations.

Each userspace context gets its own copy of the doorbell registers and is only
allowed to use resources that the kernel has given it access to.  In other
words, this is safe.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_provider.c