]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Add async_event callback function to struct ibv_context_ops
authorSteve Wise <swise@opengridcomputing.com>
Thu, 16 Nov 2006 20:06:14 +0000 (14:06 -0600)
committerRoland Dreier <rolandd@cisco.com>
Thu, 16 Nov 2006 21:50:20 +0000 (13:50 -0800)
commit11822dad4437ab580cc3d0ee99c5115482a80367
tree6fa97c5a30a4e33dff364ca9ad6384f39875e123
parentd7f11c8805800d3644aa83d1d5f9f708bf9bf585
Add async_event callback function to struct ibv_context_ops

Add a callback function so low-level driver libraries can get a
callback with each async event retrieved by the user.  It allows the
bypass library to do WQ or CQ processing that needs to happen when a
fatal async event happens.  This async callback is similar to the
cq_event callback that already exists in libibverbs.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
include/infiniband/verbs.h
src/device.c