aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs.h
diff options
context:
space:
mode:
authorGleb Natapov <glebn@voltaire.com>2005-07-27 14:40:00 -0700
committerRoland Dreier <roland@eddore.topspincom.com>2005-07-27 14:40:00 -0700
commitabdf119b4dad015803819c3d046d20cfbd393e87 (patch)
tree9d0372a7f4a71886696a5d7b6f7583790e1c8d22 /drivers/infiniband/core/uverbs.h
parent[IB/mthca]: Fix error CQ entry handling on mem-free HCAs (diff)
downloadlinux-dev-abdf119b4dad015803819c3d046d20cfbd393e87.tar.xz
linux-dev-abdf119b4dad015803819c3d046d20cfbd393e87.zip
[IB/uverbs]: Add O_ASYNC support
Add support for O_ASYNC notifications on userspace verbs completion and asynchronous event file descriptors. Signed-off-by: Gleb Natapov <glebn@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs.h')
-rw-r--r--drivers/infiniband/core/uverbs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/uverbs.h b/drivers/infiniband/core/uverbs.h
index 57347f1e82c1..7696022f9a4e 100644
--- a/drivers/infiniband/core/uverbs.h
+++ b/drivers/infiniband/core/uverbs.h
@@ -61,6 +61,7 @@ struct ib_uverbs_event_file {
int fd;
int is_async;
wait_queue_head_t poll_wait;
+ struct fasync_struct *async_queue;
struct list_head event_list;
};