]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Update for new kernel ABI (stale event handling)
authorRoland Dreier <rolandd@cisco.com>
Wed, 31 Aug 2005 18:39:26 +0000 (18:39 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 9 Nov 2006 19:35:57 +0000 (11:35 -0800)
commitfa9d62ef07ed0ac6085e0a61038566d3708342f2
treeba0dfac74f9ab55fef922d432e9975fea24408b6
parentba45740a3c6090956d1aa1f1d10cbbcce8f62a97
Update for new kernel ABI (stale event handling)

Update to handle new kernel ABI for avoiding stale asynchronous
events.  When a CQ, QP or SRQ is destroyed, the kernel reports the
number of events it has given to userspace, and we wait until we've
handled the same number of events.

This does introduce a library API change: consumers are now required
to call ibv_put_async_event() to release every asynchronous event that
they retrieve via ibv_get_async_event().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
12 files changed:
ChangeLog
configure.in
debian/changelog
examples/asyncwatch.c
include/infiniband/kern-abi.h
include/infiniband/verbs.h
src/cmd.c
src/device.c
src/ibverbs.h
src/init.c
src/libibverbs.map
src/verbs.c